1//##################################### 2// Build shared library vendor/lib/libp61-jcop-kit.so 3 4package { 5 // See: http://go/android-license-faq 6 // A large-scale-change added 'default_applicable_licenses' to import 7 // all of the 'license_kinds' from "external_libese_license" 8 // to get the below license kinds: 9 // SPDX-license-identifier-Apache-2.0 10 default_applicable_licenses: ["external_libese_license"], 11} 12 13cc_library_shared { 14 name: "libp61-jcop-kit", 15 proprietary: true, 16 17 shared_libs: [ 18 "libcutils", 19 "liblog", 20 "libdl", 21 "libhardware", 22 ], 23 cflags: [ 24 "-DNXP_LDR_SVC_VER_2=TRUE", 25 "-Wall", 26 // "-Werror", // has multiple warnings with some asan-userdebug target 27 "-Wno-format", 28 "-Wno-parentheses-equality", 29 "-Wno-tautological-constant-out-of-range-compare", 30 "-Wno-unused-function", 31 "-Wno-unused-parameter", 32 "-Wno-unused-variable", 33 ], 34 export_include_dirs: [ 35 "include/", 36 "inc/", 37 ], 38 srcs: [ 39 "src/AlaLib.cpp", 40 "src/JcopOsDownload.cpp", 41 "src/JcDnld.cpp", 42 "src/Ala.cpp", 43 ], 44 45} 46