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

Commit 6bbd7c4c authored by Dan Shi's avatar Dan Shi Committed by android-build-merger
Browse files

Merge "Fix dependency on APK used by test"

am: 85d2ac2e

Change-Id: I1ae6bff68d4aa4890fee47b5943e4d3420c32ed2
parents 06a0b6a0 85d2ac2e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -58,6 +58,8 @@ android_test {

    resource_dirs: ["res"],
    resource_zips: [":FrameworksCoreTests_apks_as_resources"],

    data: [":BstatsTestApp"],
}

// Rules to copy all the test apks to the intermediate raw resource directory
+0 −4
Original line number Diff line number Diff line
@@ -15,10 +15,6 @@
android_test_helper_app {
    name: "BstatsTestApp",

    test_suites: [
        "device-tests",
    ],

    static_libs: ["coretests-aidl"],

    srcs: ["**/*.java"],
+2 −0
Original line number Diff line number Diff line
@@ -82,6 +82,8 @@ android_test {
    optimize: {
        enabled: false,
    },

    data: [":JobTestApp"],
}

java_library {
+0 −2
Original line number Diff line number Diff line
@@ -17,8 +17,6 @@ android_test_helper_app {

    sdk_version: "current",

    test_suites: ["device-tests"],

    srcs: ["**/*.java"],

    dex_preopt: {
+1 −0
Original line number Diff line number Diff line
@@ -19,4 +19,5 @@ java_test_host {
    libs: ["tradefed"],
    test_suites: ["general-tests"],
    required: ["preload-check-device"],
    data: [":preload-check-device"],
}
Loading