diff --git a/device-husky.mk b/device-husky.mk index f41d0d9..915eae7 100644 --- a/device-husky.mk +++ b/device-husky.mk @@ -246,6 +246,16 @@ PRODUCT_PACKAGES += \ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts # Location +# SDK build system +ifneq ($(BOARD_WITHOUT_RADIO),true) +# Release stable version to factory image +ifneq ($(filter factory_%,$(TARGET_PRODUCT)),) + include device/google/gs-common/gps/brcm/device.mk +else + include device/google/gs-common/gps/brcm/device_v2.mk +endif +endif + PRODUCT_COPY_FILES += \ device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer diff --git a/device-ripcurrent.mk b/device-ripcurrent.mk index a0fdfd5..a3fda5c 100644 --- a/device-ripcurrent.mk +++ b/device-ripcurrent.mk @@ -206,6 +206,16 @@ PRODUCT_PACKAGES += \ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts # Location +# SDK build system +ifneq ($(BOARD_WITHOUT_RADIO),true) +# Release stable version to factory image +ifneq ($(filter factory_%,$(TARGET_PRODUCT)),) + include device/google/gs-common/gps/brcm/device.mk +else + include device/google/gs-common/gps/brcm/device_v2.mk +endif +endif + PRODUCT_COPY_FILES += \ device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer diff --git a/device-shiba.mk b/device-shiba.mk index 700d0de..ef424c8 100644 --- a/device-shiba.mk +++ b/device-shiba.mk @@ -236,6 +236,16 @@ PRODUCT_PACKAGES += \ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts # Location +# SDK build system +ifneq ($(BOARD_WITHOUT_RADIO),true) +# Release stable version to factory image +ifneq ($(filter factory_%,$(TARGET_PRODUCT)),) + include device/google/gs-common/gps/brcm/device.mk +else + include device/google/gs-common/gps/brcm/device_v2.mk +endif +endif + PRODUCT_COPY_FILES += \ device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer