blob: 8c2b60e37dbdca45288edc24f0709457915da56b [file] [log] [blame]
Roshan Pius80c3cc62021-08-27 12:55:02 -07001package {
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_interfaces_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
Sam Wu63bcd882023-04-07 18:35:20 +000010cc_binary {
Roshan Pius80c3cc62021-08-27 12:55:02 -070011 name: "android.hardware.uwb-service",
12 relative_install_path: "hw",
Sam Wu63bcd882023-04-07 18:35:20 +000013 init_rc: ["uwb-service.rc"],
Roshan Pius80c3cc62021-08-27 12:55:02 -070014 vintf_fragments: ["uwb-service.xml"],
15 vendor: true,
Sam Wu63bcd882023-04-07 18:35:20 +000016 cflags: [
17 "-Wall",
18 "-Wextra",
19 "-g",
Roshan Pius80c3cc62021-08-27 12:55:02 -070020 ],
Sam Wu63bcd882023-04-07 18:35:20 +000021 shared_libs: [
22 "liblog",
23 "libbinder_ndk",
24 ],
25 static_libs: [
26 "libbase",
27 "libutils",
28 "android.hardware.uwb-V1-ndk",
Roshan Pius80c3cc62021-08-27 12:55:02 -070029 ],
30 srcs: [
Sam Wu63bcd882023-04-07 18:35:20 +000031 "service.cpp",
32 "uwb.cpp",
33 "uwb_chip.cpp",
Roshan Pius80c3cc62021-08-27 12:55:02 -070034 ],
35}