Files
app_Settings/tests/unit/Android.bp
Arc Wang 4b02b7dc7d [DO NOT MERGE] Verify ringtone from ringtone picker is audio
To improve privacy.

Bug: 221041256
Test: atest com.android.settings.DefaultRingtonePreferenceTest
Change-Id: I0a9ca163f5ae91b67c9f957fde4c6db326b8718d
Merged-In: I0a9ca163f5ae91b67c9f957fde4c6db326b8718d
(cherry picked from commit e4c22580c9)
2022-05-10 01:42:41 +00:00

47 lines
1.3 KiB
Plaintext

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: "SettingsUnitTests",
certificate: "platform",
libs: [
"android.test.runner",
"telephony-common",
"ims-common",
"android.test.base",
"android.test.mock",
],
static_libs: [
"androidx.test.core",
"androidx.test.rules",
"androidx.test.espresso.core",
"androidx.test.espresso.contrib-nodeps",
"androidx.test.espresso.intents-nodeps",
"androidx.test.ext.junit",
"androidx.preference_preference",
"mockito-target-minus-junit4",
"platform-test-annotations",
"truth-prebuilt",
"ub-uiautomator",
// Don't add SettingsLib libraries here - you can use them directly as they are in the
// instrumented Settings app.
],
// Include all test java files.
srcs: ["src/**/*.java"],
platform_apis: true,
test_suites: ["device-tests"],
instrumentation_for: "Settings",
}