Adding GSI build capability into Auto emulators

bug: 171504555
Test: Local build, flash GSI on hardware and boot
Change-Id: I0a2267f8e7266dadb240bc032881140773b5e78d
diff --git a/aosp_car_arm64.mk b/aosp_car_arm64.mk
index c07da6c..b053601 100644
--- a/aosp_car_arm64.mk
+++ b/aosp_car_arm64.mk
@@ -14,7 +14,7 @@
 # limitations under the License.
 
 PRODUCT_PACKAGE_OVERLAYS := device/generic/car/common/overlay
-
+EMULATOR_VENDOR_NO_SENSORS := true
 $(call inherit-product, device/generic/car/emulator/aosp_car_emulator.mk)
 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_arm64.mk)
 
diff --git a/aosp_car_x86_64.mk b/aosp_car_x86_64.mk
index 2a5e20a..5320e49 100644
--- a/aosp_car_x86_64.mk
+++ b/aosp_car_x86_64.mk
@@ -15,6 +15,7 @@
 
 PRODUCT_PACKAGE_OVERLAYS := device/generic/car/common/overlay
 
+EMULATOR_VENDOR_NO_SENSORS := true
 $(call inherit-product, device/generic/car/emulator/aosp_car_emulator.mk)
 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_x86_64.mk)
 
diff --git a/common/car.mk b/common/car.mk
index b7034c6..ef595b3 100644
--- a/common/car.mk
+++ b/common/car.mk
@@ -87,4 +87,11 @@
 # Additional selinux policy
 BOARD_SEPOLICY_DIRS += device/generic/car/common/sepolicy
 
+#
+# Special settings for GSI releasing
+#
+ifneq (,$(filter aosp_car_x86_64 aosp_car_arm64,$(TARGET_PRODUCT)))
+$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
+endif
+
 $(call inherit-product, packages/services/Car/car_product/build/car.mk)