1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "hardware_nxp_nfc_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["hardware_nxp_nfc_license"],
8}
9
10cc_library_shared {
11
12    name: "nxp_nci_parser",
13    defaults: ["hidl_defaults"],
14    proprietary: true,
15
16    cflags: [
17        "-Wall",
18        "-Wno-unused-parameter",
19        "-Wextra",
20    ],
21
22    srcs: [
23        "osal/src/phOsal_LinkList.cpp",
24        "osal/src/phOsal_Log.cpp",
25        "osal/src/phOsal_Posix.cpp",
26        "osal/src/phOsal_Queue.cpp",
27        "parser/src/NCIBase.cpp",
28        "parser/src/NCIDecoderProp.cpp",
29        "parser/src/NCIDecoderStandard.cpp",
30        "parser/src/NCILxDebugDecoder.cpp",
31        "parser/src/NCIParser.cpp",
32        "parser/src/NCIParserInterface.cpp",
33        "parser/src/phOsal_Adaptation.cpp",
34    ],
35
36    local_include_dirs: [
37        "osal/inc",
38        "parser/inc",
39    ],
40    shared_libs: [
41        "libbase",
42        "libcutils",
43        "liblog",
44        "libutils",
45    ],
46}
47