Merge "emulator: api 26 fix guest rendering (build)"

am: fb46f47085

Change-Id: Ifb7faacf00ce8af275868869e324fe25e9e9c64a
This commit is contained in:
Bo Hu 2017-12-01 20:27:37 +00:00 committed by android-build-merger
commit c6e1046dfb
4 changed files with 11 additions and 0 deletions

View file

@ -2,4 +2,8 @@ allow bootanim self:process execmem;
allow bootanim ashmem_device:chr_file execute;
#TODO: This can safely be ignored until b/62954877 is fixed
dontaudit bootanim system_data_file:dir read;
allow bootanim vendor_file:file { execute getattr open read };
allow bootanim graphics_device:chr_file { read ioctl open };
set_prop(bootanim, qemu_prop)

View file

@ -22,6 +22,7 @@
/vendor/bin/hw/android\.hardware\.drm@1\.0-service\.widevine u:object_r:hal_drm_widevine_exec:s0
/vendor/lib(64)?/hw/gralloc\.ranchu\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/hw/gralloc\.goldfish\.default\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libEGL_emulation\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libGLESv1_CM_emulation\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libGLESv2_emulation\.so u:object_r:same_process_hal_file:s0

View file

@ -0,0 +1,2 @@
allow hal_graphics_allocator_default graphics_device:dir search;
allow hal_graphics_allocator_default graphics_device:chr_file { ioctl open read write };

View file

@ -26,6 +26,7 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
egl.cfg \
gralloc.goldfish \
gralloc.goldfish.default \
gralloc.ranchu \
libGLESv1_CM_emulation \
lib_renderControl_enc \
@ -35,6 +36,9 @@ PRODUCT_PACKAGES += \
libOpenglSystemCommon \
libGLESv2_emulation \
libGLESv1_enc \
libEGL_swiftshader \
libGLESv1_CM_swiftshader \
libGLESv2_swiftshader \
qemu-props \
camera.goldfish \
camera.goldfish.jpeg \