Modify gnss device.mk to support new projects

Copy default gps.xml to only specific projects under gs101 and maintain
new projects in their own folders.

Bug: 203745796

Test: Build test and check config

Change-Id: Ic0b6f8a6e41063f5c42573aea91650007963912b
This commit is contained in:
Joe Huang 2021-10-27 11:46:14 +08:00
parent 5bcfdac788
commit 987378054f

View file

@ -25,7 +25,7 @@ else ifneq (,$(filter oriole, $(subst _, ,$(TARGET_PRODUCT))))
else else
PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps_user.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps_user.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif endif
else else ifneq (,$(filter slider whitefin, $(subst _, ,$(TARGET_PRODUCT))))
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else else