2022-08-04 01:59:48 +02:00
|
|
|
// This is the expected build file, but it may not be right in all cases
|
|
|
|
|
2022-11-03 15:03:39 +01:00
|
|
|
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"],
|
|
|
|
}
|
|
|
|
|
2022-08-04 01:59:48 +02:00
|
|
|
aidl_interface {
|
|
|
|
name: "android.hardware.bluetooth",
|
|
|
|
vendor_available: true,
|
2022-09-30 15:20:50 +02:00
|
|
|
host_supported: true,
|
2022-08-04 01:59:48 +02:00
|
|
|
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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|