summaryrefslogtreecommitdiff
path: root/current/Android.bp
blob: f7282a9830b03c55ff9cbaf21dc2ba2c4067378e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
// This is auto-generated. DO NOT EDIT.

package {
    // A default list here prevents the license LSC from adding its own list which would
    // be unnecessary as every module in the sdk already has its own licenses property.
    default_applicable_licenses: ["Android-Apache-2.0"],
}

soong_config_module_type_import {
    from: "packages/modules/common/Android.bp",
    module_types: [
        "module_java_sdk_library_import",
        "module_prebuilt_bootclasspath_fragment",
    ],
}

prebuilt_bootclasspath_fragment {
    name: "tethering-module-sdk_com.android.tethering-bootclasspath-fragment@current",
    sdk_member_name: "com.android.tethering-bootclasspath-fragment",
    visibility: ["//visibility:public"],
    apex_available: ["com.android.tethering"],
    licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
    contents: [
        "tethering-module-sdk_framework-connectivity@current",
        "tethering-module-sdk_framework-tethering@current",
    ],
    hidden_api: {
        unsupported: ["hiddenapi/hiddenapi-unsupported.txt"],
        max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"],
        stub_flags: "hiddenapi/stub-flags.csv",
        annotation_flags: "hiddenapi/annotation-flags.csv",
        metadata: "hiddenapi/metadata.csv",
        index: "hiddenapi/index.csv",
        all_flags: "hiddenapi/all-flags.csv",
    },
}

module_prebuilt_bootclasspath_fragment {
    name: "com.android.tethering-bootclasspath-fragment",
    prefer: true,
    soong_config_variables: {
        module_build_from_source: {
            prefer: false,
        },
    },
    visibility: ["//visibility:public"],
    apex_available: ["com.android.tethering"],
    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
    contents: [
        "framework-connectivity",
        "framework-tethering",
    ],
    hidden_api: {
        unsupported: ["hiddenapi/hiddenapi-unsupported.txt"],
        max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"],
        stub_flags: "hiddenapi/stub-flags.csv",
        annotation_flags: "hiddenapi/annotation-flags.csv",
        metadata: "hiddenapi/metadata.csv",
        index: "hiddenapi/index.csv",
        all_flags: "hiddenapi/all-flags.csv",
    },
}

java_sdk_library_import {
    name: "tethering-module-sdk_framework-connectivity@current",
    sdk_member_name: "framework-connectivity",
    visibility: ["//visibility:public"],
    apex_available: ["com.android.tethering"],
    licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
    shared_library: false,
    permitted_packages: ["android.net"],
    public: {
        jars: ["sdk_library/public/framework-connectivity-stubs.jar"],
        stub_srcs: ["sdk_library/public/framework-connectivity.srcjar"],
        current_api: "sdk_library/public/framework-connectivity.txt",
        removed_api: "sdk_library/public/framework-connectivity-removed.txt",
        sdk_version: "module_current",
    },
    system: {
        jars: ["sdk_library/system/framework-connectivity-stubs.jar"],
        stub_srcs: ["sdk_library/system/framework-connectivity.srcjar"],
        current_api: "sdk_library/system/framework-connectivity.txt",
        removed_api: "sdk_library/system/framework-connectivity-removed.txt",
        sdk_version: "module_current",
    },
    module_lib: {
        jars: ["sdk_library/module-lib/framework-connectivity-stubs.jar"],
        stub_srcs: ["sdk_library/module-lib/framework-connectivity.srcjar"],
        current_api: "sdk_library/module-lib/framework-connectivity.txt",
        removed_api: "sdk_library/module-lib/framework-connectivity-removed.txt",
        sdk_version: "module_current",
    },
}

