blob: 4756d6008685bcad24a78524b1d4d6072c929e1e [file] [log] [blame]
cc_library_shared {
name: "nfc_nci_nxp",
defaults: ["hidl_defaults"],
proprietary: true,
srcs: [
"halimpl/common/*.cc",
"halimpl/dnld/*.cc",
"halimpl/hal/*.cc",
"halimpl/log/*.cc",
"halimpl/self-test/*.cc",
"halimpl/src/adaptation/EseAdaptation.cpp",
"halimpl/tml/*.cc",
"halimpl/utils/*.cc",
"halimpl/utils/*.cpp",
"halimpl/configs/*.cpp",
"halimpl/ese-clients/src/DwpEseUpdater.cc",
"halimpl/ese-clients/src/DwpSeChannelCallback.cc",
"halimpl/ese-clients/src/DwpSeEvtCallback.cc",
"halimpl/ese-clients/src/HalLibnfcInteface.cc",
],
shared_libs: [
"libbase",
"libcutils",
"liblog",
"libhwbinder",
"libhardware",
"libhardware_legacy",
"libhidlbase",
"libhidltransport",
"liblog",
"libutils",
"android.hardware.nfc@1.0",
"android.hardware.nfc@1.1",
"android.hardware.secure_element@1.0",
"ese_spi_nxp",
"vendor.nxp.nxpese@1.0",
"vendor.nxp.nxpnfc@1.0",
"ese_client",
"hal_libnfc"
],
local_include_dirs: [
"halimpl/dnld",
"halimpl/hal",
"halimpl/log",
"halimpl/self-test",
"halimpl/tml",
"halimpl/src/include",
"halimpl/configs",
],
include_dirs: [
"hardware/nxp/secure_element_extns/inc",
"hardware/nxp/secure_element/libese-spi/src/include",
],
export_include_dirs: [
"extns/impl",
"halimpl/inc",
"halimpl/common",
"halimpl/utils",
"halimpl/ese-clients/inc",
],
cflags: [
"-DBUILDCFG=1",
"-Wall",
"-Werror",
"-DNFC_HAL_TARGET=TRUE",
"-DNFC_RW_ONLY=TRUE",
"-DNXP_EXTNS=TRUE",
"-DNFC_NXP_AID_MAX_SIZE_DYN=TRUE",
"-DNXP_NFCC_HCE_F=TRUE",
"-DNFC_NXP_LISTEN_ROUTE_TBL_OPTIMIZATION=TRUE",
"-DNFC_NXP_HFO_SETTINGS=FALSE",
"-DANDROID",
"-DNXP_HW_SELF_TEST"
],
}
cc_binary {
name: "android.hardware.nfc@1.1-service",
defaults: ["hidl_defaults"],
proprietary: true,
init_rc: ["1.1/android.hardware.nfc@1.1-service.rc"],
relative_install_path: "hw",
srcs: [
"1.1/NxpNfcService.cpp",
"1.1/Nfc.cpp",
"extns/impl/NxpNfc.cpp",
],
shared_libs: [
"nfc_nci_nxp",
"libbase",
"libcutils",
"libhardware",
"liblog",
"libutils",
"android.hardware.nfc@1.0",
"android.hardware.nfc@1.1",
"ese_spi_nxp",
"libhidlbase",
"libhidltransport",
"libhwbinder",
"vendor.nxp.nxpnfc@1.0",
"vendor.nxp.nxpese@1.0",
"android.hardware.secure_element@1.0",
"ese_client",
"hal_libnfc",
],
local_include_dirs: [
"halimpl/inc",
"halimpl/hal",
"halimpl/inc",
"halimpl/tml",
"halimpl/utils",
"halimpl/configs",
],
include_dirs: [
"hardware/nxp/nfc/halimpl/src/include",
],
}