summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Android.bp b/test/Android.bp
index d3084fe7d2..76559a92c4 100644
--- a/test/Android.bp
+++ b/test/Android.bp
@@ -363,6 +363,10 @@ art_cc_defaults {
},
},
static_libs: [
+ // This dependency links the whole runtime statically into the test. Note that the boot
+ // classpath is not (normally) bundled with the test, so if the runtime is used to actually
+ // start a VM it may load the boot classpath from the device. Depending on the test
+ // configuration, that may not be in sync with the statically linked runtime.
"libart-gtest",
],
version_script: ":art-standalone-gtest-version",