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.
|
// tests need to inherit the NetHttpTests manifest.
|
||||||
android_library {
|
android_library {
|
||||||
name: "NetHttpTestsLibPreJarJar",
|
name: "NetHttpTestsLibPreJarJar",
|
||||||
static_libs: [
|
static_libs: ["cronet_java_tests"],
|
||||||
"cronet_aml_api_java",
|
|
||||||
"cronet_aml_java__testing",
|
|
||||||
"cronet_java_tests",
|
|
||||||
],
|
|
||||||
sdk_version: "module_current",
|
sdk_version: "module_current",
|
||||||
min_sdk_version: "30",
|
min_sdk_version: "30",
|
||||||
}
|
}
|
||||||
@@ -55,8 +51,7 @@ android_test {
|
|||||||
static_libs: ["NetHttpTestsLibPreJarJar"],
|
static_libs: ["NetHttpTestsLibPreJarJar"],
|
||||||
jarjar_rules: ":net-http-test-jarjar-rules",
|
jarjar_rules: ":net-http-test-jarjar-rules",
|
||||||
jni_libs: [
|
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: [
|
test_suites: [
|
||||||
"general-tests",
|
"general-tests",
|
||||||
|
|||||||
@@ -109,8 +109,8 @@ java_library {
|
|||||||
"framework-connectivity-defaults",
|
"framework-connectivity-defaults",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"httpclient_api",
|
"cronet_aml_api_java",
|
||||||
"httpclient_impl",
|
"cronet_aml_java",
|
||||||
],
|
],
|
||||||
libs: [
|
libs: [
|
||||||
// This cannot be in the defaults clause above because if it were, it would be used
|
// This cannot be in the defaults clause above because if it were, it would be used
|
||||||
@@ -125,12 +125,12 @@ java_library {
|
|||||||
|
|
||||||
java_defaults {
|
java_defaults {
|
||||||
name: "CronetJavaDefaults",
|
name: "CronetJavaDefaults",
|
||||||
srcs: [":httpclient_api_sources"],
|
srcs: [":cronet_aml_api_sources"],
|
||||||
libs: [
|
libs: [
|
||||||
"androidx.annotation_annotation",
|
"androidx.annotation_annotation",
|
||||||
],
|
],
|
||||||
impl_only_static_libs: [
|
impl_only_static_libs: [
|
||||||
"httpclient_impl",
|
"cronet_aml_java",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user