summaryrefslogtreecommitdiff
path: root/emulator/aosp_car_emulator.mk
diff options
context:
space:
mode:
authorSihu Song <sihusong@google.com>2023-02-27 14:37:08 +0900
committerSihu Song <sihusong@google.com>2023-02-28 13:30:25 +0900
commit5fa25eee5ee1a165ca042aebf512b942b8f998b8 (patch)
tree5d5101c52db4c197c7786e3e6c58f6533cdfc8b4 /emulator/aosp_car_emulator.mk
parentbde19a733569ba7ea1b5789cc7a1019408c2447f (diff)
downloadcar-5fa25eee5ee1a165ca042aebf512b942b8f998b8.tar.gz
Added SELinux policy to allow socket access for VHAL
Bug: 261679376 Test: Manually running emulator and confirms Vhals are printed Change-Id: I7a73c5b5ee6dc9867c9786aff0059f828fd74f15
Diffstat (limited to 'emulator/aosp_car_emulator.mk')
-rw-r--r--emulator/aosp_car_emulator.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/emulator/aosp_car_emulator.mk b/emulator/aosp_car_emulator.mk
index f8cbe66..c99dc9f 100644
--- a/emulator/aosp_car_emulator.mk
+++ b/emulator/aosp_car_emulator.mk
@@ -70,3 +70,6 @@ PRODUCT_PACKAGES += \
DriveModeSportRRO \
DriveModeOnRRO \
+# Enable socket for qemu VHAL
+BOARD_SEPOLICY_DIRS += device/generic/car/emulator/sepolicy
+