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: "BatteryUsageStatsProtoTests", 12 srcs: ["src/**/*.java"], 13 14 static_libs: [ 15 "androidx.test.rules", 16 "junit", 17 "mockito-target-minus-junit4", 18 "platform-test-annotations", 19 "platformprotosnano", 20 "statsdprotolite", 21 "truth", 22 ], 23 24 libs: ["android.test.runner"], 25 26 platform_apis: true, 27 certificate: "platform", 28 29 test_suites: ["device-tests"], 30} 31