From 9265c3258f9f9abca3991c5852c69f7efbcf18e1 Mon Sep 17 00:00:00 2001 From: Wayne Lin Date: Fri, 3 Dec 2021 12:03:45 +0800 Subject: [PATCH] Add gps.xml for P22 Add customized gps.xml for P22 project Bug: 208725716 Test: build pass Change-Id: I9464daf47668c033d17b3b56497999e1bbc3346c --- device-cheetah.mk | 9 ++++ device-cloudripper.mk | 9 ++++ device-panther.mk | 9 ++++ device-ravenclaw.mk | 9 ++++ location/gps.xml | 88 +++++++++++++++++++++++++++++++++++++++ location/gps.xml.c10 | 88 +++++++++++++++++++++++++++++++++++++++ location/gps.xml.p10 | 88 +++++++++++++++++++++++++++++++++++++++ location/gps_user.xml | 87 ++++++++++++++++++++++++++++++++++++++ location/gps_user.xml.c10 | 87 ++++++++++++++++++++++++++++++++++++++ location/gps_user.xml.p10 | 87 ++++++++++++++++++++++++++++++++++++++ 10 files changed, 561 insertions(+) create mode 100644 location/gps.xml create mode 100644 location/gps.xml.c10 create mode 100644 location/gps.xml.p10 create mode 100644 location/gps_user.xml create mode 100644 location/gps_user.xml.c10 create mode 100644 location/gps_user.xml.p10 diff --git a/device-cheetah.mk b/device-cheetah.mk index c128bd4..bdccead 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -157,3 +157,12 @@ PRODUCT_PACKAGES += \ # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts + +# Location +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps.xml.c10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +else + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps_user.xml.c10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +endif diff --git a/device-cloudripper.mk b/device-cloudripper.mk index 0176ec1..4ac2ed0 100644 --- a/device-cloudripper.mk +++ b/device-cloudripper.mk @@ -140,3 +140,12 @@ PRODUCT_PACKAGES += \ # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts + +# Location +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +else + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps_user.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +endif diff --git a/device-panther.mk b/device-panther.mk index 2fbf95d..9f08c4c 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -154,3 +154,12 @@ PRODUCT_PACKAGES += \ # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts + +# Location +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps.xml.p10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +else + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps_user.xml.p10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +endif diff --git a/device-ravenclaw.mk b/device-ravenclaw.mk index 7862da4..9db0f3c 100644 --- a/device-ravenclaw.mk +++ b/device-ravenclaw.mk @@ -150,3 +150,12 @@ PRODUCT_PACKAGES += \ # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts + +# Location +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +else + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps_user.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +endif diff --git a/location/gps.xml b/location/gps.xml new file mode 100644 index 0000000..00cc8f4 --- /dev/null +++ b/location/gps.xml @@ -0,0 +1,88 @@ + + + + + + + + + + diff --git a/location/gps.xml.c10 b/location/gps.xml.c10 new file mode 100644 index 0000000..00cc8f4 --- /dev/null +++ b/location/gps.xml.c10 @@ -0,0 +1,88 @@ + + + + + + + + + + diff --git a/location/gps.xml.p10 b/location/gps.xml.p10 new file mode 100644 index 0000000..00cc8f4 --- /dev/null +++ b/location/gps.xml.p10 @@ -0,0 +1,88 @@ + + + + + + + + + + diff --git a/location/gps_user.xml b/location/gps_user.xml new file mode 100644 index 0000000..f8b182e --- /dev/null +++ b/location/gps_user.xml @@ -0,0 +1,87 @@ + + + + + + + + + + diff --git a/location/gps_user.xml.c10 b/location/gps_user.xml.c10 new file mode 100644 index 0000000..f8b182e --- /dev/null +++ b/location/gps_user.xml.c10 @@ -0,0 +1,87 @@ + + + + + + + + + + diff --git a/location/gps_user.xml.p10 b/location/gps_user.xml.p10 new file mode 100644 index 0000000..f8b182e --- /dev/null +++ b/location/gps_user.xml.p10 @@ -0,0 +1,87 @@ + + + + + + + + + +