blob: a5f613a122f7d4c0bc3c6ab2eafadeac19029e07 [file] [log] [blame]
Ruchi Kandoib242d7f2017-01-12 12:39:14 -08001cc_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",
Ruchi Kandoif67b3342017-05-17 11:50:47 -070013 "libmetricslogger",
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080014 "libpower",
Ruchi Kandoic0cd1ab2017-04-17 17:23:56 -070015 "libz",
Ruchi Kandoi6767aec2017-09-26 09:46:26 -070016 "libchrome",
17 "libbase",
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080018
19 // Treble configuration
20 "libhidlbase",
21 "libhidltransport",
22 "libhwbinder",
23 "libutils",
24 "android.hardware.nfc@1.0",
25 ],
Andre Eisenbach856b3652017-11-15 17:33:23 -080026 static_libs: [
27 "libnfcutils",
28 ],
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080029 cflags: [
30 "-DBUILDCFG=1",
Ruchi Kandoi9ba6d242017-10-13 16:07:01 -070031 "-Wall",
32 "-Werror",
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080033 ],
34 local_include_dirs: [
35 "include",
36 "gki/ulinux",
37 "gki/common",
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080038 "nfa/include",
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080039 "nfc/include",
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080040 ],
41 srcs: [
Ruchi Kandoi7dab0e52017-08-03 13:09:49 -070042 "nfa/ce/*.cc",
43 "nfa/dm/*.cc",
44 "nfa/ee/*.cc",
45 "nfa/hci/*.cc",
46 "nfa/p2p/*.cc",
47 "nfa/rw/*.cc",
48 "nfa/sys/*.cc",
49 "nfc/llcp/*.cc",
50 "nfc/nci/*.cc",
51 "nfc/ndef/*.cc",
Ruchi Kandoif67b3342017-05-17 11:50:47 -070052 "nfc/nfc/*.cc",
Ruchi Kandoi7dab0e52017-08-03 13:09:49 -070053 "nfc/tags/*.cc",
Ruchi Kandoic0cd1ab2017-04-17 17:23:56 -070054 "adaptation/*.cc",
Ruchi Kandoi7dab0e52017-08-03 13:09:49 -070055 "gki/common/*.cc",
56 "gki/ulinux/*.cc",
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080057 ],
Ruchi Kandoi6767aec2017-09-26 09:46:26 -070058 product_variables: {
59 debuggable: {
60 cflags: [
61 "-DDCHECK_ALWAYS_ON"
62 ],
63 },
64 },
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080065}