move brcm gps solution to gs-common
Bug: 254758553
Test: google map can locate on pixel
Change-Id: I0bee1c5b03b58f8fddda21b19817e2430462d14a
diff --git a/device-whitefin.mk b/device-whitefin.mk
index 6ba5b21..0cbd1a3 100644
--- a/device-whitefin.mk
+++ b/device-whitefin.mk
@@ -100,3 +100,13 @@
# Device features
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
+
+# Location
+ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
+ PRODUCT_COPY_FILES += \
+ device/google/raviole/location/gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
+else
+ PRODUCT_COPY_FILES += \
+ device/google/raviole/location/gps_user.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
+endif
+