1cc_library_shared {
2    arch: {
3        arm: {
4            instruction_set: "arm",
5        },
6    },
7    name: "libnfc-nci",
8    shared_libs: [
9        "libcutils",
10        "liblog",
11        "libdl",
12        "libhardware",
13        "libpower",
14
15        // Treble configuration
16        "libhidlbase",
17        "libhidltransport",
18        "libhwbinder",
19        "libutils",
20        "android.hardware.nfc@1.0",
21    ],
22    cflags: [
23        "-DBUILDCFG=1",
24        "-Wno-deprecated-register",
25        "-Wno-unused-parameter",
26        "-Wno-missing-field-initializers",
27    ],
28    local_include_dirs: [
29        "include",
30        "gki/ulinux",
31        "gki/common",
32        "hal/include",
33        "hal/int",
34        "nfa/include",
35        "nfa/int",
36        "nfc/include",
37        "nfc/int",
38    ],
39    srcs: [
40        "nfa/ce/*.c",
41        "nfa/dm/*.c",
42        "nfa/ee/*.c",
43        "nfa/hci/*.c",
44        "nfa/int/*.c",
45        "nfa/p2p/*.c",
46        "nfa/rw/*.c",
47        "nfa/sys/*.c",
48        "nfc/int/*.c",
49        "nfc/llcp/*.c",
50        "nfc/nci/*.c",
51        "nfc/ndef/*.c",
52        "nfc/nfc/*.c",
53        "nfc/tags/*.c",
54        "adaptation/*.c",
55        "adaptation/*.cpp",
56        "gki/common/*.c",
57        "gki/ulinux/*.c",
58        "nfca_version.c",
59    ],
60}
61