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    visibility: ["//visibility:public"],
22    apex_available: ["com.android.btservices"],
23    licenses: ["btservices-module-sdk_system_bt_license"],
24    contents: ["framework-bluetooth"],
25    fragments: [
26        {
27            apex: "com.android.art",
28            module: "art-bootclasspath-fragment",
29        },
30    ],
31    hidden_api: {
32        unsupported: ["hiddenapi/hiddenapi-unsupported.txt"],
33        max_target_r_low_priority: ["hiddenapi/hiddenapi-max-target-r-low-priority.txt"],
34        max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"],
35        annotation_flags: "hiddenapi/annotation-flags.csv",
36        metadata: "hiddenapi/metadata.csv",
37        index: "hiddenapi/index.csv",
38        signature_patterns: "hiddenapi/signature-patterns.csv",
39        filtered_stub_flags: "hiddenapi/filtered-stub-flags.csv",
40        filtered_flags: "hiddenapi/filtered-flags.csv",
41    },
42}
43
44prebuilt_platform_compat_config {
45    name: "bluetooth-compat-config",
46    visibility: ["//visibility:public"],
47    licenses: ["btservices-module-sdk_Android-Apache-2.0"],
48    metadata: "compat_configs/bluetooth-compat-config/bluetooth-compat-config_meta.xml",
49}
50
51prebuilt_platform_compat_config {
52    name: "bluetoothapk-platform-compat-config",
53    visibility: ["//visibility:public"],
54    licenses: ["btservices-module-sdk_packages_apps_Bluetooth_license"],
55    metadata: "compat_configs/bluetoothapk-platform-compat-config/bluetoothapk-platform-compat-config_meta.xml",
56}
57
58prebuilt_platform_compat_config {
59    name: "framework-bluetooth-compat-config",
60    visibility: ["//visibility:public"],
61    licenses: ["btservices-module-sdk_Android-Apache-2.0"],
62    metadata: "compat_configs/framework-bluetooth-compat-config/framework-bluetooth-compat-config_meta.xml",
63}
64
65java_sdk_library_import {
66    name: "framework-bluetooth",
67    visibility: ["//visibility:public"],
68    apex_available: ["com.android.btservices"],
69    licenses: ["btservices-module-sdk_Android-Apache-2.0"],
70    shared_library: false,
71    permitted_packages: [
72        "android.bluetooth",
73        "com.android.bluetooth.jarjar",
74    ],
75    public: {
76        jars: ["sdk_library/public/framework-bluetooth-stubs.jar"],
77        stub_srcs: ["sdk_library/public/framework-bluetooth.srcjar"],
78        current_api: "sdk_library/public/framework-bluetooth.txt",
79        removed_api: "sdk_library/public/framework-bluetooth-removed.txt",
80        annotations: "sdk_library/public/framework-bluetooth_annotations.zip",
81        sdk_version: "module_current",
82    },
83    system: {
84        jars: ["sdk_library/system/framework-bluetooth-stubs.jar"],
85        stub_srcs: ["sdk_library/system/framework-bluetooth.srcjar"],
86        current_api: "sdk_library/system/framework-bluetooth.txt",
87        removed_api: "sdk_library/system/framework-bluetooth-removed.txt",
88        annotations: "sdk_library/system/framework-bluetooth_annotations.zip",
89        sdk_version: "module_current",
90    },
91    module_lib: {
92        jars: ["sdk_library/module-lib/framework-bluetooth-stubs.jar"],
93        stub_srcs: ["sdk_library/module-lib/framework-bluetooth.srcjar"],
94        current_api: "sdk_library/module-lib/framework-bluetooth.txt",
95        removed_api: "sdk_library/module-lib/framework-bluetooth-removed.txt",
96        annotations: "sdk_library/module-lib/framework-bluetooth_annotations.zip",
97        sdk_version: "module_current",
98    },
99}
100
101java_import {
102    name: "service-bluetooth",
103    visibility: ["//visibility:public"],
104    apex_available: ["com.android.btservices"],
105    licenses: ["btservices-module-sdk_Android-Apache-2.0"],
106    jars: ["java_systemserver_libs/snapshot/jars/are/invalid/service-bluetooth.jar"],
107    min_sdk_version: "33",
108}
109
110license {
111    name: "btservices-module-sdk_system_bt_license",
112    visibility: ["//visibility:private"],
113    license_kinds: [
114        "SPDX-license-identifier-Apache-2.0",
115        "SPDX-license-identifier-BSD",
116        "SPDX-license-identifier-MIT",
117        "legacy_unencumbered",
118    ],
119    license_text: ["licenses/packages/modules/Bluetooth/NOTICE"],
120}
121
122license {
123    name: "btservices-module-sdk_Android-Apache-2.0",
124    visibility: ["//visibility:private"],
125    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
126    license_text: ["licenses/build/soong/licenses/LICENSE"],
127}
128
129license {
130    name: "btservices-module-sdk_packages_apps_Bluetooth_license",
131    visibility: ["//visibility:private"],
132    license_kinds: [
133        "SPDX-license-identifier-Apache-2.0",
134        "SPDX-license-identifier-BSD",
135    ],
136}
137
138prebuilt_systemserverclasspath_fragment {
139    name: "com.android.btservices-systemserverclasspath-fragment",
140    visibility: ["//visibility:public"],
141    apex_available: ["com.android.btservices"],
142    licenses: ["btservices-module-sdk_system_bt_license"],
143    standalone_contents: ["service-bluetooth"],
144}
145