1package { 2 default_applicable_licenses: ["hardware_nxp_uwb_license"], 3} 4 5// Added automatically by a large-scale-change 6// See: http://go/android-license-faq 7license { 8 name: "hardware_nxp_uwb_license", 9 visibility: [":__subpackages__"], 10 license_kinds: [ 11 "SPDX-license-identifier-Apache-2.0", 12 ], 13 // large-scale-change unable to identify any license_text files 14} 15 16soong_config_string_variable { 17 name: "chip", 18 values: [ 19 "hbci", 20 "hdll", 21 ], 22} 23 24soong_config_module_type { 25 name: "uwb_cc_defaults", 26 module_type: "cc_defaults", 27 config_namespace: "nxp_uwb", 28 variables: ["chip"], 29 properties: [ 30 "static_libs", 31 ], 32} 33 34uwb_cc_defaults { 35 name: "uwb_defaults", 36 soong_config_variables: { 37 chip: { 38 hdll: { 39 static_libs: [ 40 "nxp_uwb_hdll", 41 ], 42 }, 43 conditions_default: { 44 static_libs: [ 45 "nxp_uwb_hbci", 46 ], 47 }, 48 }, 49 }, 50} 51 52cc_library_shared { 53 name: "uwb_uci.helios", 54 defaults: [ 55 "hidl_defaults", 56 "uwb_defaults", 57 ], 58 proprietary: true, 59 srcs: [ 60 "halimpl/hal/*.cc", 61 "halimpl/log/*.cc", 62 "halimpl/tml/*.cc", 63 "halimpl/utils/*.cc", 64 ], 65 shared_libs: [ 66 "android.hardware.uwb-V1-ndk", 67 "libcutils", 68 "liblog", 69 "libhardware", 70 "libbase", 71 "libchrome", 72 "libutils", 73 "libdl", 74 "libhidlbase", 75 ], 76 local_include_dirs: [ 77 "halimpl/inc", 78 "halimpl/inc/common", 79 "halimpl/hal", 80 "halimpl/log", 81 "halimpl/tml", 82 "halimpl/utils", 83 "extns/inc", 84 ], 85 required: [ 86 "libuwb-uci.conf", 87 "libuwb-nxp.conf", 88 "libuwb-countrycode.conf", 89 ], 90 cflags: [ 91 "-DGENERIC", 92 "-DBUILDCFG=1", 93 "-Wno-deprecated-register", 94 "-Wno-unused-parameter", 95 "-Wno-missing-field-initializers", 96 ], 97} 98