-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathAndroid.bp
executable file
·94 lines (91 loc) · 2.3 KB
/
Android.bp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
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",
],
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",
],
local_include_dirs: [
"halimpl/dnld",
"halimpl/hal",
"halimpl/log",
"halimpl/self-test",
"halimpl/tml",
"halimpl/src/include",
"halimpl/configs",
],
export_include_dirs: [
"extns/impl",
"halimpl/inc",
"halimpl/common",
"halimpl/utils",
],
cflags: [
"-DBUILDCFG=1",
"-Wno-deprecated-register",
"-Wno-unused-parameter",
"-Wno-missing-field-initializers",
"-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",
],
}