summaryrefslogtreecommitdiff
path: root/test-mock
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 14:34:52 +0100
commita2c457fd2a7a805c4150b495965b8ee019f0ee43 (patch)
tree9e0d097d1e22811bb968fd5cc48710c18cb8e288 /test-mock
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
Diffstat (limited to 'test-mock')
-rw-r--r--test-mock/Android.bp2
1 files changed, 2 insertions, 0 deletions
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,
}