* Use device as an identifier in package names so APEXs on rpi4/rpi5 trees can co-exist. Somehow apex definitions escape the soong namespace. It doesn't complain about duplicate package names but dependecies later in the build after analyzing Android.bp files and generating ninja file. FAILED: ninja: ... multiple rules generate com.android.hardware.bluetooth.rpi-deps-info [-w dupbuild=err] https://android.googlesource.com/platform/build/soong/+/refs/heads/main/README.md#namespaces * Not sure if this is an AOSP bug or intended behaviour for apex targets. Don't like using the rpi4/rpi5 tags but couldn't come up with better solution to limit the visibility that worked. * General cleanups. As APEX package contains all dependencies that are needed for the service, remove unused shared libraries. Run 'bpfmt -s -w Android.bp'.
55 lines
3.8 KiB
Plaintext
55 lines
3.8 KiB
Plaintext
# Bluetooth
|
|
/sys/class/rfkill/rfkill[0-9]/state u:object_r:sysfs_bluetooth_writable:s0
|
|
|
|
# CEC
|
|
/dev/cec0 u:object_r:cec_device:s0
|
|
/dev/cec1 u:object_r:cec_device:s0
|
|
/vendor/bin/hw/android\.hardware\.tv\.cec@1\.0-service\.rpi u:object_r:hal_tv_cec_default_exec:s0
|
|
|
|
# DRM
|
|
/vendor/bin/hw/android\.hardware\.drm-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0
|
|
/vendor/bin/hw/android\.hardware\.drm-service\.widevine(.*)? u:object_r:hal_drm_widevine_exec:s0
|
|
|
|
# FFmpeg
|
|
/vendor/bin/hw/android\.hardware\.media\.c2@1\.2-service-ffmpeg u:object_r:mediacodec_exec:s0
|
|
|
|
# Graphics
|
|
/dev/dri u:object_r:gpu_device:s0
|
|
/dev/dri/card0 u:object_r:gpu_device:s0
|
|
/dev/dri/card1 u:object_r:gpu_device:s0
|
|
/dev/dri/renderD128 u:object_r:gpu_device:s0
|
|
/vendor/bin/hw/android\.hardware\.composer\.hwc3-service\.drm u:object_r:hal_graphics_composer_default_exec:s0
|
|
/vendor/bin/hw/android\.hardware\.graphics\.allocator-service\.minigbm_gbm_mesa u:object_r:hal_graphics_allocator_default_exec:s0
|
|
/vendor/lib(64)?/hw/mapper\.minigbm_gbm_mesa\.so u:object_r:same_process_hal_file:s0
|
|
/vendor/lib(64)?/hw/vulkan\.broadcom\.so u:object_r:same_process_hal_file:s0
|
|
/vendor/lib(64)?/dri_gbm\.so u:object_r:same_process_hal_file:s0
|
|
/vendor/lib(64)?/libdrm\.so u:object_r:same_process_hal_file:s0
|
|
/vendor/lib(64)?/libgallium_dri\.so u:object_r:same_process_hal_file:s0
|
|
/vendor/lib(64)?/libgbm_mesa\.so u:object_r:same_process_hal_file:s0
|
|
/vendor/lib{64}?/libgbm_mesa_wrapper\.so u:object_r:same_process_hal_file:s0
|
|
/vendor/lib(64)?/libminigbm_gralloc_gbm_mesa\.so u:object_r:same_process_hal_file:s0
|
|
/vendor/lib(64)?/libminigbm_gralloc4_utils_gbm_mesa\.so u:object_r:same_process_hal_file:s0
|
|
|
|
# Health
|
|
/vendor/bin/hw/android\.hardware\.health-service\.rpi u:object_r:hal_health_default_exec:s0
|
|
|
|
# Lights
|
|
/sys/class/backlight/11-0045/brightness u:object_r:sysfs_leds:s0
|
|
/sys/class/backlight/11-0045/max_brightness u:object_r:sysfs_leds:s0
|
|
/vendor/bin/hw/android\.hardware\.light-service\.rpi u:object_r:hal_light_default_exec:s0
|
|
|
|
# Partitions
|
|
/dev/block/mmcblk0p1 u:object_r:boot_block_device:s0
|
|
/dev/block/mmcblk0p2 u:object_r:system_block_device:s0
|
|
/dev/block/mmcblk0p3 u:object_r:system_block_device:s0
|
|
/dev/block/mmcblk0p4 u:object_r:userdata_block_device:s0
|
|
|
|
# Suspend
|
|
/vendor/bin/suspend_blocker_rpi u:object_r:suspend_blocker_exec:s0
|
|
|
|
# USB
|
|
/vendor/bin/hw/android\.hardware\.usb\.gadget-service\.rpi u:object_r:hal_usb_gadget_default_exec:s0
|
|
|
|
# V4L2
|
|
/vendor/bin/hw/android\.hardware\.media\.c2@1\.2-service-v4l2(.*)? u:object_r:mediacodec_exec:s0
|