module_java_sdk_library_import {
    name: "framework-connectivity",
    prefer: true,
    soong_config_variables: {
        module_build_from_source: {
            prefer: false,
        },
    },
    visibility: ["//visibility:public"],
    apex_available: ["com.android.tethering"],
    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
    shared_library: false,
    permitted_packages: ["android.net"],
    public: {
        jars: ["sdk_library/public/framework-connectivity-stubs.jar"],
        stub_srcs: ["sdk_library/public/framework-connectivity.srcjar"],
        current_api: "sdk_library/public/framework-connectivity.txt",
        removed_api: "sdk_library/public/framework-connectivity-removed.txt",
        sdk_version: "module_current",
    },
    system: {
        jars: ["sdk_library/system/framework-connectivity-stubs.jar"],
        stub_srcs: ["sdk_library/system/framework-connectivity.srcjar"],
        current_api: "sdk_library/system/framework-connectivity.txt",
        removed_api: "sdk_library/system/framework-connectivity-removed.txt",
        sdk_version: "module_current",
    },
    module_lib: {
        jars: ["sdk_library/module-lib/framework-connectivity-stubs.jar"],
        stub_srcs: ["sdk_library/module-lib/framework-connectivity.srcjar"],
        current_api: "sdk_library/module-lib/framework-connectivity.txt",
        removed_api: "sdk_library/module-lib/framework-connectivity-removed.txt",
        sdk_version: "module_current",
    },
}

java_sdk_library_import {
    name: "tethering-module-sdk_framework-tethering@current",
    sdk_member_name: "framework-tethering",
    visibility: ["//visibility:public"],
    apex_available: ["com.android.tethering"],
    licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
    shared_library: false,
    permitted_packages: ["android.net"],
    public: {
        jars: ["sdk_library/public/framework-tethering-stubs.jar"],
        stub_srcs: ["sdk_library/public/framework-tethering.srcjar"],
        current_api: "sdk_library/public/framework-tethering.txt",
        removed_api: "sdk_library/public/framework-tethering-removed.txt",
        sdk_version: "module_current",
    },
    system: {
        jars: ["sdk_library/system/framework-tethering-stubs.jar"],
        stub_srcs: ["sdk_library/system/framework-tethering.srcjar"],
        current_api: "sdk_library/system/framework-tethering.txt",
        removed_api: "sdk_library/system/framework-tethering-removed.txt",
        sdk_version: "module_current",
    },
    module_lib: {
        jars: ["sdk_library/module-lib/framework-tethering-stubs.jar"],
        stub_srcs: ["sdk_library/module-lib/framework-tethering.srcjar"],
        current_api: "sdk_library/module-lib/framework-tethering.txt",
        removed_api: "sdk_library/module-lib/framework-tethering-removed.txt",
        sdk_version: "module_current",
    },
}

module_java_sdk_library_import {
    name: "framework-tethering",
    prefer: false,
    soong_config_variables: {
        module_build_from_source: {
            prefer: false,
        },
    },
    visibility: ["//visibility:public"],
    apex_available: ["com.android.tethering"],
    licenses: ["tethering-module-sdk_Android-Apache-2.0"],
    shared_library: false,
    permitted_packages: ["android.net"],
    public: {
        jars: ["sdk_library/public/framework-tethering-stubs.jar"],
        stub_srcs: ["sdk_library/public/framework-tethering.srcjar"],
        current_api: "sdk_library/public/framework-tethering.txt",
        removed_api: "sdk_library/public/framework-tethering-removed.txt",
        sdk_version: "module_current",
    },
    system: {
        jars: ["sdk_library/system/framework-tethering-stubs.jar"],
        stub_srcs: ["sdk_library/system/framework-tethering.srcjar"],
        current_api: "sdk_library/system/framework-tethering.txt",
        removed_api: "sdk_library/system/framework-tethering-removed.txt",
        sdk_version: "module_current",
    },
    module_lib: {
        jars: ["sdk_library/module-lib/framework-tethering-stubs.jar"],
        stub_srcs: ["sdk_library/module-lib/framework-tethering.srcjar"],
        current_api: "sdk_library/module-lib/framework-tethering.txt",
        removed_api: "sdk_library/module-lib/framework-tethering-removed.txt",
        sdk_version: "module_current",
    },
}

license {
    name: "tethering-module-sdk_Android-Apache-2.0@current",
    sdk_member_name: "Android-Apache-2.0",
    visibility: ["//visibility:private"],
    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
    license_text: ["licenses/build/soong/licenses/LICENSE"],
}

license {
    name: "tethering-module-sdk_Android-Apache-2.0",
    visibility: ["//visibility:private"],
    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
    license_text: ["licenses/build/soong/licenses/LICENSE"],
}

sdk_snapshot {
    name: "tethering-module-sdk@current",
    visibility: ["//visibility:public"],
    bootclasspath_fragments: ["tethering-module-sdk_com.android.tethering-bootclasspath-fragment@current"],
    java_sdk_libs: [
        "tethering-module-sdk_framework-connectivity@current",
        "tethering-module-sdk_framework-tethering@current",
    ],
}