summaryrefslogtreecommitdiff
path: root/test-base
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2018-02-07 00:16:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-02-07 00:16:04 +0000
commit2bbf12aa78e3583bfcbe7f468a18d0da3bce24ab (patch)
tree3fed7a21256c5c9617df3a0846e052df8b539717 /test-base
parent1168c31c4a554d37e405c2f940707de0f91eab57 (diff)
parentd65595a94e2e5a5dc19540fcb1ba4ff45a7d2b67 (diff)
Merge "Pin jarjar targets to java_version 1.8."
Diffstat (limited to 'test-base')
-rw-r--r--test-base/Android.bp6
1 files changed, 5 insertions, 1 deletions
diff --git a/test-base/Android.bp b/test-base/Android.bp
index 343d49fa077e..b65cda9302a7 100644
--- a/test-base/Android.bp
+++ b/test-base/Android.bp
@@ -24,6 +24,9 @@ java_library {
srcs: ["src/**/*.java"],
+ // Needs to be consistent with the repackaged version of this make target.
+ java_version: "1.8",
+
no_framework_libs: true,
hostdex: true,
libs: [
@@ -55,13 +58,14 @@ java_library_static {
name: "repackaged.android.test.base",
static_libs: ["android.test.base"],
-
no_framework_libs: true,
libs: [
"framework",
],
jarjar_rules: "jarjar-rules.txt",
+ // Pin java_version until jarjar is certified to support later versions. http://b/72703434
+ java_version: "1.8",
}
// Build the android.test.base-minus-junit library