blob: d1f1860f358a10248e36d8d33b92317356ed00ad [file] [log] [blame]
cc_library_shared {
arch: {
arm: {
instruction_set: "arm",
},
},
name: "libnfc-nci",
shared_libs: [
"libcutils",
"liblog",
"libdl",
"libhardware",
"libpower",
// Treble configuration
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
"android.hardware.nfc@1.0",
],
cflags: [
"-DBUILDCFG=1",
"-Wno-deprecated-register",
"-Wno-unused-parameter",
"-Wno-missing-field-initializers",
],
local_include_dirs: [
"include",
"gki/ulinux",
"gki/common",
"hal/include",
"hal/int",
"nfa/include",
"nfa/int",
"nfc/include",
"nfc/int",
],
srcs: [
"nfa/ce/*.c",
"nfa/dm/*.c",
"nfa/ee/*.c",
"nfa/hci/*.c",
"nfa/int/*.c",
"nfa/p2p/*.c",
"nfa/rw/*.c",
"nfa/sys/*.c",
"nfc/int/*.c",
"nfc/llcp/*.c",
"nfc/nci/*.c",
"nfc/ndef/*.c",
"nfc/nfc/*.c",
"nfc/tags/*.c",
"adaptation/*.c",
"adaptation/*.cpp",
"gki/common/*.c",
"gki/ulinux/*.c",
"nfca_version.c",
],
}