1package { 2 default_team: "trendy_team_android_rubidium", 3 // See: http://go/android-license-faq 4 // A large-scale-change added 'default_applicable_licenses' to import 5 // all of the 'license_kinds' from "packages_modules_ExtServices_license" 6 // to get the below license kinds: 7 // SPDX-license-identifier-Apache-2.0 8 default_applicable_licenses: ["packages_modules_ExtServices_license"], 9} 10 11android_test { 12 name: "ExtServicesUnitTests-tplus", 13 14 // Include all test java and kotlinfiles. 15 srcs: [ 16 "src/**/*.java", 17 "src/**/*.kt", 18 ], 19 20 libs: [ 21 "android.test.runner.stubs.test", 22 "android.test.base.stubs.test", 23 ], 24 25 static_libs: [ 26 "ExtServices-core", 27 "androidx.test.rules", 28 "compatibility-device-util-axt", 29 "mockito-target-extended-minus-junit4", 30 "androidx.test.espresso.core", 31 "truth", 32 "testables", 33 "testng", 34 ], 35 jni_libs: [ 36 "libdexmakerjvmtiagent", 37 "libextservices_jni", 38 "libstaticjvmtiagent", 39 ], 40 test_suites: [ 41 "general-tests", 42 "mts-extservices", 43 "automotive-tests", 44 "automotive-general-tests", 45 ], 46 min_sdk_version: "33", 47 sdk_version: "test_current", 48 compile_multilib: "both", 49 test_config: "AndroidTest-tplus.xml", 50} 51 52android_test { 53 name: "ExtServicesUnitTests-sminus", 54 55 // Include all test java files. 56 srcs: ["src/**/*.java"], 57 58 libs: [ 59 "android.test.runner.stubs.test", 60 "android.test.base.stubs.test", 61 ], 62 63 static_libs: [ 64 "ExtServices-core", 65 "androidx.test.rules", 66 "compatibility-device-util-axt", 67 "mockito-target-extended-minus-junit4", 68 "androidx.test.espresso.core", 69 "truth", 70 "testables", 71 "testng", 72 ], 73 jni_libs: [ 74 "libdexmakerjvmtiagent", 75 "libextservices_jni", 76 "libstaticjvmtiagent", 77 ], 78 test_suites: [ 79 "general-tests", 80 "mts-extservices", 81 "automotive-tests", 82 "automotive-general-tests", 83 ], 84 min_sdk_version: "30", 85 sdk_version: "test_current", 86 compile_multilib: "both", 87 test_config: "AndroidTest-sminus.xml", 88} 89