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 "NfcNciApex" 18 ], 19 20 static_libs: [ 21 "androidx.test.core", 22 "androidx.test.rules", 23 "androidx.test.espresso.core", 24 "androidx.test.espresso.intents-nodeps", 25 "androidx.test.ext.junit", 26 "com.android.nfc.flags-aconfig-java", 27 "com.android.nfc.module.flags-aconfig-java", 28 "mockito-target-extended-minus-junit4", 29 "frameworks-base-testutils", 30 "truth", 31 "androidx.annotation_annotation", 32 "androidx.appcompat_appcompat", 33 "com.google.android.material_material", 34 "nfc-event-log-proto", 35 "flag-junit", 36 "platform-test-annotations", 37 "testables", 38 ], 39 40 jni_libs: [ 41 // Required for ExtendedMockito 42 "libnfc_nci_jni", 43 "libdexmakerjvmtiagent", 44 "libstaticjvmtiagent", 45 ], 46 47 // Include all test java files. 48 srcs: [ 49 "src/**/*.java", 50 // TODO(b/263565193): Temp hack until NFC APK can link against module_current. 51 ":framework-nfc-updatable-sources", 52 ":framework-nfc-non-updatable-sources", 53 ":nfc-sources", 54 ], 55 56 platform_apis: true, 57 min_sdk_version: "36", 58 59 test_suites: [ 60 "device-tests", 61 "mts-nfc", 62 ], 63 compile_multilib: "both", 64 65 instrumentation_for: "NfcNci", 66} 67