See build/soong/README.md for more information. Test: m checkbuild Test: m RunSettingsRoboTests Change-Id: I267534c095c30833f77273dbdb1893b7830ed45d Merged-In: I267534c095c30833f77273dbdb1893b7830ed45d
34 lines
728 B
Plaintext
34 lines
728 B
Plaintext
android_test {
|
|
name: "SettingsUnitTests",
|
|
|
|
// We only want this apk build for tests.
|
|
certificate: "platform",
|
|
|
|
libs: [
|
|
"android.test.runner",
|
|
"telephony-common",
|
|
"ims-common",
|
|
"android.test.base",
|
|
"android.test.mock",
|
|
],
|
|
|
|
static_libs: [
|
|
"android-support-test",
|
|
"espresso-core",
|
|
"espresso-contrib-nodep",
|
|
"espresso-intents-nodep",
|
|
"mockito-target-minus-junit4",
|
|
"platform-test-annotations",
|
|
"truth-prebuilt",
|
|
"ub-uiautomator",
|
|
],
|
|
|
|
// Include all test java files.
|
|
srcs: ["src/**/*.java"],
|
|
|
|
platform_apis: true,
|
|
test_suites: ["device-tests"],
|
|
|
|
instrumentation_for: "Settings",
|
|
}
|