You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.1 KiB
58 lines
1.1 KiB
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libnfc_nci_jni",
|
|
|
|
cflags: [
|
|
"-Wall",
|
|
"-Wextra",
|
|
"-Wno-unused-parameter",
|
|
"-Werror",
|
|
|
|
"-DNXP_UICC_ENABLE",
|
|
],
|
|
|
|
srcs: ["**/*.cpp"],
|
|
|
|
include_dirs: [
|
|
"system/nfc/src/nfa/include",
|
|
"system/nfc/src/nfc/include",
|
|
"system/nfc/src/include",
|
|
"system/nfc/src/gki/ulinux",
|
|
"system/nfc/src/gki/common",
|
|
"system/nfc/utils/include",
|
|
],
|
|
|
|
local_include_dirs: [
|
|
"extns/pn54x/inc",
|
|
"extns/pn54x/src/common",
|
|
"extns/pn54x/src/mifare",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libandroidicu",
|
|
"libnativehelper",
|
|
"libcutils",
|
|
"libutils",
|
|
"liblog",
|
|
"libnfc-nci",
|
|
"libchrome",
|
|
"libbase",
|
|
],
|
|
|
|
static_libs: ["libxml2"],
|
|
|
|
product_variables: {
|
|
debuggable: {
|
|
cflags: ["-DDCHECK_ALWAYS_ON"],
|
|
},
|
|
},
|
|
sanitize: {
|
|
integer_overflow: true,
|
|
misc_undefined: ["bounds"],
|
|
scs: true,
|
|
},
|
|
}
|