1// This is auto-generated. DO NOT EDIT.
2
3// blueprint rules added by vendor/google/build/mainline_modules_sdks.py
4// to support coexistence.
5blueprint_package_includes {
6    match_all: ["com.android.mainline"]
7}
8
9package {
10    // A default list here prevents the license LSC from adding its own list which would
11    // be unnecessary as every module in the sdk already has its own licenses property.
12    default_applicable_licenses: ["Android-Apache-2.0"],
13}
14
15prebuilt_bootclasspath_fragment {
16    name: "com.android.tethering-bootclasspath-fragment",
17    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
18    use_source_config_var: {
19        config_namespace: "ANDROID",
20        var_name: "module_build_from_source",
21    },
22    visibility: ["//visibility:public"],
23    apex_available: ["com.android.tethering"],
24    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
25    contents: [
26        "framework-connectivity",
27        "framework-connectivity-t",
28        "framework-tethering",
29    ],
30    fragments: [
31        {
32            apex: "com.android.art",
33            module: "art-bootclasspath-fragment",
34        },
35    ],
36    hidden_api: {
37        unsupported: [
38            "hiddenapi/hiddenapi-unsupported.txt",
39            "hiddenapi/hiddenapi-unsupported-tiramisu.txt",
40        ],
41        max_target_r_low_priority: ["hiddenapi/hiddenapi-max-target-r-loprio.txt"],
42        max_target_o_low_priority: [
43            "hiddenapi/hiddenapi-max-target-o-low-priority.txt",
44            "hiddenapi/hiddenapi-max-target-o-low-priority-tiramisu.txt",
45        ],
46        annotation_flags: "hiddenapi/annotation-flags.csv",
47        metadata: "hiddenapi/metadata.csv",
48        index: "hiddenapi/index.csv",
49        signature_patterns: "hiddenapi/signature-patterns.csv",
50        filtered_stub_flags: "hiddenapi/filtered-stub-flags.csv",
51        filtered_flags: "hiddenapi/filtered-flags.csv",
52    },
53}
54
55prebuilt_platform_compat_config {
56    name: "connectivity-platform-compat-config",
57    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
58    use_source_config_var: {
59        config_namespace: "ANDROID",
60        var_name: "module_build_from_source",
61    },
62    visibility: ["//visibility:public"],
63    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
64    metadata: "compat_configs/connectivity-platform-compat-config/connectivity-platform-compat-config_meta.xml",
65}
66
67java_sdk_library_import {
68    name: "framework-connectivity",
69    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
70    use_source_config_var: {
71        config_namespace: "ANDROID",
72        var_name: "module_build_from_source",
73    },
74    visibility: ["//visibility:public"],
75    apex_available: ["com.android.tethering"],
76    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
77    shared_library: false,
78    permitted_packages: ["android.net"],
79    public: {
80        jars: ["sdk_library/public/framework-connectivity-stubs.jar"],
81        stub_srcs: ["sdk_library/public/framework-connectivity.srcjar"],
82        current_api: "sdk_library/public/framework-connectivity.txt",
83        removed_api: "sdk_library/public/framework-connectivity-removed.txt",
84        annotations: "sdk_library/public/framework-connectivity_annotations.zip",
85        sdk_version: "module_current",
86    },
87    system: {
88        jars: ["sdk_library/system/framework-connectivity-stubs.jar"],
89        stub_srcs: ["sdk_library/system/framework-connectivity.srcjar"],
90        current_api: "sdk_library/system/framework-connectivity.txt",
91        removed_api: "sdk_library/system/framework-connectivity-removed.txt",
92        annotations: "sdk_library/system/framework-connectivity_annotations.zip",
93        sdk_version: "module_current",
94    },
95    module_lib: {
96        jars: ["sdk_library/module-lib/framework-connectivity-stubs.jar"],
97        stub_srcs: ["sdk_library/module-lib/framework-connectivity.srcjar"],
98        current_api: "sdk_library/module-lib/framework-connectivity.txt",
99        removed_api: "sdk_library/module-lib/framework-connectivity-removed.txt",
100        annotations: "sdk_library/module-lib/framework-connectivity_annotations.zip",
101        sdk_version: "module_current",
102    },
103}
104
105java_sdk_library_import {
106    name: "framework-connectivity-t",
107    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
108    use_source_config_var: {
109        config_namespace: "ANDROID",
110        var_name: "module_build_from_source",
111    },
112    visibility: ["//visibility:public"],
113    apex_available: ["com.android.tethering"],
114    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
115    shared_library: false,
116    permitted_packages: [
117        "android.app.usage",
118        "android.net",
119        "android.net.nsd",
120        "android.nearby",
121        "com.android.connectivity",
122        "com.android.nearby",
123    ],
124    public: {
125        jars: ["sdk_library/public/framework-connectivity-t-stubs.jar"],
126        stub_srcs: ["sdk_library/public/framework-connectivity-t.srcjar"],
127        current_api: "sdk_library/public/framework-connectivity-t.txt",
128        removed_api: "sdk_library/public/framework-connectivity-t-removed.txt",
129        annotations: "sdk_library/public/framework-connectivity-t_annotations.zip",
130        sdk_version: "module_current",
131    },
132    system: {
133        jars: ["sdk_library/system/framework-connectivity-t-stubs.jar"],
134        stub_srcs: ["sdk_library/system/framework-connectivity-t.srcjar"],
135        current_api: "sdk_library/system/framework-connectivity-t.txt",
136        removed_api: "sdk_library/system/framework-connectivity-t-removed.txt",
137        annotations: "sdk_library/system/framework-connectivity-t_annotations.zip",
138        sdk_version: "module_current",
139    },
140    module_lib: {
141        jars: ["sdk_library/module-lib/framework-connectivity-t-stubs.jar"],
142        stub_srcs: ["sdk_library/module-lib/framework-connectivity-t.srcjar"],
143        current_api: "sdk_library/module-lib/framework-connectivity-t.txt",
144        removed_api: "sdk_library/module-lib/framework-connectivity-t-removed.txt",
145        annotations: "sdk_library/module-lib/framework-connectivity-t_annotations.zip",
146        sdk_version: "module_current",
147    },
148}
149
150java_sdk_library_import {
151    name: "framework-tethering",
152    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
153    use_source_config_var: {
154        config_namespace: "ANDROID",
155        var_name: "module_build_from_source",
156    },
157    visibility: ["//visibility:public"],
158    apex_available: ["com.android.tethering"],
159    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
160    shared_library: false,
161    permitted_packages: ["android.net"],
162    public: {
163        jars: ["sdk_library/public/framework-tethering-stubs.jar"],
164        stub_srcs: ["sdk_library/public/framework-tethering.srcjar"],
165        current_api: "sdk_library/public/framework-tethering.txt",
166        removed_api: "sdk_library/public/framework-tethering-removed.txt",
167        annotations: "sdk_library/public/framework-tethering_annotations.zip",
168        sdk_version: "module_current",
169    },
170    system: {
171        jars: ["sdk_library/system/framework-tethering-stubs.jar"],
172        stub_srcs: ["sdk_library/system/framework-tethering.srcjar"],
173        current_api: "sdk_library/system/framework-tethering.txt",
174        removed_api: "sdk_library/system/framework-tethering-removed.txt",
175        annotations: "sdk_library/system/framework-tethering_annotations.zip",
176        sdk_version: "module_current",
177    },
178    module_lib: {
179        jars: ["sdk_library/module-lib/framework-tethering-stubs.jar"],
180        stub_srcs: ["sdk_library/module-lib/framework-tethering.srcjar"],
181        current_api: "sdk_library/module-lib/framework-tethering.txt",
182        removed_api: "sdk_library/module-lib/framework-tethering-removed.txt",
183        annotations: "sdk_library/module-lib/framework-tethering_annotations.zip",
184        sdk_version: "module_current",
185    },
186}
187
188java_import {
189    name: "service-connectivity",
190    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
191    use_source_config_var: {
192        config_namespace: "ANDROID",
193        var_name: "module_build_from_source",
194    },
195    visibility: ["//visibility:public"],
196    apex_available: ["com.android.tethering"],
197    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
198    jars: ["java_systemserver_libs/snapshot/jars/are/invalid/service-connectivity.jar"],
199    min_sdk_version: "30",
200}
201
202license {
203    name: "tethering-module-sdk_Android-Apache-2.0",
204    visibility: ["//visibility:private"],
205    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
206    license_text: ["licenses/build/soong/licenses/LICENSE"],
207}
208
209cc_prebuilt_library_shared {
210    name: "libcom.android.tethering.dns_helper",
211    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
212    use_source_config_var: {
213        config_namespace: "ANDROID",
214        var_name: "module_build_from_source",
215    },
216    visibility: ["//visibility:public"],
217    apex_available: ["com.android.tethering"],
218    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
219    compile_multilib: "both",
220    export_include_dirs: ["include/packages/modules/Connectivity/DnsResolver/include"],
221    sanitize: {
222        cfi: true,
223    },
224    stubs: {
225        versions: [
226            "1",
227            "current",
228        ],
229    },
230    arch: {
231        arm64: {
232            srcs: ["arm64/lib/libcom.android.tethering.dns_helper.so"],
233        },
234        x86_64: {
235            srcs: ["x86_64/lib/libcom.android.tethering.dns_helper.so"],
236        },
237        arm: {
238            srcs: ["arm/lib/libcom.android.tethering.dns_helper.so"],
239        },
240        x86: {
241            srcs: ["x86/lib/libcom.android.tethering.dns_helper.so"],
242        },
243    },
244}
245
246cc_prebuilt_library_shared {
247    name: "libnetd_updatable",
248    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
249    use_source_config_var: {
250        config_namespace: "ANDROID",
251        var_name: "module_build_from_source",
252    },
253    visibility: ["//visibility:public"],
254    apex_available: ["com.android.tethering"],
255    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
256    compile_multilib: "both",
257    export_include_dirs: ["include/packages/modules/Connectivity/netd/include"],
258    sanitize: {
259        cfi: true,
260    },
261    stubs: {
262        versions: [
263            "1",
264            "current",
265        ],
266    },
267    arch: {
268        arm64: {
269            srcs: ["arm64/lib/libnetd_updatable.so"],
270        },
271        x86_64: {
272            srcs: ["x86_64/lib/libnetd_updatable.so"],
273        },
274        arm: {
275            srcs: ["arm/lib/libnetd_updatable.so"],
276        },
277        x86: {
278            srcs: ["x86/lib/libnetd_updatable.so"],
279        },
280    },
281}
282
283prebuilt_systemserverclasspath_fragment {
284    name: "com.android.tethering-systemserverclasspath-fragment",
285    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
286    use_source_config_var: {
287        config_namespace: "ANDROID",
288        var_name: "module_build_from_source",
289    },
290    visibility: ["//visibility:public"],
291    apex_available: ["com.android.tethering"],
292    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
293    standalone_contents: ["service-connectivity"],
294}
295