Ruchi Kandoi | b242d7f | 2017-01-12 12:39:14 -0800 | [diff] [blame] | 1 | cc_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 Kandoi | adf0b8a | 2017-05-17 11:50:47 -0700 | [diff] [blame] | 13 | "libmetricslogger", |
Ruchi Kandoi | b242d7f | 2017-01-12 12:39:14 -0800 | [diff] [blame] | 14 | "libpower", |
Ruchi Kandoi | 1ebdcc2 | 2017-04-17 17:23:56 -0700 | [diff] [blame] | 15 | "libz", |
Ruchi Kandoi | b242d7f | 2017-01-12 12:39:14 -0800 | [diff] [blame] | 16 | |
| 17 | // Treble configuration |
| 18 | "libhidlbase", |
| 19 | "libhidltransport", |
| 20 | "libhwbinder", |
| 21 | "libutils", |
| 22 | "android.hardware.nfc@1.0", |
| 23 | ], |
| 24 | cflags: [ |
| 25 | "-DBUILDCFG=1", |
| 26 | "-Wno-deprecated-register", |
| 27 | "-Wno-unused-parameter", |
| 28 | "-Wno-missing-field-initializers", |
| 29 | ], |
| 30 | local_include_dirs: [ |
| 31 | "include", |
| 32 | "gki/ulinux", |
| 33 | "gki/common", |
| 34 | "hal/include", |
| 35 | "hal/int", |
| 36 | "nfa/include", |
| 37 | "nfa/int", |
| 38 | "nfc/include", |
| 39 | "nfc/int", |
| 40 | ], |
| 41 | srcs: [ |
| 42 | "nfa/ce/*.c", |
| 43 | "nfa/dm/*.c", |
| 44 | "nfa/ee/*.c", |
| 45 | "nfa/hci/*.c", |
| 46 | "nfa/int/*.c", |
| 47 | "nfa/p2p/*.c", |
| 48 | "nfa/rw/*.c", |
| 49 | "nfa/sys/*.c", |
| 50 | "nfc/int/*.c", |
| 51 | "nfc/llcp/*.c", |
| 52 | "nfc/nci/*.c", |
| 53 | "nfc/ndef/*.c", |
| 54 | "nfc/nfc/*.c", |
Ruchi Kandoi | adf0b8a | 2017-05-17 11:50:47 -0700 | [diff] [blame] | 55 | "nfc/nfc/*.cc", |
Ruchi Kandoi | b242d7f | 2017-01-12 12:39:14 -0800 | [diff] [blame] | 56 | "nfc/tags/*.c", |
| 57 | "adaptation/*.c", |
| 58 | "adaptation/*.cpp", |
Ruchi Kandoi | 1ebdcc2 | 2017-04-17 17:23:56 -0700 | [diff] [blame] | 59 | "adaptation/*.cc", |
Ruchi Kandoi | b242d7f | 2017-01-12 12:39:14 -0800 | [diff] [blame] | 60 | "gki/common/*.c", |
| 61 | "gki/ulinux/*.c", |
| 62 | "nfca_version.c", |
| 63 | ], |
| 64 | } |