Daniel Norman | 82063f1 | 2021-09-08 09:56:34 -0700 | [diff] [blame] | 1 | package { |
| 2 | // See: http://go/android-license-faq |
| 3 | // A large-scale-change added 'default_applicable_licenses' to import |
| 4 | // all of the 'license_kinds' from "frameworks_native_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["frameworks_native_license"], |
| 8 | } |
| 9 | |
| 10 | prebuilt_defaults { |
| 11 | name: "frameworks_native_data_etc_defaults", |
| 12 | relative_install_path: "permissions", |
| 13 | soc_specific: true, |
| 14 | } |
| 15 | |
| 16 | // Modules use the 'prebuilt.xml' suffix to prevent conflicting |
| 17 | // overridden paths, so that this Android.bp can exist alongside |
| 18 | // devices that use PRODUCT_COPY_FILES for these files. |
| 19 | // |
| 20 | // This override prevention is also possible using a soong_namespace, |
| 21 | // but that requires every dependent module (e.g. an APEX that includes |
| 22 | // one of these files) to also reference this namespace, and so on |
| 23 | // for all dependent modules. It is simpler to just use new path names. |
| 24 | |
| 25 | prebuilt_etc { |
| 26 | name: "android.hardware.audio.low_latency.prebuilt.xml", |
| 27 | src: "android.hardware.audio.low_latency.xml", |
| 28 | defaults: ["frameworks_native_data_etc_defaults"], |
| 29 | } |
| 30 | |
| 31 | prebuilt_etc { |
| 32 | name: "android.hardware.biometrics.face.prebuilt.xml", |
| 33 | src: "android.hardware.biometrics.face.xml", |
| 34 | defaults: ["frameworks_native_data_etc_defaults"], |
| 35 | } |
| 36 | |
| 37 | prebuilt_etc { |
| 38 | name: "android.hardware.bluetooth_le.prebuilt.xml", |
| 39 | src: "android.hardware.bluetooth_le.xml", |
| 40 | defaults: ["frameworks_native_data_etc_defaults"], |
| 41 | } |
| 42 | |
| 43 | prebuilt_etc { |
| 44 | name: "android.hardware.bluetooth.prebuilt.xml", |
| 45 | src: "android.hardware.bluetooth.xml", |
| 46 | defaults: ["frameworks_native_data_etc_defaults"], |
| 47 | } |
| 48 | |
| 49 | prebuilt_etc { |
| 50 | name: "android.hardware.camera.concurrent.prebuilt.xml", |
| 51 | src: "android.hardware.camera.concurrent.xml", |
| 52 | defaults: ["frameworks_native_data_etc_defaults"], |
| 53 | } |
| 54 | |
| 55 | prebuilt_etc { |
| 56 | name: "android.hardware.camera.flash-autofocus.prebuilt.xml", |
| 57 | src: "android.hardware.camera.flash-autofocus.xml", |
| 58 | defaults: ["frameworks_native_data_etc_defaults"], |
| 59 | } |
| 60 | |
| 61 | prebuilt_etc { |
| 62 | name: "android.hardware.camera.front.prebuilt.xml", |
| 63 | src: "android.hardware.camera.front.xml", |
| 64 | defaults: ["frameworks_native_data_etc_defaults"], |
| 65 | } |
| 66 | |
| 67 | prebuilt_etc { |
| 68 | name: "android.hardware.camera.full.prebuilt.xml", |
| 69 | src: "android.hardware.camera.full.xml", |
| 70 | defaults: ["frameworks_native_data_etc_defaults"], |
| 71 | } |
| 72 | |
| 73 | prebuilt_etc { |
| 74 | name: "android.hardware.camera.raw.prebuilt.xml", |
| 75 | src: "android.hardware.camera.raw.xml", |
| 76 | defaults: ["frameworks_native_data_etc_defaults"], |
| 77 | } |
| 78 | |
| 79 | prebuilt_etc { |
| 80 | name: "android.hardware.ethernet.prebuilt.xml", |
| 81 | src: "android.hardware.ethernet.xml", |
| 82 | defaults: ["frameworks_native_data_etc_defaults"], |
| 83 | } |
| 84 | |
| 85 | prebuilt_etc { |
| 86 | name: "android.hardware.faketouch.prebuilt.xml", |
| 87 | src: "android.hardware.faketouch.xml", |
| 88 | defaults: ["frameworks_native_data_etc_defaults"], |
| 89 | } |
| 90 | |
| 91 | prebuilt_etc { |
Kevin Chyn | 7057b56 | 2021-11-09 16:41:30 -0800 | [diff] [blame] | 92 | name: "android.hardware.fingerprint.prebuilt.xml", |
| 93 | src: "android.hardware.fingerprint.xml", |
| 94 | defaults: ["frameworks_native_data_etc_defaults"], |
| 95 | } |
| 96 | |
| 97 | prebuilt_etc { |
Daniel Norman | 82063f1 | 2021-09-08 09:56:34 -0700 | [diff] [blame] | 98 | name: "android.hardware.location.gps.prebuilt.xml", |
| 99 | src: "android.hardware.location.gps.xml", |
| 100 | defaults: ["frameworks_native_data_etc_defaults"], |
| 101 | } |
| 102 | |
| 103 | prebuilt_etc { |
| 104 | name: "android.hardware.reboot_escrow.prebuilt.xml", |
| 105 | src: "android.hardware.reboot_escrow.xml", |
| 106 | defaults: ["frameworks_native_data_etc_defaults"], |
| 107 | } |
| 108 | |
| 109 | prebuilt_etc { |
| 110 | name: "android.hardware.sensor.ambient_temperature.prebuilt.xml", |
| 111 | src: "android.hardware.sensor.ambient_temperature.xml", |
| 112 | defaults: ["frameworks_native_data_etc_defaults"], |
| 113 | } |
| 114 | |
| 115 | prebuilt_etc { |
| 116 | name: "android.hardware.sensor.barometer.prebuilt.xml", |
| 117 | src: "android.hardware.sensor.barometer.xml", |
| 118 | defaults: ["frameworks_native_data_etc_defaults"], |
| 119 | } |
| 120 | |
| 121 | prebuilt_etc { |
| 122 | name: "android.hardware.sensor.gyroscope.prebuilt.xml", |
| 123 | src: "android.hardware.sensor.gyroscope.xml", |
| 124 | defaults: ["frameworks_native_data_etc_defaults"], |
| 125 | } |
| 126 | |
| 127 | prebuilt_etc { |
| 128 | name: "android.hardware.sensor.hinge_angle.prebuilt.xml", |
| 129 | src: "android.hardware.sensor.hinge_angle.xml", |
| 130 | defaults: ["frameworks_native_data_etc_defaults"], |
| 131 | } |
| 132 | |
| 133 | prebuilt_etc { |
| 134 | name: "android.hardware.sensor.light.prebuilt.xml", |
| 135 | src: "android.hardware.sensor.light.xml", |
| 136 | defaults: ["frameworks_native_data_etc_defaults"], |
| 137 | } |
| 138 | |
| 139 | prebuilt_etc { |
| 140 | name: "android.hardware.sensor.proximity.prebuilt.xml", |
| 141 | src: "android.hardware.sensor.proximity.xml", |
| 142 | defaults: ["frameworks_native_data_etc_defaults"], |
| 143 | } |
| 144 | |
| 145 | prebuilt_etc { |
| 146 | name: "android.hardware.sensor.relative_humidity.prebuilt.xml", |
| 147 | src: "android.hardware.sensor.relative_humidity.xml", |
| 148 | defaults: ["frameworks_native_data_etc_defaults"], |
| 149 | } |
| 150 | |
| 151 | prebuilt_etc { |
| 152 | name: "android.hardware.telephony.gsm.prebuilt.xml", |
| 153 | src: "android.hardware.telephony.gsm.xml", |
| 154 | defaults: ["frameworks_native_data_etc_defaults"], |
| 155 | } |
| 156 | |
| 157 | prebuilt_etc { |
| 158 | name: "android.hardware.telephony.ims.prebuilt.xml", |
| 159 | src: "android.hardware.telephony.ims.xml", |
| 160 | defaults: ["frameworks_native_data_etc_defaults"], |
| 161 | } |
| 162 | |
| 163 | prebuilt_etc { |
| 164 | name: "android.hardware.usb.accessory.prebuilt.xml", |
| 165 | src: "android.hardware.usb.accessory.xml", |
| 166 | defaults: ["frameworks_native_data_etc_defaults"], |
| 167 | } |
| 168 | |
| 169 | prebuilt_etc { |
| 170 | name: "android.hardware.usb.host.prebuilt.xml", |
| 171 | src: "android.hardware.usb.host.xml", |
| 172 | defaults: ["frameworks_native_data_etc_defaults"], |
| 173 | } |
| 174 | |
| 175 | prebuilt_etc { |
| 176 | name: "android.hardware.vulkan.level-0.prebuilt.xml", |
| 177 | src: "android.hardware.vulkan.level-0.xml", |
| 178 | defaults: ["frameworks_native_data_etc_defaults"], |
| 179 | } |
| 180 | |
| 181 | prebuilt_etc { |
| 182 | name: "android.hardware.vulkan.version-1_0_3.prebuilt.xml", |
| 183 | src: "android.hardware.vulkan.version-1_0_3.xml", |
| 184 | defaults: ["frameworks_native_data_etc_defaults"], |
| 185 | } |
| 186 | |
| 187 | prebuilt_etc { |
| 188 | name: "android.hardware.wifi.prebuilt.xml", |
| 189 | src: "android.hardware.wifi.xml", |
| 190 | defaults: ["frameworks_native_data_etc_defaults"], |
| 191 | } |
| 192 | |
| 193 | prebuilt_etc { |
JaeMan Park | e5f3bde | 2022-01-10 16:05:12 +0900 | [diff] [blame] | 194 | name: "android.hardware.wifi.direct.prebuilt.xml", |
| 195 | src: "android.hardware.wifi.direct.xml", |
| 196 | defaults: ["frameworks_native_data_etc_defaults"], |
| 197 | } |
| 198 | |
| 199 | prebuilt_etc { |
Daniel Norman | a406e70 | 2021-10-08 10:39:24 -0700 | [diff] [blame] | 200 | name: "android.hardware.wifi.passpoint.prebuilt.xml", |
| 201 | src: "android.hardware.wifi.passpoint.xml", |
| 202 | defaults: ["frameworks_native_data_etc_defaults"], |
| 203 | } |
| 204 | |
| 205 | prebuilt_etc { |
Daniel Norman | 82063f1 | 2021-09-08 09:56:34 -0700 | [diff] [blame] | 206 | name: "android.software.device_id_attestation.prebuilt.xml", |
| 207 | src: "android.software.device_id_attestation.xml", |
| 208 | defaults: ["frameworks_native_data_etc_defaults"], |
| 209 | } |
| 210 | |
| 211 | prebuilt_etc { |
| 212 | name: "android.software.ipsec_tunnels.prebuilt.xml", |
| 213 | src: "android.software.ipsec_tunnels.xml", |
| 214 | defaults: ["frameworks_native_data_etc_defaults"], |
| 215 | } |
| 216 | |
| 217 | prebuilt_etc { |
| 218 | name: "android.software.opengles.deqp.level-2021-03-01.prebuilt.xml", |
| 219 | src: "android.software.opengles.deqp.level-2021-03-01.xml", |
| 220 | defaults: ["frameworks_native_data_etc_defaults"], |
| 221 | } |
| 222 | |
| 223 | prebuilt_etc { |
| 224 | name: "android.software.sip.voip.prebuilt.xml", |
| 225 | src: "android.software.sip.voip.xml", |
| 226 | defaults: ["frameworks_native_data_etc_defaults"], |
| 227 | } |
| 228 | |
| 229 | prebuilt_etc { |
| 230 | name: "android.software.verified_boot.prebuilt.xml", |
| 231 | src: "android.software.verified_boot.xml", |
| 232 | defaults: ["frameworks_native_data_etc_defaults"], |
| 233 | } |
| 234 | |
| 235 | prebuilt_etc { |
| 236 | name: "android.software.vulkan.deqp.level-2021-03-01.prebuilt.xml", |
| 237 | src: "android.software.vulkan.deqp.level-2021-03-01.xml", |
| 238 | defaults: ["frameworks_native_data_etc_defaults"], |
| 239 | } |
| 240 | |
| 241 | prebuilt_etc { |
| 242 | name: "aosp_excluded_hardware.prebuilt.xml", |
| 243 | src: "aosp_excluded_hardware.xml", |
| 244 | defaults: ["frameworks_native_data_etc_defaults"], |
| 245 | } |
| 246 | |
| 247 | prebuilt_etc { |
Alistair Delva | 81e0ab5 | 2022-01-21 14:55:37 -0800 | [diff] [blame] | 248 | name: "go_handheld_core_hardware.prebuilt.xml", |
| 249 | src: "go_handheld_core_hardware.xml", |
| 250 | defaults: ["frameworks_native_data_etc_defaults"], |
| 251 | } |
| 252 | |
| 253 | prebuilt_etc { |
Daniel Norman | 82063f1 | 2021-09-08 09:56:34 -0700 | [diff] [blame] | 254 | name: "handheld_core_hardware.prebuilt.xml", |
| 255 | src: "handheld_core_hardware.xml", |
| 256 | defaults: ["frameworks_native_data_etc_defaults"], |
| 257 | } |
tomnatan | 8a4d2b4 | 2021-07-19 13:59:56 +0000 | [diff] [blame] | 258 | |
| 259 | prebuilt_etc { |
| 260 | name: "android.software.app_compat_overrides.xml", |
| 261 | product_specific: true, |
| 262 | sub_dir: "permissions", |
| 263 | src: "android.software.app_compat_overrides.xml", |
| 264 | filename_from_src: true, |
| 265 | } |