Merge "Fix dependency on APK used by test"

This commit is contained in:
Treehugger Robot
2019-08-05 21:04:28 +00:00
committed by Gerrit Code Review
6 changed files with 5 additions and 7 deletions

View File

@@ -55,6 +55,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

View File

@@ -15,10 +15,6 @@
android_test_helper_app {
name: "BstatsTestApp",
test_suites: [
"device-tests",
],
static_libs: ["coretests-aidl"],
srcs: ["**/*.java"],

View File

@@ -79,6 +79,8 @@ android_test {
optimize: {
enabled: false,
},
data: [":JobTestApp"],
}
java_library {

View File

@@ -17,8 +17,6 @@ android_test_helper_app {
sdk_version: "current",
test_suites: ["device-tests"],
srcs: ["**/*.java"],
dex_preopt: {

View File

@@ -19,4 +19,5 @@ java_test_host {
libs: ["tradefed"],
test_suites: ["general-tests"],
required: ["preload-check-device"],
data: [":preload-check-device"],
}

View File

@@ -20,7 +20,6 @@ java_test_helper_library {
sdk_version: "current",
srcs: ["src/**/*.java"],
test_suites: ["general-tests"],
dex_preopt: {
enabled: false,
},