summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-09-12 15:37:10 -0700
committerColin Cross <ccross@android.com>2016-09-15 12:27:06 -0700
commit6e95dd56e43b3a29fb8360bd94e31cd2eaab1d3d (patch)
treec536c5588f8a96f4559ca00921c7852a82558ea5 /Android.bp
parent6b22aa5106e60545119b9eeaceaa9f87ee597305 (diff)
Convert art gtests to Android.bp
This splits the compilation and running of the art gtests into two separate locations. The tests are now compiled in multiple Android.bp modules in each directory. art.go collects the installed locations of each test and exports it as make variables. art/build/Android.gtest.mk converts the list into the rules to run the tests. This has a few changes in behavior: - The rules to build tests are now always defined, and will build as part of mmma art or make checkbuild. - Host tests are no longer installed into out/host/linux-x86/bin, they are in out/host/linux-x86/nativetest[64]/<module name>/<test name> - Target tests are now in /data/nativetest[64]/art/<arch>/<module name>/<test name> Test: mmma -j art Test: m -j test-art-host Test: m -j test-art-target Change-Id: Iabcd99d43890e6b693688422b07a283c3226a496
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index e8b608efc6..b9f1db5f46 100644
--- a/Android.bp
+++ b/Android.bp
@@ -20,6 +20,7 @@ art_static_dependencies = [
subdirs = [
"benchmark",
"build",
+ "cmdline",
"compiler",
"dalvikvm",
"dex2oat",