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: "LoudnessCodecApiTest", 12 srcs: ["**/*.java"], 13 static_libs: [ 14 "androidx.test.ext.junit", 15 "androidx.test.rules", 16 "junit", 17 "junit-params", 18 "mockito-target-minus-junit4", 19 "flag-junit", 20 "hamcrest-library", 21 "platform-test-annotations", 22 ], 23 platform_apis: true, 24 certificate: "platform", 25 resource_dirs: ["res"], 26 test_suites: ["device-tests"], 27} 28 29test_module_config { 30 name: "LoudnessCodecApiTest_Presubmit", 31 base: "LoudnessCodecApiTest", 32 test_suites: ["device-tests"], 33 include_annotations: ["android.platform.test.annotations.Presubmit"], 34} 35