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",
13        "android.test.base",
14        "android.test.mock",
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        "mockito-target-extended-minus-junit4",
24        "frameworks-base-testutils",
25        "truth",
26        "androidx.annotation_annotation",
27        "androidx.appcompat_appcompat",
28        "com.google.android.material_material",
29        "nfc-event-log-proto",
30        "nfc_flags_lib",
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
53    test_suites: ["device-tests"],
54
55    instrumentation_for: "NfcNci",
56}
57