gps: separate gps build system to device
Bug: 288813677 Test: compile for different devices and check binary. Test: verification test at b/288813677 Change-Id: I7591af58423d4d2826a7c5e9ba166ed0e729d932
This commit is contained in:
parent
8c61b519ed
commit
ad520e59a4
3 changed files with 30 additions and 0 deletions
|
@ -238,6 +238,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
|
||||
|
||||
|
|
|
@ -203,6 +203,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
|
||||
|
||||
|
|
|
@ -229,6 +229,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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue