Fixes issue where ripcurrentpro devices ROM build will fail with GIA

Root casue: there is no GTI built on ripcurrentpro devices. Solution: Add GTI for ripcurrentpro devices.

Test: go/forrest can successfully build for ripcurrentpro and on CM devices: https://android-build.corp.google.com/builds/abtd/run/L56200030007746343.
Bug: 378811601
Flag: build.RELEASE_PIXEL_GIA_ENABLED
Change-Id: If8a248b1f8f9a9cd82ea1a26aeb5244ec1de12bc
Signed-off-by: Kai Hsieh <kaihsieh@google.com>
This commit is contained in:
Kai Hsieh 2024-11-13 16:06:54 +08:00
parent a419a7b54b
commit 3b4a0bed51

View file

@ -584,6 +584,10 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
ifneq (,$(filter ripcurrentpro, $(TARGET_PRODUCT)))
include device/google/gs-common/touch/gti/gti.mk
endif
# Sensors # Sensors
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \