1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "frameworks_base_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_base_license"], 8} 9 10android_test { 11 name: "DisplayServiceTests", 12 13 srcs: [ 14 "src/**/*.java", 15 ":extended-mockito-rule-sources", 16 ], 17 18 libs: [ 19 "android.test.mock", 20 ], 21 22 static_libs: [ 23 "androidx.test.ext.junit", 24 "frameworks-base-testutils", 25 "junit", 26 "junit-params", 27 "mockingservicestests-utils-mockito", 28 "platform-compat-test-rules", 29 "platform-test-annotations", 30 "service-permission.stubs.system_server", 31 "services.core", 32 "servicestests-utils", 33 "testables", 34 ], 35 36 defaults: [ 37 "modules-utils-testable-device-config-defaults", 38 ], 39 40 platform_apis: true, 41 test_suites: [ 42 "device-tests", 43 "automotive-tests", 44 ], 45 46 certificate: "platform", 47 48 dxflags: ["--multi-dex"], 49 50 optimize: { 51 enabled: false, 52 }, 53} 54