1package { 2 default_team: "trendy_team_fwk_nfc", 3 default_applicable_licenses: ["Android-Apache-2.0"], 4} 5 6android_test { 7 name: "NfcNciUnitTests", 8 9 certificate: "platform", 10 11 libs: [ 12 "android.test.runner.stubs.system", 13 "android.test.base.stubs.system", 14 "android.test.mock.stubs.system", 15 "framework-nfc.impl", 16 "unsupportedappusage", 17 ], 18 19 static_libs: [ 20 "androidx.test.core", 21 "androidx.test.rules", 22 "androidx.test.ext.junit", 23 "com.android.nfc.flags-aconfig-java", 24 "mockito-target-extended-minus-junit4", 25 "frameworks-base-testutils", 26 "truth", 27 "androidx.annotation_annotation", 28 "androidx.appcompat_appcompat", 29 "com.google.android.material_material", 30 "nfc-event-log-proto", 31 "flag-junit", 32 "platform-test-annotations", 33 "testables", 34 ], 35 36 jni_libs: [ 37 // Required for ExtendedMockito 38 "libnfc_nci_jni", 39 "libdexmakerjvmtiagent", 40 "libstaticjvmtiagent", 41 ], 42 43 // Include all test java files. 44 srcs: [ 45 "src/**/*.java", 46 // TODO(b/263565193): Temp hack until NFC APK can link against module_current. 47 ":framework-nfc-updatable-sources", 48 ":nfc-sources", 49 ], 50 51 platform_apis: true, 52 min_sdk_version: "current", 53 54 test_suites: [ 55 "device-tests", 56 "mts-nfc", 57 ], 58 59 instrumentation_for: "NfcNci", 60} 61