summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Shan <shanyu@google.com>2024-01-05 14:06:45 -0800
committerYu Shan <shanyu@google.com>2024-01-05 14:06:45 -0800
commit10ec33d1200bfb7d4ecc0d5351b61ca7f97a1e12 (patch)
treece34a5c167f85de417c92cb2d52b3971759bf944
parent265fb6fd30610d77c0b1e865473f2fcdffff1993 (diff)
downloadcar-10ec33d1200bfb7d4ecc0d5351b61ca7f97a1e12.tar.gz
Copy emulator property metadata file.
Copy the VHAL property metadata JSON file to output so that QEMU can use it to extend the VHAL property list. Test: Manually run and check emulator list is updated. Bug: 318747444 Change-Id: I061b7edaed33d4f45992a9b2e06e16971d461f6e
-rw-r--r--emulator/car_emulator_product.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/emulator/car_emulator_product.mk b/emulator/car_emulator_product.mk
index 0f1c94a..4e1979d 100644
--- a/emulator/car_emulator_product.mk
+++ b/emulator/car_emulator_product.mk
@@ -23,6 +23,9 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
device/generic/car/common/preinstalled-packages-product-car-emulator.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/preinstalled-packages-product-car-emulator.xml
+# This file is used by qemu to provide supported VHAL property list.
+PRODUCT_COPY_FILES += hardware/interfaces/automotive/vehicle/aidl/emu_metadata/android.hardware.automotive.vehicle-types-meta.json:android.hardware.automotive.vehicle-types-meta.json
+
# TODO(b/253459812): find a better way to handle it.
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += \
device/generic/car/common/device_framework_matrix_product.xml