aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index c774b36..0bfc5ed 100644
--- a/Android.bp
+++ b/Android.bp
@@ -92,11 +92,15 @@ java_library_static {
// Exclude test Android currently has problems with due to @Parameterized (requires JUnit 4.11).
exclude_srcs: ["okhttp-tests/src/test/java/com/squareup/okhttp/WebPlatformUrlTest.java"],
+ no_standard_libs: true,
libs: [
+ "core-all",
"okhttp-nojarjar",
"junit",
+ "conscrypt",
"bouncycastle-unbundled",
],
- no_framework_libs: true,
+ system_modules: "core-all-system-modules",
+
java_version: "1.7",
}