diff options
author | Sihu Song <sihusong@google.com> | 2023-09-07 10:40:29 +0900 |
---|---|---|
committer | Sihu Song <sihusong@google.com> | 2023-09-08 15:03:35 +0900 |
commit | f28b5aa65d5ff395b06ba80687b246d02fe52bc9 (patch) | |
tree | f284f7f5ebd2ba1e547ad01beb246ec3a2913a30 | |
parent | 178994c2ddc2f49a93b8ce91c98f17a386cb61ee (diff) | |
download | car-f28b5aa65d5ff395b06ba80687b246d02fe52bc9.tar.gz |
Adding configs that should be common across AAOS emulators
Bug: b/242354854
Test: Manually built and run emulator
Change-Id: I278010fa77b745335b6761e65bad7b0b9ee3bd3a
-rw-r--r-- | emulator/car_emulator_vendor.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/emulator/car_emulator_vendor.mk b/emulator/car_emulator_vendor.mk index 37669d9..64033f5 100644 --- a/emulator/car_emulator_vendor.mk +++ b/emulator/car_emulator_vendor.mk @@ -141,5 +141,17 @@ $(call inherit-product, device/generic/car/emulator/cluster/cluster-hwserviceman endif # BUILD_EMULATOR_CLUSTER_DISPLAY endif # EMULATOR_DYNAMIC_MULTIDISPLAY_CONFIG +# Should use car bluetooth.prop. +# This replaces value from device/generic/goldfish/64bitonly/product/vendor.mk below +ifeq (,$(ENABLE_CAR_USB_PASSTHROUGH)) +ENABLE_CAR_USB_PASSTHROUGH := false +endif +ifeq (true,$(ENABLE_CAR_USB_PASSTHROUGH)) +TARGET_PRODUCT_PROP := device/generic/car/emulator/usbpt/bluetooth/bluetooth.prop +endif + # Goldfish vendor partition configurations $(call inherit-product-if-exists, device/generic/goldfish/64bitonly/product/vendor.mk) + +# Enable socket for qemu VHAL +BOARD_SEPOLICY_DIRS += device/generic/car/emulator/sepolicy |