Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d30be0f8 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN Committed by Automerger Merge Worker
Browse files

Apply jarjar rules to NetworkStaticLibTests am: 35aa6f2e am: b8059b4e am:...

Apply jarjar rules to NetworkStaticLibTests am: 35aa6f2e am: b8059b4e am: 7934dd15 am: a465b9fe

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/NetworkStack/+/12034943

Change-Id: I4defa835248429f4d396a990bb85eddbc4f31bec
parents 144142d8 a465b9fe
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -82,6 +82,18 @@ android_test {
    test_suites: ["device-tests"],
}

// The static lib needs to be jarjared by each module so they do not conflict with each other
// (e.g. wifi, system server, network stack need to use different package names when including it).
// Apply NetworkStack jarjar rules to the tests as well so classes in NetworkStaticLibTests have the
// same package names as in module code.
android_library {
    name: "NetworkStackStaticLibTestsLib",
    platform_apis: true,
    min_sdk_version: "29",
    jarjar_rules: ":NetworkStackJarJarRules",
    static_libs: ["NetworkStaticLibTestsLib"],
}

// Special version of the network stack tests that includes all tests necessary for code coverage
// purposes. This is currently the union of NetworkStackTests and NetworkStackIntegrationTests.
android_test {
@@ -95,7 +107,7 @@ android_test {
    static_libs: [
        "NetworkStackTestsLib",
        "NetworkStackIntegrationTestsLib",
        "NetworkStaticLibTestsLib",
        "NetworkStackStaticLibTestsLib",
    ],
    compile_multilib: "both",
    manifest: "AndroidManifest_coverage.xml",