blob: 19725dcec1f720b818f98bbefa3756fbc9cc228d [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 ],
26 cflags: [
27 "-DBUILDCFG=1",
Ruchi Kandoi9ba6d242017-10-13 16:07:01 -070028 "-Wall",
29 "-Werror",
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080030 ],
31 local_include_dirs: [
32 "include",
33 "gki/ulinux",
34 "gki/common",
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080035 "nfa/include",
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080036 "nfc/include",
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080037 ],
38 srcs: [
Ruchi Kandoi7dab0e52017-08-03 13:09:49 -070039 "nfa/ce/*.cc",
40 "nfa/dm/*.cc",
41 "nfa/ee/*.cc",
42 "nfa/hci/*.cc",
43 "nfa/p2p/*.cc",
44 "nfa/rw/*.cc",
45 "nfa/sys/*.cc",
46 "nfc/llcp/*.cc",
47 "nfc/nci/*.cc",
48 "nfc/ndef/*.cc",
Ruchi Kandoif67b3342017-05-17 11:50:47 -070049 "nfc/nfc/*.cc",
Ruchi Kandoi7dab0e52017-08-03 13:09:49 -070050 "nfc/tags/*.cc",
Ruchi Kandoic0cd1ab2017-04-17 17:23:56 -070051 "adaptation/*.cc",
Ruchi Kandoi7dab0e52017-08-03 13:09:49 -070052 "gki/common/*.cc",
53 "gki/ulinux/*.cc",
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080054 ],
Ruchi Kandoi6767aec2017-09-26 09:46:26 -070055 product_variables: {
56 debuggable: {
57 cflags: [
58 "-DDCHECK_ALWAYS_ON"
59 ],
60 },
61 },
Ruchi Kandoib242d7f2017-01-12 12:39:14 -080062}