summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2018-06-28 10:23:50 +0100
committerDavid Brazdil <dbrazdil@google.com>2018-07-10 13:37:05 +0000
commit89c6432dbf33f7d1d1ce537d2a4e64406f0030fb (patch)
treea15ae6ccd1a760cb64a65b0c8d55074148601d59
parentef941e192a16d57cf58dc42f4befb50d87f62042 (diff)
Compile android.test.*.stubs into dex
Adjust the build rules of android.test.*.stubs packages to also produce a jar with dex files. This will be used by the `hiddenapi` tool to categorize the boot class path equivalents as public API. Bug: 79409988 Test: m android.test.base.stubs ; check javalib.jar contains dex Merged-In: I1d0850b18044c559ea4b9893d929dc45884b32c3 Change-Id: Ief28cd5e6d0cdd58f22fab751e0173ccf8c69a0c
-rw-r--r--test-base/Android.bp1
-rw-r--r--test-mock/Android.bp1
-rw-r--r--test-runner/Android.bp1
3 files changed, 3 insertions, 0 deletions
diff --git a/test-base/Android.bp b/test-base/Android.bp
index a0e39856e9c7..194b90ee95e6 100644
--- a/test-base/Android.bp
+++ b/test-base/Android.bp
@@ -115,4 +115,5 @@ java_library_static {
},
},
sdk_version: "current",
+ compile_dex: true,
}
diff --git a/test-mock/Android.bp b/test-mock/Android.bp
index 8fb6fda41f59..d726dc4c5fd1 100644
--- a/test-mock/Android.bp
+++ b/test-mock/Android.bp
@@ -85,4 +85,5 @@ java_library_static {
name: "android.test.mock.stubs",
srcs: [":android.test.mock.docs"],
sdk_version: "current",
+ compile_dex: true,
}
diff --git a/test-runner/Android.bp b/test-runner/Android.bp
index 29d7ea9b5e80..aaa29de8db78 100644
--- a/test-runner/Android.bp
+++ b/test-runner/Android.bp
@@ -108,4 +108,5 @@ java_library_static {
},
},
sdk_version: "current",
+ compile_dex: true,
}