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: "FrameworksCorePackageManagerTests", 12 // We only want this apk build for tests. 13 // Include all test java files. 14 srcs: ["src/**/*.java"], 15 static_libs: [ 16 "androidx.test.rules", 17 "frameworks-base-testutils", 18 "mockito-target-minus-junit4", 19 ], 20 libs: ["android.test.runner"], 21 platform_apis: true, 22 certificate: "platform", 23} 24