1package { 2 default_team: "trendy_team_fwk_uwb", 3 // See: http://go/android-license-faq 4 // A large-scale-change added 'default_applicable_licenses' to import 5 // all of the 'license_kinds' from "hardware_nxp_uwb_license" 6 // to get the below license kinds: 7 // SPDX-license-identifier-Apache-2.0 8 default_applicable_licenses: ["hardware_nxp_uwb_license"], 9} 10 11cc_binary { 12 name: "android.hardware.uwb-service.nxp", 13 relative_install_path: "hw", 14 init_rc: ["nxp-uwb-service.rc"], 15 vintf_fragments: ["nxp-uwb-service.xml"], 16 vendor: true, 17 cflags: [ 18 "-Wall", 19 "-Wextra", 20 "-g", 21 ], 22 shared_libs: [ 23 "uwb_uci.helios", 24 "liblog", 25 "libbinder_ndk", 26 ], 27 static_libs: [ 28 "libbase", 29 "libutils", 30 "android.hardware.uwb-V1-ndk", 31 "libnxpuwbexampleimpl", 32 ], 33 srcs: [ 34 "service.cpp", 35 ], 36} 37 38cc_library_static { 39 name: "libnxpuwbexampleimpl", 40 vendor: true, 41 shared_libs: [ 42 "liblog", 43 "libbinder_ndk", 44 ], 45 static_libs: [ 46 "libbase", 47 "libutils", 48 "android.hardware.uwb-V1-ndk", 49 ], 50 srcs: [ 51 "uwb.cpp", 52 "uwb_chip.cpp", 53 ], 54 include_dirs: [ 55 "hardware/nxp/uwb/extns/inc", 56 "hardware/nxp/uwb/halimpl/inc", 57 "hardware/nxp/uwb/halimpl/inc/common", 58 ], 59 cflags: [ 60 "-Wall", 61 "-Wextra", 62 "-g", 63 ], 64} 65