Merge changes from topic "revert-2647150-httpclient-wrapper-GZUDLKEBSH" into main
* changes: Revert "Cronet's MTS: don't depend on platform Cronet" Revert "Connectivity: Depend on new httpclient targets"
This commit is contained in:
@@ -38,11 +38,7 @@ java_genrule {
|
||||
// tests need to inherit the NetHttpTests manifest.
|
||||
android_library {
|
||||
name: "NetHttpTestsLibPreJarJar",
|
||||
static_libs: [
|
||||
"cronet_aml_api_java",
|
||||
"cronet_aml_java__testing",
|
||||
"cronet_java_tests",
|
||||
],
|
||||
static_libs: ["cronet_java_tests"],
|
||||
sdk_version: "module_current",
|
||||
min_sdk_version: "30",
|
||||
}
|
||||
@@ -55,8 +51,7 @@ android_test {
|
||||
static_libs: ["NetHttpTestsLibPreJarJar"],
|
||||
jarjar_rules: ":net-http-test-jarjar-rules",
|
||||
jni_libs: [
|
||||
"cronet_aml_components_cronet_android_cronet__testing",
|
||||
"cronet_aml_components_cronet_android_cronet_tests__testing",
|
||||
"cronet_aml_components_cronet_android_cronet_tests__testing"
|
||||
],
|
||||
test_suites: [
|
||||
"general-tests",
|
||||
|
||||
@@ -109,8 +109,8 @@ java_library {
|
||||
"framework-connectivity-defaults",
|
||||
],
|
||||
static_libs: [
|
||||
"httpclient_api",
|
||||
"httpclient_impl",
|
||||
"cronet_aml_api_java",
|
||||
"cronet_aml_java",
|
||||
],
|
||||
libs: [
|
||||
// This cannot be in the defaults clause above because if it were, it would be used
|
||||
@@ -125,12 +125,12 @@ java_library {
|
||||
|
||||
java_defaults {
|
||||
name: "CronetJavaDefaults",
|
||||
srcs: [":httpclient_api_sources"],
|
||||
srcs: [":cronet_aml_api_sources"],
|
||||
libs: [
|
||||
"androidx.annotation_annotation",
|
||||
],
|
||||
impl_only_static_libs: [
|
||||
"httpclient_impl",
|
||||
"cronet_aml_java",
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user