xref: /aosp_15_r20/system/sepolicy/apex/Android.bp (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1// Copyright (C) 2019 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    // http://go/android-license-faq
17    // A large-scale-change added 'default_applicable_licenses' to import
18    // the below license kinds from "system_sepolicy_license":
19    //   legacy_unencumbered
20    default_applicable_licenses: ["system_sepolicy_license"],
21}
22
23// TODO(b/236681553): Remove com.android.bluetooth-file_contexts
24
25filegroup {
26    name: "apex.test-file_contexts",
27    srcs: [
28        "apex.test-file_contexts",
29    ],
30}
31
32filegroup {
33    name: "com.android.adbd-file_contexts",
34    srcs: [
35        "com.android.adbd-file_contexts",
36    ],
37}
38
39filegroup {
40    name: "com.android.sdkext-file_contexts",
41    srcs: [
42        "com.android.sdkext-file_contexts",
43    ],
44}
45
46filegroup {
47    name: "com.android.art-file_contexts",
48    srcs: [
49        "com.android.art-file_contexts",
50    ],
51}
52
53filegroup {
54    name: "com.android.art.debug-file_contexts",
55    srcs: [
56        "com.android.art.debug-file_contexts",
57    ],
58}
59
60filegroup {
61    name: "com.android.bootanimation-file_contexts",
62    srcs: [
63        "com.android.bootanimation-file_contexts",
64    ],
65}
66
67filegroup {
68    name: "com.android.cellbroadcast-file_contexts",
69    srcs: [
70        "com.android.cellbroadcast-file_contexts",
71    ],
72}
73
74filegroup {
75    name: "com.android.compos-file_contexts",
76    srcs: [
77        "com.android.compos-file_contexts",
78    ],
79}
80
81filegroup {
82    name: "com.android.conscrypt-file_contexts",
83    srcs: [
84        "com.android.conscrypt-file_contexts",
85    ],
86}
87
88filegroup {
89    name: "com.android.crashrecovery-file_contexts",
90    srcs: [
91        "com.android.crashrecovery-file_contexts",
92    ],
93}
94
95filegroup {
96    name: "com.android.federatedcompute-file_contexts",
97    srcs: [
98        "com.android.federatedcompute-file_contexts",
99    ],
100}
101
102filegroup {
103    name: "com.android.geotz-file_contexts",
104    srcs: [
105        "com.android.geotz-file_contexts",
106    ],
107}
108
109filegroup {
110    name: "com.android.gki-file_contexts",
111    srcs: [
112        "com.android.gki-file_contexts",
113    ],
114}
115
116filegroup {
117    name: "com.android.ipsec-file_contexts",
118    srcs: [
119        "com.android.ipsec-file_contexts",
120    ],
121}
122
123filegroup {
124    name: "com.android.i18n-file_contexts",
125    srcs: [
126        "com.android.i18n-file_contexts",
127    ],
128}
129
130filegroup {
131    name: "com.android.media-file_contexts",
132    srcs: [
133        "com.android.media-file_contexts",
134    ],
135}
136
137filegroup {
138    name: "com.android.mediaprovider-file_contexts",
139    srcs: [
140        "com.android.mediaprovider-file_contexts",
141    ],
142}
143
144filegroup {
145    name: "com.android.media.swcodec-file_contexts",
146    srcs: [
147        "com.android.media.swcodec-file_contexts",
148    ],
149}
150
151filegroup {
152    name: "com.android.neuralnetworks-file_contexts",
153    srcs: [
154        "com.android.neuralnetworks-file_contexts",
155    ],
156}
157
158filegroup {
159    name: "com.android.nfcservices-file_contexts",
160    srcs: [
161        "com.android.nfcservices-file_contexts",
162    ],
163}
164
165filegroup {
166    name: "com.android.os.statsd-file_contexts",
167    srcs: [
168        "com.android.os.statsd-file_contexts",
169    ],
170}
171
172filegroup {
173    name: "com.android.permission-file_contexts",
174    srcs: [
175        "com.android.permission-file_contexts",
176    ],
177}
178
179filegroup {
180    name: "com.android.resolv-file_contexts",
181    srcs: [
182        "com.android.resolv-file_contexts",
183    ],
184}
185
186filegroup {
187    name: "com.android.runtime-file_contexts",
188    srcs: [
189        "com.android.runtime-file_contexts",
190    ],
191}
192
193filegroup {
194    name: "com.android.scheduling-file_contexts",
195    srcs: [
196        "com.android.scheduling-file_contexts",
197    ],
198}
199
200filegroup {
201    name: "com.android.tzdata-file_contexts",
202    srcs: [
203        "com.android.tzdata-file_contexts",
204    ],
205}
206
207filegroup {
208    name: "com.android.uwb-file_contexts",
209    srcs: [
210        "com.android.uwb-file_contexts",
211    ],
212}
213
214file_contexts {
215    name: "com.android.virt-file_contexts",
216    defaults: ["contexts_flags_defaults"],
217    srcs: ["com.android.virt-file_contexts"],
218}
219
220filegroup {
221    name: "com.android.vndk-file_contexts",
222    srcs: [
223        "com.android.vndk-file_contexts",
224    ],
225}
226
227filegroup {
228    name: "com.android.wifi-file_contexts",
229    srcs: [
230        "com.android.wifi-file_contexts",
231    ],
232}
233
234filegroup {
235    name: "com.android.tethering-file_contexts",
236    srcs: [
237        "com.android.tethering-file_contexts",
238    ],
239}
240
241filegroup {
242    name: "com.android.extservices-file_contexts",
243    srcs: [
244        "com.android.extservices-file_contexts",
245    ],
246}
247
248filegroup {
249    name: "com.android.adservices-file_contexts",
250    srcs: [
251        "com.android.adservices-file_contexts",
252    ],
253}
254
255filegroup {
256    name: "com.android.car.framework-file_contexts",
257    srcs: [
258        "com.android.car.framework-file_contexts",
259    ],
260}
261
262filegroup {
263    name: "com.android.ondevicepersonalization-file_contexts",
264    srcs: [
265        "com.android.ondevicepersonalization-file_contexts",
266    ],
267}
268
269filegroup {
270    name: "com.android.healthfitness-file_contexts",
271    srcs: [
272        "com.android.healthfitness-file_contexts",
273    ],
274}
275
276filegroup {
277    name: "com.android.rkpd-file_contexts",
278    srcs: [
279        "com.android.rkpd-file_contexts",
280    ],
281}
282
283filegroup {
284    name: "com.android.devicelock-file_contexts",
285    srcs: [
286        "com.android.devicelock-file_contexts",
287    ],
288}
289
290filegroup {
291    name: "com.android.telephonymodules-file_contexts",
292    srcs: [
293        "com.android.telephonymodules-file_contexts",
294    ],
295}
296
297filegroup {
298    name: "com.android.configinfrastructure-file_contexts",
299    srcs: [
300        "com.android.configinfrastructure-file_contexts",
301    ],
302}
303
304filegroup {
305    name: "com.android.biometrics.virtual.fingerprint-file_contexts",
306    srcs: [
307        "com.android.biometrics.virtual.fingerprint-file_contexts",
308    ],
309}
310
311filegroup {
312    name: "com.android.uprobestats-file_contexts",
313    srcs: [
314        "com.android.uprobestats-file_contexts",
315    ],
316}
317
318filegroup {
319    name: "com.android.biometrics.virtual.face-file_contexts",
320    srcs: [
321        "com.android.biometrics.virtual.face-file_contexts",
322    ],
323}
324
325filegroup {
326    name: "com.android.documentsuibundle-file_contexts",
327    srcs: [
328        "com.android.documentsuibundle-file_contexts",
329    ],
330}
331
332filegroup {
333    name: "com.android.profiling-file_contexts",
334    srcs: [
335        "com.android.profiling-file_contexts",
336    ],
337}
338