• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: "bt-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.bt-bootclasspath-fragment",
21    visibility: ["//visibility:public"],
22    apex_available: ["com.android.bt"],
23    licenses: ["bt-module-sdk_Android-Apache-2.0"],
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        annotation_flags: "hiddenapi/annotation-flags.csv",
35        metadata: "hiddenapi/metadata.csv",
36        index: "hiddenapi/index.csv",
37        signature_patterns: "hiddenapi/signature-patterns.csv",
38        filtered_stub_flags: "hiddenapi/filtered-stub-flags.csv",
39        filtered_flags: "hiddenapi/filtered-flags.csv",
40    },
41}
42
43prebuilt_platform_compat_config {
44    name: "bluetooth-compat-config",
45    visibility: ["//visibility:public"],
46    licenses: ["bt-module-sdk_Android-Apache-2.0"],
47    metadata: "compat_configs/bluetooth-compat-config/bluetooth-compat-config_meta.xml",
48}
49
50prebuilt_platform_compat_config {
51    name: "bluetoothapk-platform-compat-config",
52    visibility: ["//visibility:public"],
53    licenses: ["bt-module-sdk_Android-Apache-2.0"],
54    metadata: "compat_configs/bluetoothapk-platform-compat-config/bluetoothapk-platform-compat-config_meta.xml",
55}
56
57prebuilt_platform_compat_config {
58    name: "framework-bluetooth-compat-config",
59    visibility: ["//visibility:public"],
60    licenses: ["bt-module-sdk_Android-Apache-2.0"],
61    metadata: "compat_configs/framework-bluetooth-compat-config/framework-bluetooth-compat-config_meta.xml",
62}
63
64java_sdk_library_import {
65    name: "framework-bluetooth",
66    visibility: ["//visibility:public"],
67    apex_available: ["com.android.bt"],
68    licenses: ["bt-module-sdk_Android-Apache-2.0"],
69    shared_library: false,
70    permitted_packages: [
71        "android.bluetooth",
72        "com.android.bluetooth.jarjar",
73    ],
74    public: {
75        jars: ["sdk_library/public/framework-bluetooth-stubs.jar"],
76        stub_srcs: ["sdk_library/public/framework-bluetooth.srcjar"],
77        current_api: "sdk_library/public/framework-bluetooth.txt",
78        removed_api: "sdk_library/public/framework-bluetooth-removed.txt",
79        annotations: "sdk_library/public/framework-bluetooth_annotations.zip",
80        sdk_version: "module_current",
81    },
82    system: {
83        jars: ["sdk_library/system/framework-bluetooth-stubs.jar"],
84        stub_srcs: ["sdk_library/system/framework-bluetooth.srcjar"],
85        current_api: "sdk_library/system/framework-bluetooth.txt",
86        removed_api: "sdk_library/system/framework-bluetooth-removed.txt",
87        annotations: "sdk_library/system/framework-bluetooth_annotations.zip",
88        sdk_version: "module_current",
89    },
90    module_lib: {
91        jars: ["sdk_library/module-lib/framework-bluetooth-stubs.jar"],
92        stub_srcs: ["sdk_library/module-lib/framework-bluetooth.srcjar"],
93        current_api: "sdk_library/module-lib/framework-bluetooth.txt",
94        removed_api: "sdk_library/module-lib/framework-bluetooth-removed.txt",
95        annotations: "sdk_library/module-lib/framework-bluetooth_annotations.zip",
96        sdk_version: "module_current",
97    },
98}
99
100java_import {
101    name: "service-bluetooth",
102    visibility: ["//visibility:public"],
103    apex_available: ["com.android.bt"],
104    licenses: ["bt-module-sdk_Android-Apache-2.0"],
105    jars: ["java_systemserver_libs/snapshot/jars/are/invalid/service-bluetooth.jar"],
106    min_sdk_version: "33",
107}
108
109license {
110    name: "bt-module-sdk_Android-Apache-2.0",
111    visibility: ["//visibility:private"],
112    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
113    license_text: ["licenses/build/soong/licenses/LICENSE"],
114}
115
116prebuilt_systemserverclasspath_fragment {
117    name: "com.android.bt-systemserverclasspath-fragment",
118    visibility: ["//visibility:public"],
119    apex_available: ["com.android.bt"],
120    licenses: ["bt-module-sdk_Android-Apache-2.0"],
121    standalone_contents: ["service-bluetooth"],
122}
123