New API for using HttpURLConnectionFactory and Dns
- Create a wrapper class which can refer to internal okhttp APIs.
- Add okhttp_impl_files to core-all in order to break the dependency
cycle where okhttp depends on core-all to build and core-all depends on
okhttp.
Bug: 182238821
Test: m update-api
Change-Id: Ibcb7b0e085119e28e8fb38f847fd2375199ba3c5
diff --git a/JavaLibrary.bp b/JavaLibrary.bp
index e5d1e1f..599aad9 100644
--- a/JavaLibrary.bp
+++ b/JavaLibrary.bp
@@ -170,6 +170,10 @@
":openjdk_lambda_stub_files",
":openjdk_generated_annotation_stub_files",
":app-compat-annotations-source",
+
+ // Use the okhttp source too to allow libcore code to reference it
+ // directly.
+ ":okhttp_impl_files",
],
sdk_version: "none",
@@ -188,6 +192,9 @@
"compat-changeid-annotation-processor",
"unsupportedappusage-annotation-processor",
],
+ libs: [
+ "conscrypt.module.intra.core.api",
+ ],
}
platform_compat_config {