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: "configinfrastructure-sdk.contributions",
11    contents: [
12        "prebuilt_framework-configinfrastructure",
13        "prebuilt_service-configinfrastructure",
14    ],
15}
16
17prebuilt_bootclasspath_fragment {
18    name: "com.android.configinfrastructure-bootclasspath-fragment",
19    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "configinfrastructure_module" is true.
20    use_source_config_var: {
21        config_namespace: "configinfrastructure_module",
22        var_name: "source_build",
23    },
24    visibility: ["//visibility:public"],
25    apex_available: ["com.android.configinfrastructure"],
26    licenses: ["configinfrastructure-sdk_Android-Apache-2.0"],
27    contents: ["framework-configinfrastructure"],
28    fragments: [
29        {
30            apex: "com.android.art",
31            module: "art-bootclasspath-fragment",
32        },
33    ],
34    hidden_api: {
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
44java_sdk_library_import {
45    name: "framework-configinfrastructure",
46    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "configinfrastructure_module" is true.
47    use_source_config_var: {
48        config_namespace: "configinfrastructure_module",
49        var_name: "source_build",
50    },
51    visibility: ["//visibility:public"],
52    apex_available: ["com.android.configinfrastructure"],
53    licenses: ["configinfrastructure-sdk_Android-Apache-2.0"],
54    shared_library: false,
55    permitted_packages: [
56        "android.provider",
57        "android.provider.aidl",
58    ],
59    public: {
60        jars: ["sdk_library/public/framework-configinfrastructure-stubs.jar"],
61        stub_srcs: ["sdk_library/public/framework-configinfrastructure.srcjar"],
62        current_api: "sdk_library/public/framework-configinfrastructure.txt",
63        removed_api: "sdk_library/public/framework-configinfrastructure-removed.txt",
64        annotations: "sdk_library/public/framework-configinfrastructure_annotations.zip",
65        sdk_version: "module_current",
66    },
67    system: {
68        jars: ["sdk_library/system/framework-configinfrastructure-stubs.jar"],
69        stub_srcs: ["sdk_library/system/framework-configinfrastructure.srcjar"],
70        current_api: "sdk_library/system/framework-configinfrastructure.txt",
71        removed_api: "sdk_library/system/framework-configinfrastructure-removed.txt",
72        annotations: "sdk_library/system/framework-configinfrastructure_annotations.zip",
73        sdk_version: "module_current",
74    },
75    module_lib: {
76        jars: ["sdk_library/module-lib/framework-configinfrastructure-stubs.jar"],
77        stub_srcs: ["sdk_library/module-lib/framework-configinfrastructure.srcjar"],
78        current_api: "sdk_library/module-lib/framework-configinfrastructure.txt",
79        removed_api: "sdk_library/module-lib/framework-configinfrastructure-removed.txt",
80        annotations: "sdk_library/module-lib/framework-configinfrastructure_annotations.zip",
81        sdk_version: "module_current",
82    },
83}
84
85java_sdk_library_import {
86    name: "service-configinfrastructure",
87    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "configinfrastructure_module" is true.
88    use_source_config_var: {
89        config_namespace: "configinfrastructure_module",
90        var_name: "source_build",
91    },
92    visibility: ["//visibility:public"],
93    apex_available: ["com.android.configinfrastructure"],
94    licenses: ["configinfrastructure-sdk_Android-Apache-2.0"],
95    shared_library: false,
96    permitted_packages: [
97        "android.provider",
98        "com.android.server.deviceconfig",
99    ],
100    public: {
101        jars: ["sdk_library/public/service-configinfrastructure-stubs.jar"],
102        stub_srcs: ["sdk_library/public/service-configinfrastructure.srcjar"],
103        current_api: "sdk_library/public/service-configinfrastructure.txt",
104        removed_api: "sdk_library/public/service-configinfrastructure-removed.txt",
105        annotations: "sdk_library/public/service-configinfrastructure_annotations.zip",
106        sdk_version: "module_current",
107    },
108    system_server: {
109        jars: ["sdk_library/system-server/service-configinfrastructure-stubs.jar"],
110        stub_srcs: ["sdk_library/system-server/service-configinfrastructure.srcjar"],
111        current_api: "sdk_library/system-server/service-configinfrastructure.txt",
112        removed_api: "sdk_library/system-server/service-configinfrastructure-removed.txt",
113        annotations: "sdk_library/system-server/service-configinfrastructure_annotations.zip",
114        sdk_version: "system_server_current",
115    },
116}
117
118license {
119    name: "configinfrastructure-sdk_Android-Apache-2.0",
120    visibility: ["//visibility:private"],
121    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
122    license_text: ["licenses/build/soong/licenses/LICENSE"],
123}
124
125prebuilt_systemserverclasspath_fragment {
126    name: "com.android.configinfrastructure-systemserverclasspath-fragment",
127    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "configinfrastructure_module" is true.
128    use_source_config_var: {
129        config_namespace: "configinfrastructure_module",
130        var_name: "source_build",
131    },
132    visibility: ["//visibility:public"],
133    apex_available: ["com.android.configinfrastructure"],
134    licenses: ["configinfrastructure-sdk_Android-Apache-2.0"],
135    contents: ["service-configinfrastructure"],
136}
137