-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.bp
executable file
·146 lines (141 loc) · 3.92 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
soong_namespace {
}
package {
default_applicable_licenses: ["vendor_nxp_nfc_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "vendor_nxp_nfc_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
// large-scale-change unable to identify any license_text files
}
cc_library_shared {
name: "nfc_nci_nxp.pn8x",
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/mifare/*.cc",
"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",
"libhardware",
"libhardware_legacy",
"libhidlbase",
"liblog",
"libutils",
"ese_spi_nxp.p73",
"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: [
"vendor/nxp/nfc/extns/impl/",
"vendor/nxp/nfc/extns/impl/nxpnfc/2.0",
"vendor/nxp/secure_element_extns/inc",
"vendor/nxp/secure_element/libese-spi/src/include",
],
export_include_dirs: [
"extns/impl",
"halimpl/inc",
"halimpl/common",
"halimpl/utils",
"halimpl/mifare",
"halimpl/ese-clients/inc",
],
cflags: [
"-DBUILDCFG=1",
"-Wall",
"-Werror",
"-Wno-implicit-fallthrough",
"-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: "[email protected]",
defaults: ["hidl_defaults"],
proprietary: true,
init_rc: ["1.2/[email protected]"],
vintf_fragments: ["1.2/[email protected]"],
relative_install_path: "hw",
srcs: [
"1.2/NxpNfcService.cpp",
"1.2/Nfc.cpp",
"extns/impl/nxpnfc/2.0/NxpNfc.cpp",
"extns/impl/nxpnfclegacy/1.0/NxpNfcLegacy.cpp"
],
shared_libs: [
"nfc_nci_nxp.pn8x",
"libbase",
"libcutils",
"libhardware",
"liblog",
"libutils",
"ese_spi_nxp.p73",
"libhidlbase",
"ese_client",
"hal_libnfc",
],
local_include_dirs: [
"halimpl/inc",
"halimpl/hal",
"halimpl/inc",
"halimpl/tml",
"halimpl/utils",
"halimpl/configs",
],
include_dirs: [
"vendor/nxp/nfc/extns/impl/nxpnfc/2.0",
"vendor/nxp/nfc/halimpl/src/include",
],
}