summaryrefslogtreecommitdiff
path: root/test-mock/Android.bp
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2018-02-22 12:16:31 +0000
committerPaul Duffin <paulduffin@google.com>2018-02-26 11:57:26 +0000
commitbedfae98011075935cd3e49b8ff8f241b2f3ba81 (patch)
treed0fbe476e9e413916c41fe2ca924c90d76f3f7d9 /test-mock/Android.bp
parent2b6ba64cc5f7d63fa4a451d418f83ee43762cb3d (diff)
Remove repackaged.android.test.mock
The repackaged.android.test.mock uses internal APIs so cannot be built against the SDK which means that anything that depends on it cannot guarantee to run if those internal APIs change. That library was built because the classes in repackaged.android.test.runner depend on them. However, the repackaged.android.test.runner library is only used by the cts-api-signature-test target and it does not use any android.test.mock classes directly, or indirectly. Therefore, this simply excludes any classes from repackaged.android.test.runner that depend on android.test.mock classes so that repackaged.android.test.mock can be removed altogether. Bug: 69899800 Bug: 30188076 Test: make checkbuild Change-Id: If4528e6a4ec2b08faffd6d413672c5004d85e0a9
Diffstat (limited to 'test-mock/Android.bp')
-rw-r--r--test-mock/Android.bp13
1 files changed, 0 insertions, 13 deletions
diff --git a/test-mock/Android.bp b/test-mock/Android.bp
index 54e07a1673e7..bb0736334f87 100644
--- a/test-mock/Android.bp
+++ b/test-mock/Android.bp
@@ -19,7 +19,6 @@
java_library {
name: "android.test.mock",
- // Needs to be consistent with the repackaged version of this make target.
java_version: "1.8",
srcs: ["src/**/*.java"],
@@ -28,15 +27,3 @@ java_library {
"framework",
],
}
-
-// Build the repackaged.android.test.mock library
-// ==============================================
-java_library_static {
- name: "repackaged.android.test.mock",
-
- static_libs: ["android.test.mock"],
-
- jarjar_rules: "jarjar-rules.txt",
- // Pin java_version until jarjar is certified to support later versions. http://b/72703434
- java_version: "1.8",
-}