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_uwb_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["hardware_nxp_uwb_license"], 8} 9 10cc_binary { 11 name: "android.hardware.uwb-service.nxp", 12 relative_install_path: "hw", 13 init_rc: ["nxp-uwb-service.rc"], 14 vintf_fragments: ["nxp-uwb-service.xml"], 15 vendor: true, 16 cflags: [ 17 "-Wall", 18 "-Wextra", 19 "-g", 20 ], 21 shared_libs: [ 22 "uwb_uci.helios", 23 "liblog", 24 "libbinder_ndk", 25 ], 26 static_libs: [ 27 "libbase", 28 "libutils", 29 "android.hardware.uwb-V1-ndk", 30 "libnxpuwbexampleimpl", 31 ], 32 srcs: [ 33 "service.cpp", 34 ], 35} 36cc_library_static { 37 name: "libnxpuwbexampleimpl", 38 vendor: true, 39 shared_libs: [ 40 "liblog", 41 "libbinder_ndk", 42 ], 43 static_libs: [ 44 "libbase", 45 "libutils", 46 "android.hardware.uwb-V1-ndk", 47 ], 48 srcs: [ 49 "uwb.cpp", 50 "uwb_chip.cpp", 51 ], 52 include_dirs: [ 53 "hardware/nxp/uwb/extns/inc", 54 "hardware/nxp/uwb/halimpl/inc", 55 ], 56 cflags: [ 57 "-Wall", 58 "-Wextra", 59 "-g", 60 ], 61} 62