Revert^2 "Cronet's MTS: don't depend on platform Cronet"

1f968f68ae

Change-Id: I6aabb1b3f59abc1c7165a997de62ea141a615834
This commit is contained in:
Stefano Duo
2023-07-17 14:52:16 +00:00
committed by Gerrit Code Review
parent 1f968f68ae
commit afd03947b4

View File

@@ -38,7 +38,11 @@ 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: ["cronet_java_tests"], static_libs: [
"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",
} }
@@ -51,7 +55,8 @@ 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_tests__testing" "cronet_aml_components_cronet_android_cronet__testing",
"cronet_aml_components_cronet_android_cronet_tests__testing",
], ],
test_suites: [ test_suites: [
"general-tests", "general-tests",