• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C} 2018 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
15
16// Sysconfig files
17
18package {
19    // See: http://go/android-license-faq
20    // A large-scale-change added 'default_applicable_licenses' to import
21    // all of the 'license_kinds' from "frameworks_base_license"
22    // to get the below license kinds:
23    //   SPDX-license-identifier-Apache-2.0
24    default_applicable_licenses: ["frameworks_base_license"],
25}
26
27prebuilt_etc {
28    name: "framework-sysconfig.xml",
29    sub_dir: "sysconfig",
30    src: "framework-sysconfig.xml",
31}
32
33prebuilt_etc {
34    name: "preinstalled-packages-platform.xml",
35    sub_dir: "sysconfig",
36    src: "preinstalled-packages-platform.xml",
37}
38
39prebuilt_etc {
40    name: "preinstalled-packages-platform-overlays.xml",
41    product_specific: true,
42    sub_dir: "sysconfig",
43    src: "preinstalled-packages-platform-overlays.xml",
44}
45
46prebuilt_etc {
47    name: "hiddenapi-package-whitelist.xml",
48    sub_dir: "sysconfig",
49    src: "hiddenapi-package-whitelist.xml",
50}
51
52// Privapp permission whitelist files
53
54prebuilt_etc {
55    name: "platform.xml",
56    sub_dir: "permissions",
57    src: "platform.xml",
58}
59
60prebuilt_etc {
61    name: "privapp-permissions-platform.xml",
62    sub_dir: "permissions",
63    src: "privapp-permissions-platform.xml",
64}
65
66prebuilt_etc {
67    name: "privapp_whitelist_com.android.carrierconfig",
68    system_ext_specific: true,
69    sub_dir: "permissions",
70    src: "com.android.carrierconfig.xml",
71    filename_from_src: true,
72}
73
74prebuilt_etc {
75    name: "privapp_whitelist_com.android.cellbroadcastreceiver",
76    system_ext_specific: true,
77    sub_dir: "permissions",
78    src: "com.android.cellbroadcastreceiver.xml",
79    filename_from_src: true,
80}
81
82prebuilt_etc {
83    name: "privapp_whitelist_com.android.contacts",
84    product_specific: true,
85    sub_dir: "permissions",
86    src: "com.android.contacts.xml",
87    filename_from_src: true,
88}
89
90prebuilt_etc {
91    name: "privapp_whitelist_com.android.dialer",
92    product_specific: true,
93    sub_dir: "permissions",
94    src: "com.android.dialer.xml",
95    filename_from_src: true,
96}
97
98prebuilt_etc {
99    name: "privapp_whitelist_com.android.emergency",
100    system_ext_specific: true,
101    sub_dir: "permissions",
102    src: "com.android.emergency.xml",
103    filename_from_src: true,
104}
105
106prebuilt_etc {
107    name: "privapp_whitelist_com.android.documentsui",
108    sub_dir: "permissions",
109    src: "com.android.documentsui.xml",
110    filename_from_src: true,
111}
112
113prebuilt_etc {
114    name: "privapp_whitelist_com.android.imsserviceentitlement",
115    product_specific: true,
116    sub_dir: "permissions",
117    src: "com.android.imsserviceentitlement.xml",
118    filename_from_src: true,
119}
120
121prebuilt_etc {
122    name: "privapp_whitelist_com.android.launcher3",
123    system_ext_specific: true,
124    sub_dir: "permissions",
125    src: "com.android.launcher3.xml",
126    filename_from_src: true,
127}
128
129prebuilt_etc {
130    name: "privapp_whitelist_com.android.networkstack",
131    sub_dir: "permissions",
132    src: "com.android.networkstack.xml",
133    filename_from_src: true,
134}
135
136prebuilt_etc {
137    name: "privapp_whitelist_com.android.networkstack.tethering",
138    sub_dir: "permissions",
139    src: "com.android.networkstack.tethering.xml",
140    filename_from_src: true,
141}
142
143prebuilt_etc {
144    name: "privapp_whitelist_com.android.provision",
145    system_ext_specific: true,
146    sub_dir: "permissions",
147    src: "com.android.provision.xml",
148    filename_from_src: true,
149}
150
151prebuilt_etc {
152    name: "privapp_whitelist_com.android.settings",
153    system_ext_specific: true,
154    sub_dir: "permissions",
155    src: "com.android.settings.xml",
156    filename_from_src: true,
157}
158
159prebuilt_etc {
160    name: "privapp_whitelist_com.android.settings.intelligence",
161    product_specific: true,
162    sub_dir: "permissions",
163    src: "com.android.settings.intelligence.xml",
164    filename_from_src: true,
165}
166
167prebuilt_etc {
168    name: "privapp_whitelist_com.android.storagemanager",
169    system_ext_specific: true,
170    sub_dir: "permissions",
171    src: "com.android.storagemanager.xml",
172    filename_from_src: true,
173}
174
175prebuilt_etc {
176    name: "privapp_whitelist_com.android.systemui",
177    system_ext_specific: true,
178    sub_dir: "permissions",
179    src: "com.android.systemui.xml",
180    filename_from_src: true,
181}
182
183prebuilt_etc {
184    name: "com.android.timezone.updater.xml",
185    sub_dir: "permissions",
186    src: "com.android.timezone.updater.xml",
187}
188
189filegroup {
190    name: "services.core.protolog.json",
191    srcs: ["services.core.protolog.json"],
192}
193