1package { 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 10prebuilt_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 25prebuilt_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 31prebuilt_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 37prebuilt_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 43prebuilt_etc { 44 name: "android.hardware.bluetooth.prebuilt.xml", 45 src: "android.hardware.bluetooth.xml", 46 defaults: ["frameworks_native_data_etc_defaults"], 47} 48 49prebuilt_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 55prebuilt_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 61prebuilt_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 67prebuilt_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 73prebuilt_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 79prebuilt_etc { 80 name: "android.hardware.context_hub.prebuilt.xml", 81 src: "android.hardware.context_hub.xml", 82 defaults: ["frameworks_native_data_etc_defaults"], 83} 84 85prebuilt_etc { 86 name: "android.hardware.consumerir.prebuilt.xml", 87 src: "android.hardware.consumerir.xml", 88 defaults: ["frameworks_native_data_etc_defaults"], 89} 90 91prebuilt_etc { 92 name: "android.hardware.ethernet.prebuilt.xml", 93 src: "android.hardware.ethernet.xml", 94 defaults: ["frameworks_native_data_etc_defaults"], 95} 96 97prebuilt_etc { 98 name: "android.hardware.faketouch.prebuilt.xml", 99 src: "android.hardware.faketouch.xml", 100 defaults: ["frameworks_native_data_etc_defaults"], 101} 102 103prebuilt_etc { 104 name: "android.hardware.fingerprint.prebuilt.xml", 105 src: "android.hardware.fingerprint.xml", 106 defaults: ["frameworks_native_data_etc_defaults"], 107} 108 109prebuilt_etc { 110 name: "android.hardware.location.gps.prebuilt.xml", 111 src: "android.hardware.location.gps.xml", 112 defaults: ["frameworks_native_data_etc_defaults"], 113} 114 115prebuilt_etc { 116 name: "android.hardware.nfc.prebuilt.xml", 117 src: "android.hardware.nfc.xml", 118 defaults: ["frameworks_native_data_etc_defaults"], 119} 120 121prebuilt_etc { 122 name: "android.hardware.nfc.hce.prebuilt.xml", 123 src: "android.hardware.nfc.hce.xml", 124 defaults: ["frameworks_native_data_etc_defaults"], 125} 126 127prebuilt_etc { 128 name: "android.hardware.reboot_escrow.prebuilt.xml", 129 src: "android.hardware.reboot_escrow.xml", 130 defaults: ["frameworks_native_data_etc_defaults"], 131} 132 133prebuilt_etc { 134 name: "android.hardware.se.omapi.ese.prebuilt.xml", 135 src: "android.hardware.se.omapi.ese.xml", 136 defaults: ["frameworks_native_data_etc_defaults"], 137} 138 139prebuilt_etc { 140 name: "android.hardware.se.omapi.sd.prebuilt.xml", 141 src: "android.hardware.se.omapi.sd.xml", 142 defaults: ["frameworks_native_data_etc_defaults"], 143} 144 145prebuilt_etc { 146 name: "android.hardware.se.omapi.uicc.prebuilt.xml", 147 src: "android.hardware.se.omapi.uicc.xml", 148 defaults: ["frameworks_native_data_etc_defaults"], 149} 150 151prebuilt_etc { 152 name: "android.hardware.sensor.accelerometer_limited_axes_uncalibrated.prebuilt.xml", 153 src: "android.hardware.sensor.accelerometer_limited_axes_uncalibrated.xml", 154 defaults: ["frameworks_native_data_etc_defaults"], 155} 156 157prebuilt_etc { 158 name: "android.hardware.sensor.accelerometer_limited_axes.prebuilt.xml", 159 src: "android.hardware.sensor.accelerometer_limited_axes.xml", 160 defaults: ["frameworks_native_data_etc_defaults"], 161} 162 163prebuilt_etc { 164 name: "android.hardware.sensor.accelerometer.prebuilt.xml", 165 src: "android.hardware.sensor.accelerometer.xml", 166 defaults: ["frameworks_native_data_etc_defaults"], 167} 168 169prebuilt_etc { 170 name: "android.hardware.sensor.ambient_temperature.prebuilt.xml", 171 src: "android.hardware.sensor.ambient_temperature.xml", 172 defaults: ["frameworks_native_data_etc_defaults"], 173} 174 175prebuilt_etc { 176 name: "android.hardware.sensor.assist.prebuilt.xml", 177 src: "android.hardware.sensor.assist.xml", 178 defaults: ["frameworks_native_data_etc_defaults"], 179} 180 181prebuilt_etc { 182 name: "android.hardware.sensor.barometer.prebuilt.xml", 183 src: "android.hardware.sensor.barometer.xml", 184 defaults: ["frameworks_native_data_etc_defaults"], 185} 186 187prebuilt_etc { 188 name: "android.hardware.sensor.compass.prebuilt.xml", 189 src: "android.hardware.sensor.compass.xml", 190 defaults: ["frameworks_native_data_etc_defaults"], 191} 192 193prebuilt_etc { 194 name: "android.hardware.sensor.dynamic.head_tracker.prebuilt.xml", 195 src: "android.hardware.sensor.dynamic.head_tracker.xml", 196 defaults: ["frameworks_native_data_etc_defaults"], 197} 198 199prebuilt_etc { 200 name: "android.hardware.sensor.gyroscope_limited_axes_uncalibrated.prebuilt.xml", 201 src: "android.hardware.sensor.gyroscope_limited_axes_uncalibrated.xml", 202 defaults: ["frameworks_native_data_etc_defaults"], 203} 204 205prebuilt_etc { 206 name: "android.hardware.sensor.gyroscope_limited_axes.prebuilt.xml", 207 src: "android.hardware.sensor.gyroscope_limited_axes.xml", 208 defaults: ["frameworks_native_data_etc_defaults"], 209} 210 211prebuilt_etc { 212 name: "android.hardware.sensor.gyroscope.prebuilt.xml", 213 src: "android.hardware.sensor.gyroscope.xml", 214 defaults: ["frameworks_native_data_etc_defaults"], 215} 216 217prebuilt_etc { 218 name: "android.hardware.sensor.heading.prebuilt.xml", 219 src: "android.hardware.sensor.heading.xml", 220 defaults: ["frameworks_native_data_etc_defaults"], 221} 222 223prebuilt_etc { 224 name: "android.hardware.sensor.heartrate.ecg.prebuilt.xml", 225 src: "android.hardware.sensor.heartrate.ecg.xml", 226 defaults: ["frameworks_native_data_etc_defaults"], 227} 228 229prebuilt_etc { 230 name: "android.hardware.sensor.heartrate.fitness.prebuilt.xml", 231 src: "android.hardware.sensor.heartrate.fitness.xml", 232 defaults: ["frameworks_native_data_etc_defaults"], 233} 234 235prebuilt_etc { 236 name: "android.hardware.sensor.heartrate.prebuilt.xml", 237 src: "android.hardware.sensor.heartrate.xml", 238 defaults: ["frameworks_native_data_etc_defaults"], 239} 240 241prebuilt_etc { 242 name: "android.hardware.sensor.hifi_sensors.prebuilt.xml", 243 src: "android.hardware.sensor.hifi_sensors.xml", 244 defaults: ["frameworks_native_data_etc_defaults"], 245} 246 247prebuilt_etc { 248 name: "android.hardware.sensor.hinge_angle.prebuilt.xml", 249 src: "android.hardware.sensor.hinge_angle.xml", 250 defaults: ["frameworks_native_data_etc_defaults"], 251} 252 253prebuilt_etc { 254 name: "android.hardware.sensor.light.prebuilt.xml", 255 src: "android.hardware.sensor.light.xml", 256 defaults: ["frameworks_native_data_etc_defaults"], 257} 258 259prebuilt_etc { 260 name: "android.hardware.sensor.proximity.prebuilt.xml", 261 src: "android.hardware.sensor.proximity.xml", 262 defaults: ["frameworks_native_data_etc_defaults"], 263} 264 265prebuilt_etc { 266 name: "android.hardware.sensor.relative_humidity.prebuilt.xml", 267 src: "android.hardware.sensor.relative_humidity.xml", 268 defaults: ["frameworks_native_data_etc_defaults"], 269} 270 271prebuilt_etc { 272 name: "android.hardware.sensor.stepcounter.prebuilt.xml", 273 src: "android.hardware.sensor.stepcounter.xml", 274 defaults: ["frameworks_native_data_etc_defaults"], 275} 276 277prebuilt_etc { 278 name: "android.hardware.sensor.stepdetector.prebuilt.xml", 279 src: "android.hardware.sensor.stepdetector.xml", 280 defaults: ["frameworks_native_data_etc_defaults"], 281} 282 283prebuilt_etc { 284 name: "android.hardware.telephony.carrierlock.prebuilt.xml", 285 src: "android.hardware.telephony.carrierlock.xml", 286 defaults: ["frameworks_native_data_etc_defaults"], 287} 288 289prebuilt_etc { 290 name: "android.hardware.telephony.data.prebuilt.xml", 291 src: "android.hardware.telephony.data.xml", 292 defaults: ["frameworks_native_data_etc_defaults"], 293} 294 295prebuilt_etc { 296 name: "android.hardware.telephony.gsm.prebuilt.xml", 297 src: "android.hardware.telephony.gsm.xml", 298 defaults: ["frameworks_native_data_etc_defaults"], 299} 300 301prebuilt_etc { 302 name: "android.hardware.telephony.ims.prebuilt.xml", 303 src: "android.hardware.telephony.ims.xml", 304 defaults: ["frameworks_native_data_etc_defaults"], 305} 306 307prebuilt_etc { 308 name: "android.hardware.telephony.ims.singlereg.prebuilt.xml", 309 src: "android.hardware.telephony.ims.singlereg.xml", 310 defaults: ["frameworks_native_data_etc_defaults"], 311} 312 313prebuilt_etc { 314 name: "android.hardware.thread_network.prebuilt.xml", 315 src: "android.hardware.thread_network.xml", 316 defaults: ["frameworks_native_data_etc_defaults"], 317} 318 319prebuilt_etc { 320 name: "android.hardware.usb.accessory.prebuilt.xml", 321 src: "android.hardware.usb.accessory.xml", 322 defaults: ["frameworks_native_data_etc_defaults"], 323} 324 325prebuilt_etc { 326 name: "android.hardware.usb.host.prebuilt.xml", 327 src: "android.hardware.usb.host.xml", 328 defaults: ["frameworks_native_data_etc_defaults"], 329} 330 331prebuilt_etc { 332 name: "android.hardware.vulkan.level-0.prebuilt.xml", 333 src: "android.hardware.vulkan.level-0.xml", 334 defaults: ["frameworks_native_data_etc_defaults"], 335} 336 337prebuilt_etc { 338 name: "android.hardware.vulkan.compute-0.prebuilt.xml", 339 src: "android.hardware.vulkan.compute-0.xml", 340 defaults: ["frameworks_native_data_etc_defaults"], 341} 342 343prebuilt_etc { 344 name: "android.hardware.vulkan.level-1.prebuilt.xml", 345 src: "android.hardware.vulkan.level-1.xml", 346 defaults: ["frameworks_native_data_etc_defaults"], 347} 348 349prebuilt_etc { 350 name: "android.hardware.vulkan.version-1_0_3.prebuilt.xml", 351 src: "android.hardware.vulkan.version-1_0_3.xml", 352 defaults: ["frameworks_native_data_etc_defaults"], 353} 354 355prebuilt_etc { 356 name: "android.hardware.vulkan.version-1_3.prebuilt.xml", 357 src: "android.hardware.vulkan.version-1_3.xml", 358 defaults: ["frameworks_native_data_etc_defaults"], 359} 360 361prebuilt_etc { 362 name: "android.hardware.wifi.prebuilt.xml", 363 src: "android.hardware.wifi.xml", 364 defaults: ["frameworks_native_data_etc_defaults"], 365} 366 367prebuilt_etc { 368 name: "android.hardware.wifi.direct.prebuilt.xml", 369 src: "android.hardware.wifi.direct.xml", 370 defaults: ["frameworks_native_data_etc_defaults"], 371} 372 373prebuilt_etc { 374 name: "android.hardware.wifi.passpoint.prebuilt.xml", 375 src: "android.hardware.wifi.passpoint.xml", 376 defaults: ["frameworks_native_data_etc_defaults"], 377} 378 379// installed in system for GSI 380prebuilt_etc { 381 name: "android.software.credentials.prebuilt.xml", 382 relative_install_path: "permissions", 383 src: "android.software.credentials.xml", 384 filename_from_src: true, 385} 386 387prebuilt_etc { 388 name: "android.software.device_id_attestation.prebuilt.xml", 389 src: "android.software.device_id_attestation.xml", 390 defaults: ["frameworks_native_data_etc_defaults"], 391} 392 393prebuilt_etc { 394 name: "android.software.ipsec_tunnels.prebuilt.xml", 395 src: "android.software.ipsec_tunnels.xml", 396 defaults: ["frameworks_native_data_etc_defaults"], 397} 398 399prebuilt_etc { 400 name: "android.software.opengles.deqp.level-2021-03-01.prebuilt.xml", 401 src: "android.software.opengles.deqp.level-2021-03-01.xml", 402 defaults: ["frameworks_native_data_etc_defaults"], 403} 404 405prebuilt_etc { 406 name: "android.software.opengles.deqp.level-2022-03-01.prebuilt.xml", 407 src: "android.software.opengles.deqp.level-2022-03-01.xml", 408 defaults: ["frameworks_native_data_etc_defaults"], 409} 410 411prebuilt_etc { 412 name: "android.software.opengles.deqp.level-2023-03-01.prebuilt.xml", 413 src: "android.software.opengles.deqp.level-2023-03-01.xml", 414 defaults: ["frameworks_native_data_etc_defaults"], 415} 416 417prebuilt_etc { 418 name: "android.software.opengles.deqp.level-2024-03-01.prebuilt.xml", 419 src: "android.software.opengles.deqp.level-2024-03-01.xml", 420 defaults: ["frameworks_native_data_etc_defaults"], 421} 422 423prebuilt_etc { 424 name: "android.software.opengles.deqp.level-latest.prebuilt.xml", 425 src: "android.software.opengles.deqp.level-latest.xml", 426 defaults: ["frameworks_native_data_etc_defaults"], 427} 428 429prebuilt_etc { 430 name: "android.software.sip.voip.prebuilt.xml", 431 src: "android.software.sip.voip.xml", 432 defaults: ["frameworks_native_data_etc_defaults"], 433} 434 435prebuilt_etc { 436 name: "android.software.verified_boot.prebuilt.xml", 437 src: "android.software.verified_boot.xml", 438 defaults: ["frameworks_native_data_etc_defaults"], 439} 440 441prebuilt_etc { 442 name: "android.software.vulkan.deqp.level-2021-03-01.prebuilt.xml", 443 src: "android.software.vulkan.deqp.level-2021-03-01.xml", 444 defaults: ["frameworks_native_data_etc_defaults"], 445} 446 447prebuilt_etc { 448 name: "android.software.vulkan.deqp.level-2022-03-01.prebuilt.xml", 449 src: "android.software.vulkan.deqp.level-2022-03-01.xml", 450 defaults: ["frameworks_native_data_etc_defaults"], 451} 452 453prebuilt_etc { 454 name: "android.software.vulkan.deqp.level-2023-03-01.prebuilt.xml", 455 src: "android.software.vulkan.deqp.level-2023-03-01.xml", 456 defaults: ["frameworks_native_data_etc_defaults"], 457} 458 459prebuilt_etc { 460 name: "android.software.vulkan.deqp.level-2024-03-01.prebuilt.xml", 461 src: "android.software.vulkan.deqp.level-2024-03-01.xml", 462 defaults: ["frameworks_native_data_etc_defaults"], 463} 464 465prebuilt_etc { 466 name: "android.software.vulkan.deqp.level-latest.prebuilt.xml", 467 src: "android.software.vulkan.deqp.level-latest.xml", 468 defaults: ["frameworks_native_data_etc_defaults"], 469} 470 471prebuilt_etc { 472 name: "aosp_excluded_hardware.prebuilt.xml", 473 src: "aosp_excluded_hardware.xml", 474 defaults: ["frameworks_native_data_etc_defaults"], 475} 476 477prebuilt_etc { 478 name: "go_handheld_core_hardware.prebuilt.xml", 479 src: "go_handheld_core_hardware.xml", 480 defaults: ["frameworks_native_data_etc_defaults"], 481} 482 483prebuilt_etc { 484 name: "handheld_core_hardware.prebuilt.xml", 485 src: "handheld_core_hardware.xml", 486 defaults: ["frameworks_native_data_etc_defaults"], 487} 488