blob: 97977ad9aff4544ddc3e43b8a8939815c59b32a8 [file] [log] [blame]
Lovee3281ca2018-05-09 15:57:30 +05301cc_library_shared {
2 name: "nfc_nci_nxp",
3 defaults: ["hidl_defaults"],
4 proprietary: true,
5
6 srcs: [
7 "halimpl/common/*.c",
8 "halimpl/dnld/*.c",
9 "halimpl/hal/*.c",
10 "halimpl/log/*.c",
11// "halimpl/self-test/*.c",
12 "halimpl/tml/*.c",
13 "halimpl/utils/*.c",
14 "halimpl/utils/*.cpp",
15 "halimpl/configs/*.cpp",
16 ],
17 shared_libs: [
18 "libbase",
19 "libcutils",
20 "liblog",
21 "libhwbinder",
22 "libhardware",
23 "android.hardware.nfc@1.0",
24 ],
25 local_include_dirs: [
26 "halimpl/dnld",
27 "halimpl/hal",
28 "halimpl/log",
29// "halimpl/self-test",
30 "halimpl/tml",
31 "halimpl/utils",
32 "halimpl/configs",
33 ],
34 export_include_dirs: [
35 "extns/impl",
36 "halimpl/inc",
37 "halimpl/common",
38 ],
39 cflags: [
40 "-DBUILDCFG=1",
41 "-Wno-deprecated-register",
42 "-Wno-unused-parameter",
43 "-Wno-missing-field-initializers",
44 "-DNFC_HAL_TARGET=TRUE",
45 "-DNFC_RW_ONLY=TRUE",
46 "-DNXP_EXTNS=TRUE",
47 "-DNFC_NXP_AID_MAX_SIZE_DYN=TRUE",
48 "-DNXP_NFCC_HCE_F=TRUE",
49 "-DNFC_NXP_LISTEN_ROUTE_TBL_OPTIMIZATION=TRUE",
50 "-DNFC_NXP_HFO_SETTINGS=FALSE",
51 "-DANDROID",
52 "-DNXP_HW_SELF_TEST"
53 ],
54}
55
56cc_binary {
57 name: "android.hardware.nfc@1.0-service",
58 defaults: ["hidl_defaults"],
59 relative_install_path: "hw",
60 proprietary: true,
61 init_rc: ["1.0/android.hardware.nfc@1.0-service.rc"],
62 srcs: [
63 "1.0/service.cpp",
64 "1.0/Nfc.cpp",
65 "extns/impl/NxpNfc.cpp",
66 ],
67
68 shared_libs: [
69 "nfc_nci_nxp",
70 "liblog",
71 "libcutils",
72 "libdl",
73 "libbase",
74 "libutils",
75 "libhardware",
76 "libhidlbase",
77 "libhidltransport",
78 "android.hardware.nfc@1.0",
79 "vendor.nxp.nxpnfc@1.0",
80 ],
81
82}