1// This is auto-generated. DO NOT EDIT.
2
3// Soong config variable stanza added by vendor/google/build/mainline_modules_sdks.py.
4soong_config_module_type_import {
5    from: "packages/modules/common/Android.bp",
6    module_types: [
7        "module_java_import",
8        "module_java_sdk_library_import",
9        "module_prebuilt_bootclasspath_fragment",
10        "module_prebuilt_systemserverclasspath_fragment",
11    ],
12}
13
14package {
15    // A default list here prevents the license LSC from adding its own list which would
16    // be unnecessary as every module in the sdk already has its own licenses property.
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20prebuilt_bootclasspath_fragment {
21    name: "tethering-module-sdk_com.android.tethering-bootclasspath-fragment@current",
22    sdk_member_name: "com.android.tethering-bootclasspath-fragment",
23    visibility: ["//visibility:public"],
24    apex_available: ["com.android.tethering"],
25    licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
26    contents: [
27        "tethering-module-sdk_framework-connectivity@current",
28        "tethering-module-sdk_framework-connectivity-t@current",
29        "tethering-module-sdk_framework-tethering@current",
30    ],
31    fragments: [
32        {
33            apex: "com.android.art",
34            module: "art-bootclasspath-fragment",
35        },
36    ],
37    hidden_api: {
38        unsupported: [
39            "hiddenapi/hiddenapi-unsupported.txt",
40            "hiddenapi/hiddenapi-unsupported-tiramisu.txt",
41        ],
42        max_target_r_low_priority: ["hiddenapi/hiddenapi-max-target-r-loprio.txt"],
43        max_target_o_low_priority: [
44            "hiddenapi/hiddenapi-max-target-o-low-priority.txt",
45            "hiddenapi/hiddenapi-max-target-o-low-priority-tiramisu.txt",
46        ],
47        annotation_flags: "hiddenapi/annotation-flags.csv",
48        metadata: "hiddenapi/metadata.csv",
49        index: "hiddenapi/index.csv",
50        signature_patterns: "hiddenapi/signature-patterns.csv",
51        filtered_stub_flags: "hiddenapi/filtered-stub-flags.csv",
52        filtered_flags: "hiddenapi/filtered-flags.csv",
53    },
54}
55
56module_prebuilt_bootclasspath_fragment {
57    name: "com.android.tethering-bootclasspath-fragment",
58    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
59    prefer: true,
60    soong_config_variables: {
61        module_build_from_source: {
62            prefer: false,
63        },
64    },
65    visibility: ["//visibility:public"],
66    apex_available: ["com.android.tethering"],
67    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
68    contents: [
69        "framework-connectivity",
70        "framework-connectivity-t",
71        "framework-tethering",
72    ],
73    fragments: [
74        {
75            apex: "com.android.art",
76            module: "art-bootclasspath-fragment",
77        },
78    ],
79    hidden_api: {
80        unsupported: [
81            "hiddenapi/hiddenapi-unsupported.txt",
82            "hiddenapi/hiddenapi-unsupported-tiramisu.txt",
83        ],
84        max_target_r_low_priority: ["hiddenapi/hiddenapi-max-target-r-loprio.txt"],
85        max_target_o_low_priority: [
86            "hiddenapi/hiddenapi-max-target-o-low-priority.txt",
87            "hiddenapi/hiddenapi-max-target-o-low-priority-tiramisu.txt",
88        ],
89        annotation_flags: "hiddenapi/annotation-flags.csv",
90        metadata: "hiddenapi/metadata.csv",
91        index: "hiddenapi/index.csv",
92        signature_patterns: "hiddenapi/signature-patterns.csv",
93        filtered_stub_flags: "hiddenapi/filtered-stub-flags.csv",
94        filtered_flags: "hiddenapi/filtered-flags.csv",
95    },
96}
97
98java_sdk_library_import {
99    name: "tethering-module-sdk_framework-connectivity@current",
100    sdk_member_name: "framework-connectivity",
101    visibility: ["//visibility:public"],
102    apex_available: ["com.android.tethering"],
103    licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
104    shared_library: false,
105    permitted_packages: ["android.net"],
106    public: {
107        jars: ["sdk_library/public/framework-connectivity-stubs.jar"],
108        stub_srcs: ["sdk_library/public/framework-connectivity.srcjar"],
109        current_api: "sdk_library/public/framework-connectivity.txt",
110        removed_api: "sdk_library/public/framework-connectivity-removed.txt",
111        annotations: "sdk_library/public/framework-connectivity_annotations.zip",
112        sdk_version: "module_current",
113    },
114    system: {
115        jars: ["sdk_library/system/framework-connectivity-stubs.jar"],
116        stub_srcs: ["sdk_library/system/framework-connectivity.srcjar"],
117        current_api: "sdk_library/system/framework-connectivity.txt",
118        removed_api: "sdk_library/system/framework-connectivity-removed.txt",
119        annotations: "sdk_library/system/framework-connectivity_annotations.zip",
120        sdk_version: "module_current",
121    },
122    module_lib: {
123        jars: ["sdk_library/module-lib/framework-connectivity-stubs.jar"],
124        stub_srcs: ["sdk_library/module-lib/framework-connectivity.srcjar"],
125        current_api: "sdk_library/module-lib/framework-connectivity.txt",
126        removed_api: "sdk_library/module-lib/framework-connectivity-removed.txt",
127        annotations: "sdk_library/module-lib/framework-connectivity_annotations.zip",
128        sdk_version: "module_current",
129    },
130}
131
132module_java_sdk_library_import {
133    name: "framework-connectivity",
134    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
135    prefer: true,
136    soong_config_variables: {
137        module_build_from_source: {
138            prefer: false,
139        },
140    },
141    visibility: ["//visibility:public"],
142    apex_available: ["com.android.tethering"],
143    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
144    shared_library: false,
145    permitted_packages: ["android.net"],
146    public: {
147        jars: ["sdk_library/public/framework-connectivity-stubs.jar"],
148        stub_srcs: ["sdk_library/public/framework-connectivity.srcjar"],
149        current_api: "sdk_library/public/framework-connectivity.txt",
150        removed_api: "sdk_library/public/framework-connectivity-removed.txt",
151        annotations: "sdk_library/public/framework-connectivity_annotations.zip",
152        sdk_version: "module_current",
153    },
154    system: {
155        jars: ["sdk_library/system/framework-connectivity-stubs.jar"],
156        stub_srcs: ["sdk_library/system/framework-connectivity.srcjar"],
157        current_api: "sdk_library/system/framework-connectivity.txt",
158        removed_api: "sdk_library/system/framework-connectivity-removed.txt",
159        annotations: "sdk_library/system/framework-connectivity_annotations.zip",
160        sdk_version: "module_current",
161    },
162    module_lib: {
163        jars: ["sdk_library/module-lib/framework-connectivity-stubs.jar"],
164        stub_srcs: ["sdk_library/module-lib/framework-connectivity.srcjar"],
165        current_api: "sdk_library/module-lib/framework-connectivity.txt",
166        removed_api: "sdk_library/module-lib/framework-connectivity-removed.txt",
167        annotations: "sdk_library/module-lib/framework-connectivity_annotations.zip",
168        sdk_version: "module_current",
169    },
170}
171
172java_sdk_library_import {
173    name: "tethering-module-sdk_framework-connectivity-t@current",
174    sdk_member_name: "framework-connectivity-t",
175    visibility: ["//visibility:public"],
176    apex_available: ["com.android.tethering"],
177    licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
178    shared_library: false,
179    permitted_packages: [
180        "android.app.usage",
181        "android.net",
182        "android.net.nsd",
183        "android.nearby",
184        "com.android.connectivity",
185        "com.android.nearby",
186    ],
187    public: {
188        jars: ["sdk_library/public/framework-connectivity-t-stubs.jar"],
189        stub_srcs: ["sdk_library/public/framework-connectivity-t.srcjar"],
190        current_api: "sdk_library/public/framework-connectivity-t.txt",
191        removed_api: "sdk_library/public/framework-connectivity-t-removed.txt",
192        annotations: "sdk_library/public/framework-connectivity-t_annotations.zip",
193        sdk_version: "module_current",
194    },
195    system: {
196        jars: ["sdk_library/system/framework-connectivity-t-stubs.jar"],
197        stub_srcs: ["sdk_library/system/framework-connectivity-t.srcjar"],
198        current_api: "sdk_library/system/framework-connectivity-t.txt",
199        removed_api: "sdk_library/system/framework-connectivity-t-removed.txt",
200        annotations: "sdk_library/system/framework-connectivity-t_annotations.zip",
201        sdk_version: "module_current",
202    },
203    module_lib: {
204        jars: ["sdk_library/module-lib/framework-connectivity-t-stubs.jar"],
205        stub_srcs: ["sdk_library/module-lib/framework-connectivity-t.srcjar"],
206        current_api: "sdk_library/module-lib/framework-connectivity-t.txt",
207        removed_api: "sdk_library/module-lib/framework-connectivity-t-removed.txt",
208        annotations: "sdk_library/module-lib/framework-connectivity-t_annotations.zip",
209        sdk_version: "module_current",
210    },
211}
212
213module_java_sdk_library_import {
214    name: "framework-connectivity-t",
215    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
216    prefer: true,
217    soong_config_variables: {
218        module_build_from_source: {
219            prefer: false,
220        },
221    },
222    visibility: ["//visibility:public"],
223    apex_available: ["com.android.tethering"],
224    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
225    shared_library: false,
226    permitted_packages: [
227        "android.app.usage",
228        "android.net",
229        "android.net.nsd",
230        "android.nearby",
231        "com.android.connectivity",
232        "com.android.nearby",
233    ],
234    public: {
235        jars: ["sdk_library/public/framework-connectivity-t-stubs.jar"],
236        stub_srcs: ["sdk_library/public/framework-connectivity-t.srcjar"],
237        current_api: "sdk_library/public/framework-connectivity-t.txt",
238        removed_api: "sdk_library/public/framework-connectivity-t-removed.txt",
239        annotations: "sdk_library/public/framework-connectivity-t_annotations.zip",
240        sdk_version: "module_current",
241    },
242    system: {
243        jars: ["sdk_library/system/framework-connectivity-t-stubs.jar"],
244        stub_srcs: ["sdk_library/system/framework-connectivity-t.srcjar"],
245        current_api: "sdk_library/system/framework-connectivity-t.txt",
246        removed_api: "sdk_library/system/framework-connectivity-t-removed.txt",
247        annotations: "sdk_library/system/framework-connectivity-t_annotations.zip",
248        sdk_version: "module_current",
249    },
250    module_lib: {
251        jars: ["sdk_library/module-lib/framework-connectivity-t-stubs.jar"],
252        stub_srcs: ["sdk_library/module-lib/framework-connectivity-t.srcjar"],
253        current_api: "sdk_library/module-lib/framework-connectivity-t.txt",
254        removed_api: "sdk_library/module-lib/framework-connectivity-t-removed.txt",
255        annotations: "sdk_library/module-lib/framework-connectivity-t_annotations.zip",
256        sdk_version: "module_current",
257    },
258}
259
260java_sdk_library_import {
261    name: "tethering-module-sdk_framework-tethering@current",
262    sdk_member_name: "framework-tethering",
263    visibility: ["//visibility:public"],
264    apex_available: ["com.android.tethering"],
265    licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
266    shared_library: false,
267    permitted_packages: ["android.net"],
268    public: {
269        jars: ["sdk_library/public/framework-tethering-stubs.jar"],
270        stub_srcs: ["sdk_library/public/framework-tethering.srcjar"],
271        current_api: "sdk_library/public/framework-tethering.txt",
272        removed_api: "sdk_library/public/framework-tethering-removed.txt",
273        annotations: "sdk_library/public/framework-tethering_annotations.zip",
274        sdk_version: "module_current",
275    },
276    system: {
277        jars: ["sdk_library/system/framework-tethering-stubs.jar"],
278        stub_srcs: ["sdk_library/system/framework-tethering.srcjar"],
279        current_api: "sdk_library/system/framework-tethering.txt",
280        removed_api: "sdk_library/system/framework-tethering-removed.txt",
281        annotations: "sdk_library/system/framework-tethering_annotations.zip",
282        sdk_version: "module_current",
283    },
284    module_lib: {
285        jars: ["sdk_library/module-lib/framework-tethering-stubs.jar"],
286        stub_srcs: ["sdk_library/module-lib/framework-tethering.srcjar"],
287        current_api: "sdk_library/module-lib/framework-tethering.txt",
288        removed_api: "sdk_library/module-lib/framework-tethering-removed.txt",
289        annotations: "sdk_library/module-lib/framework-tethering_annotations.zip",
290        sdk_version: "module_current",
291    },
292}
293
294module_java_sdk_library_import {
295    name: "framework-tethering",
296    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
297    prefer: true,
298    soong_config_variables: {
299        module_build_from_source: {
300            prefer: false,
301        },
302    },
303    visibility: ["//visibility:public"],
304    apex_available: ["com.android.tethering"],
305    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
306    shared_library: false,
307    permitted_packages: ["android.net"],
308    public: {
309        jars: ["sdk_library/public/framework-tethering-stubs.jar"],
310        stub_srcs: ["sdk_library/public/framework-tethering.srcjar"],
311        current_api: "sdk_library/public/framework-tethering.txt",
312        removed_api: "sdk_library/public/framework-tethering-removed.txt",
313        annotations: "sdk_library/public/framework-tethering_annotations.zip",
314        sdk_version: "module_current",
315    },
316    system: {
317        jars: ["sdk_library/system/framework-tethering-stubs.jar"],
318        stub_srcs: ["sdk_library/system/framework-tethering.srcjar"],
319        current_api: "sdk_library/system/framework-tethering.txt",
320        removed_api: "sdk_library/system/framework-tethering-removed.txt",
321        annotations: "sdk_library/system/framework-tethering_annotations.zip",
322        sdk_version: "module_current",
323    },
324    module_lib: {
325        jars: ["sdk_library/module-lib/framework-tethering-stubs.jar"],
326        stub_srcs: ["sdk_library/module-lib/framework-tethering.srcjar"],
327        current_api: "sdk_library/module-lib/framework-tethering.txt",
328        removed_api: "sdk_library/module-lib/framework-tethering-removed.txt",
329        annotations: "sdk_library/module-lib/framework-tethering_annotations.zip",
330        sdk_version: "module_current",
331    },
332}
333
334java_import {
335    name: "tethering-module-sdk_service-connectivity@current",
336    sdk_member_name: "service-connectivity",
337    visibility: ["//visibility:public"],
338    apex_available: ["com.android.tethering"],
339    licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
340    jars: ["java_systemserver_libs/snapshot/jars/are/invalid/service-connectivity.jar"],
341}
342
343module_java_import {
344    name: "service-connectivity",
345    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
346    prefer: true,
347    soong_config_variables: {
348        module_build_from_source: {
349            prefer: false,
350        },
351    },
352    visibility: ["//visibility:public"],
353    apex_available: ["com.android.tethering"],
354    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
355    jars: ["java_systemserver_libs/snapshot/jars/are/invalid/service-connectivity.jar"],
356}
357
358license {
359    name: "tethering-module-sdk_Android-Apache-2.0@current",
360    sdk_member_name: "Android-Apache-2.0",
361    visibility: ["//visibility:private"],
362    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
363    license_text: ["licenses/build/soong/licenses/LICENSE"],
364}
365
366license {
367    name: "tethering-module-sdk_Android-Apache-2.0",
368    visibility: ["//visibility:private"],
369    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
370    license_text: ["licenses/build/soong/licenses/LICENSE"],
371}
372
373prebuilt_systemserverclasspath_fragment {
374    name: "tethering-module-sdk_com.android.tethering-systemserverclasspath-fragment@current",
375    sdk_member_name: "com.android.tethering-systemserverclasspath-fragment",
376    visibility: ["//visibility:public"],
377    apex_available: ["com.android.tethering"],
378    licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
379    standalone_contents: ["tethering-module-sdk_service-connectivity@current"],
380}
381
382module_prebuilt_systemserverclasspath_fragment {
383    name: "com.android.tethering-systemserverclasspath-fragment",
384    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
385    prefer: true,
386    soong_config_variables: {
387        module_build_from_source: {
388            prefer: false,
389        },
390    },
391    visibility: ["//visibility:public"],
392    apex_available: ["com.android.tethering"],
393    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
394    standalone_contents: ["service-connectivity"],
395}
396
397sdk_snapshot {
398    name: "tethering-module-sdk@current",
399    visibility: ["//visibility:public"],
400    bootclasspath_fragments: ["tethering-module-sdk_com.android.tethering-bootclasspath-fragment@current"],
401    java_sdk_libs: [
402        "tethering-module-sdk_framework-connectivity@current",
403        "tethering-module-sdk_framework-connectivity-t@current",
404        "tethering-module-sdk_framework-tethering@current",
405    ],
406    java_systemserver_libs: ["tethering-module-sdk_service-connectivity@current"],
407    systemserverclasspath_fragments: ["tethering-module-sdk_com.android.tethering-systemserverclasspath-fragment@current"],
408}
409