• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This is the expected build file, but it may not be right in all cases
2
3package {
4    // See: http://go/android-license-faq
5    // A large-scale-change added 'default_applicable_licenses' to import
6    // all of the 'license_kinds' from "hardware_interfaces_license"
7    // to get the below license kinds:
8    //   SPDX-license-identifier-Apache-2.0
9    default_applicable_licenses: ["hardware_interfaces_license"],
10}
11
12aidl_interface {
13    name: "android.hardware.bluetooth",
14    vendor_available: true,
15    host_supported: true,
16    srcs: ["android/hardware/bluetooth/*.aidl"],
17    stability: "vintf",
18    backend: {
19        cpp: {
20            // FIXME should this be disabled?
21            // prefer NDK backend which can be used anywhere
22            // If you disable this, you also need to delete the C++
23            // translate code.
24            enabled: true,
25        },
26        rust: {
27            enabled: true,
28        },
29        java: {
30            sdk_version: "module_current",
31        },
32        ndk: {
33            apex_available: [
34                "//apex_available:platform",
35                "com.android.bt",
36            ],
37            min_sdk_version: "33",
38        },
39    },
40    versions_with_info: [
41        {
42            version: "1",
43            imports: [],
44        },
45    ],
46    frozen: true,
47
48}
49