summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2018-06-28 10:23:50 +0100
committer David Brazdil <dbrazdil@google.com> 2018-07-10 14:34:52 +0100
commita2c457fd2a7a805c4150b495965b8ee019f0ee43 (patch)
tree9e0d097d1e22811bb968fd5cc48710c18cb8e288
parente7325a018922402599c5594ce9518f63c46e710e (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 Change-Id: I1d0850b18044c559ea4b9893d929dc45884b32c3
-rw-r--r--test-base/Android.bp1
-rw-r--r--test-mock/Android.bp2
-rw-r--r--test-runner/Android.bp1
3 files changed, 4 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 51fa86bacc75..86fd65340fee 100644
--- a/test-mock/Android.bp
+++ b/test-mock/Android.bp
@@ -91,6 +91,7 @@ java_library_static {
enabled: false,
},
},
+ compile_dex: true,
}
java_library_static {
@@ -104,4 +105,5 @@ java_library_static {
enabled: false,
},
},
+ compile_dex: true,
}
diff --git a/test-runner/Android.bp b/test-runner/Android.bp
index b50ba3b58275..8f095f422555 100644
--- a/test-runner/Android.bp
+++ b/test-runner/Android.bp
@@ -120,4 +120,5 @@ java_library_static {
},
},
sdk_version: "current",
+ compile_dex: true,
}