| //############################################################ |
| // Settings Component test target. # |
| //############################################################ |
| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "packages_apps_Settings_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-Apache-2.0 |
| default_applicable_licenses: ["packages_apps_Settings_license"], |
| } |
| |
| android_test { |
| name: "SettingsComponentTests", |
| certificate: "platform", |
| privileged: true, |
| srcs: [ |
| "src/**/*.java", |
| ], |
| |
| static_libs: [ |
| "truth-prebuilt", |
| "androidx.test.core", |
| "androidx.test.espresso.core", |
| "androidx.test.espresso.intents-nodeps", |
| "androidx.test.runner", |
| "androidx.test.rules", |
| "androidx.test.ext.junit", |
| ], |
| |
| test_suites: ["device-tests"], |
| optimize: { |
| enabled: false, |
| }, |
| instrumentation_for: "Settings", |
| } |