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