1//#####################################
2// Build shared library vendor/lib/libp61-jcop-kit.so
3
4cc_library_shared {
5    name: "libp61-jcop-kit",
6    proprietary: true,
7
8    shared_libs: [
9        "libcutils",
10        "liblog",
11        "libdl",
12        "libhardware",
13    ],
14    cflags: [
15        "-DNXP_LDR_SVC_VER_2=TRUE",
16        "-Wall",
17        // "-Werror", // has multiple warnings with some asan-userdebug target
18        "-Wno-format",
19        "-Wno-parentheses-equality",
20        "-Wno-tautological-constant-out-of-range-compare",
21        "-Wno-unused-function",
22        "-Wno-unused-parameter",
23        "-Wno-unused-variable",
24    ],
25    export_include_dirs: [
26        "include/",
27        "inc/",
28    ],
29    srcs: [
30        "src/AlaLib.cpp",
31        "src/JcopOsDownload.cpp",
32        "src/JcDnld.cpp",
33        "src/Ala.cpp",
34    ],
35
36}
37
38