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