Files
hardware_interfaces/uwb/aidl/Android.bp
Roshan Pius f527f8f774 uwb(interface): Add a package for Android specific params in UCI
Along with the FIRA standard defined UCI specification, Android needs to
support some Android specific commands/params (uses vendor carve-outs in
the specifications). Use this new package to explicitly specify these
Android specific commands/params.

Note: This package is not tied to main UWB HAL interface and should be
updatable between dessert releases (infra changes needed to support
this still needs to be figured out).

Bug: 197886322
Test: Compiles
Change-Id: Id8b50a84cec40f80389cef3a7bfad920a3e07446
2021-10-13 17:15:05 -07:00

67 lines
1.7 KiB
Plaintext
Executable File

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_interfaces_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["hardware_interfaces_license"],
}
// TODO(b/195992901): Add VTS tests.
// TODO(b/195992658): Add cuttlefish implementation.
aidl_interface {
name: "android.hardware.uwb",
vendor_available: true,
srcs: ["android/hardware/uwb/*.aidl"],
stability: "vintf",
backend: {
java: {
sdk_version: "module_current",
enabled: false,
},
ndk: {
vndk: {
enabled: true,
},
apex_available: [
"//apex_available:platform",
"com.android.uwb",
],
min_sdk_version: "current",
},
rust: {
enabled: true,
apex_available: [
"//apex_available:platform",
"com.android.uwb",
],
},
},
}
aidl_interface {
name: "android.hardware.uwb.fira_android",
vendor_available: true,
srcs: ["android/hardware/uwb/fira_android/*.aidl"],
stability: "vintf",
backend: {
java: {
sdk_version: "module_current",
enabled: true,
apex_available: [
"com.android.uwb",
],
},
ndk: {
vndk: {
enabled: true,
},
apex_available: [
"//apex_available:platform",
"com.android.uwb",
],
min_sdk_version: "current",
},
},
}