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        "libmetricslogger",
14        "libz",
15        "libchrome",
16        "libbase",
17	"libstatslog",
18
19        // Treble configuration
20        "libhidlbase",
21        "libhidltransport",
22        "libhwbinder",
23        "libutils",
24        "android.hardware.nfc@1.0",
25        "android.hardware.nfc@1.1",
26        "android.hardware.nfc@1.2",
27    ],
28    static_libs: [
29        "libnfcutils",
30    ],
31    cflags: [
32        "-DBUILDCFG=1",
33        "-Wall",
34        "-Werror",
35        "-Wimplicit-fallthrough",
36    ],
37    local_include_dirs: [
38        "include",
39        "gki/ulinux",
40        "gki/common",
41        "nfa/include",
42        "nfc/include",
43    ],
44    srcs: [
45        "nfa/ce/*.cc",
46        "nfa/dm/*.cc",
47        "nfa/ee/*.cc",
48        "nfa/hci/*.cc",
49        "nfa/p2p/*.cc",
50        "nfa/rw/*.cc",
51        "nfa/sys/*.cc",
52        "nfc/llcp/*.cc",
53        "nfc/nci/*.cc",
54        "nfc/ndef/*.cc",
55        "nfc/nfc/*.cc",
56        "nfc/tags/*.cc",
57        "adaptation/*.cc",
58        "gki/common/*.cc",
59        "gki/ulinux/*.cc",
60    ],
61    product_variables: {
62        debuggable: {
63            cflags: [
64                "-DDCHECK_ALWAYS_ON"
65            ],
66        },
67    },
68}
69