fix: 引入Settings的Module
This commit is contained in:
38
Settings/tests/componenttests/Android.bp
Normal file
38
Settings/tests/componenttests/Android.bp
Normal file
@@ -0,0 +1,38 @@
|
||||
//############################################################
|
||||
// Settings Component test target. #
|
||||
//############################################################
|
||||
package {
|
||||
default_team: "trendy_team_android_settings_app",
|
||||
// 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",
|
||||
"androidx.test.core",
|
||||
"androidx.test.espresso.core",
|
||||
"androidx.test.espresso.intents-nodeps",
|
||||
"androidx.test.runner",
|
||||
"androidx.test.rules",
|
||||
"androidx.test.ext.junit",
|
||||
"mockito-target",
|
||||
],
|
||||
|
||||
test_suites: ["device-tests"],
|
||||
optimize: {
|
||||
enabled: false,
|
||||
},
|
||||
instrumentation_for: "Settings",
|
||||
}
|
||||
Reference in New Issue
Block a user