platform_hardware_interfaces/bluetooth/aidl/Android.bp

46 lines
1.2 KiB
Text
Raw Normal View History

// This is the expected build file, but it may not be right in all cases
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"],
}
aidl_interface {
name: "android.hardware.bluetooth",
vendor_available: true,
host_supported: true,
srcs: ["android/hardware/bluetooth/*.aidl"],
stability: "vintf",
backend: {
cpp: {
// FIXME should this be disabled?
// prefer NDK backend which can be used anywhere
// If you disable this, you also need to delete the C++
// translate code.
enabled: true,
},
java: {
sdk_version: "module_current",
},
ndk: {
apex_available: [
"//apex_available:platform",
"com.android.btservices",
],
min_sdk_version: "33",
},
},
versions_with_info: [
{
version: "1",
imports: [],
},
],
frozen: true,
}