1// This is auto-generated. DO NOT EDIT.
2
3package {
4    // A default list here prevents the license LSC from adding its own list which would
5    // be unnecessary as every module in the sdk already has its own licenses property.
6    default_applicable_licenses: ["Android-Apache-2.0"],
7}
8
9apex_contributions_defaults {
10    name: "btservices-module-sdk.contributions",
11    contents: [
12        "prebuilt_bluetooth-compat-config",
13        "prebuilt_bluetoothapk-platform-compat-config",
14        "prebuilt_framework-bluetooth-compat-config",
15        "prebuilt_framework-bluetooth",
16    ],
17}
18
19prebuilt_bootclasspath_fragment {
20    name: "com.android.btservices-bootclasspath-fragment",
21    prefer: false,
22    visibility: ["//visibility:public"],
23    apex_available: ["com.android.btservices"],
24    licenses: ["btservices-module-sdk_system_bt_license"],
25    contents: ["framework-bluetooth"],
26    fragments: [
27        {
28            apex: "com.android.art",
29            module: "art-bootclasspath-fragment",
30        },
31    ],
32    hidden_api: {
33        unsupported: ["hiddenapi/hiddenapi-unsupported.txt"],
34        max_target_r_low_priority: ["hiddenapi/hiddenapi-max-target-r-low-priority.txt"],
35        max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"],
36        annotation_flags: "hiddenapi/annotation-flags.csv",
37        metadata: "hiddenapi/metadata.csv",
38        index: "hiddenapi/index.csv",
39        signature_patterns: "hiddenapi/signature-patterns.csv",
40        filtered_stub_flags: "hiddenapi/filtered-stub-flags.csv",
41        filtered_flags: "hiddenapi/filtered-flags.csv",
42    },
43}
44
45prebuilt_platform_compat_config {
46    name: "bluetooth-compat-config",
47    prefer: false,
48    visibility: ["//visibility:public"],
49    licenses: ["btservices-module-sdk_Android-Apache-2.0"],
50    metadata: "compat_configs/bluetooth-compat-config/bluetooth-compat-config_meta.xml",
51}
52
53prebuilt_platform_compat_config {
54    name: "bluetoothapk-platform-compat-config",
55    prefer: false,
56    visibility: ["//visibility:public"],
57    licenses: ["btservices-module-sdk_packages_apps_Bluetooth_license"],
58    metadata: "compat_configs/bluetoothapk-platform-compat-config/bluetoothapk-platform-compat-config_meta.xml",
59}
60
61prebuilt_platform_compat_config {
62    name: "framework-bluetooth-compat-config",
63    prefer: false,
64    visibility: ["//visibility:public"],
65    licenses: ["btservices-module-sdk_Android-Apache-2.0"],
66    metadata: "compat_configs/framework-bluetooth-compat-config/framework-bluetooth-compat-config_meta.xml",
67}
68
69java_sdk_library_import {
70    name: "framework-bluetooth",
71    prefer: false,
72    visibility: ["//visibility:public"],
73    apex_available: ["com.android.btservices"],
74    licenses: ["btservices-module-sdk_Android-Apache-2.0"],
75    shared_library: false,
76    permitted_packages: [
77        "android.bluetooth",
78        "com.android.bluetooth.jarjar",
79    ],
80    public: {
81        jars: ["sdk_library/public/framework-bluetooth-stubs.jar"],
82        stub_srcs: ["sdk_library/public/framework-bluetooth_stub_sources"],
83        current_api: "sdk_library/public/framework-bluetooth.txt",
84        removed_api: "sdk_library/public/framework-bluetooth-removed.txt",
85        annotations: "sdk_library/public/framework-bluetooth_annotations.zip",
86        sdk_version: "module_current",
87    },
88    system: {
89        jars: ["sdk_library/system/framework-bluetooth-stubs.jar"],
90        stub_srcs: ["sdk_library/system/framework-bluetooth_stub_sources"],
91        current_api: "sdk_library/system/framework-bluetooth.txt",
92        removed_api: "sdk_library/system/framework-bluetooth-removed.txt",
93        annotations: "sdk_library/system/framework-bluetooth_annotations.zip",
94        sdk_version: "module_current",
95    },
96    module_lib: {
97        jars: ["sdk_library/module-lib/framework-bluetooth-stubs.jar"],
98        stub_srcs: ["sdk_library/module-lib/framework-bluetooth_stub_sources"],
99        current_api: "sdk_library/module-lib/framework-bluetooth.txt",
100        removed_api: "sdk_library/module-lib/framework-bluetooth-removed.txt",
101        annotations: "sdk_library/module-lib/framework-bluetooth_annotations.zip",
102        sdk_version: "module_current",
103    },
104}
105
106java_import {
107    name: "service-bluetooth",
108    prefer: false,
109    visibility: ["//visibility:public"],
110    apex_available: ["com.android.btservices"],
111    licenses: ["btservices-module-sdk_Android-Apache-2.0"],
112    jars: ["java_systemserver_libs/snapshot/jars/are/invalid/service-bluetooth.jar"],
113    min_sdk_version: "33",
114}
115
116license {
117    name: "btservices-module-sdk_system_bt_license",
118    visibility: ["//visibility:private"],
119    license_kinds: [
120        "SPDX-license-identifier-Apache-2.0",
121        "SPDX-license-identifier-BSD",
122        "SPDX-license-identifier-MIT",
123        "legacy_unencumbered",
124    ],
125    license_text: ["licenses/packages/modules/Bluetooth/NOTICE"],
126}
127
128license {
129    name: "btservices-module-sdk_Android-Apache-2.0",
130    visibility: ["//visibility:private"],
131    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
132    license_text: ["licenses/build/soong/licenses/LICENSE"],
133}
134
135license {
136    name: "btservices-module-sdk_packages_apps_Bluetooth_license",
137    visibility: ["//visibility:private"],
138    license_kinds: [
139        "SPDX-license-identifier-Apache-2.0",
140        "SPDX-license-identifier-BSD",
141    ],
142}
143
144prebuilt_systemserverclasspath_fragment {
145    name: "com.android.btservices-systemserverclasspath-fragment",
146    prefer: false,
147    visibility: ["//visibility:public"],
148    apex_available: ["com.android.btservices"],
149    licenses: ["btservices-module-sdk_system_bt_license"],
150    standalone_contents: ["service-bluetooth"],
151}
152