cronet tests: remove most of NetHttpTestsLibPreJarJar
Since cronet_java_tests (previously cronet_aml_javatests_sources) is now an android_library directly in external/cronet (to support "mm" in that folder), the dependencies can be removed. A form of android_library is still required to wrap cronet_java_tests, so the AndroidManifest (in this folder) is forwarded properly to the common coverage test target. Test: TH Bug: 278639767 Change-Id: I25c6371c64e6cfcbb48e9e3f2976d47279791f21
This commit is contained in:
@@ -34,25 +34,13 @@ java_genrule {
|
||||
"--output $(out)",
|
||||
}
|
||||
|
||||
// Library to be used in coverage tests. cronet_java_tests can't be used directly because the common
|
||||
// tests need to inherit the NetHttpTests manifest.
|
||||
android_library {
|
||||
name: "NetHttpTestsLibPreJarJar",
|
||||
srcs: [":cronet_aml_javatests_sources"],
|
||||
static_libs: ["cronet_java_tests"],
|
||||
sdk_version: "module_current",
|
||||
min_sdk_version: "30",
|
||||
static_libs: [
|
||||
"cronet_testserver_utils",
|
||||
"androidx.test.ext.junit",
|
||||
"androidx.test.rules",
|
||||
"junit",
|
||||
"truth",
|
||||
],
|
||||
libs: [
|
||||
"android.test.base",
|
||||
"framework-connectivity-pre-jarjar",
|
||||
// android.net.TrafficStats apis
|
||||
"framework-connectivity-t",
|
||||
],
|
||||
lint: { test: true }
|
||||
}
|
||||
|
||||
android_test {
|
||||
|
||||
Reference in New Issue
Block a user