device_google_tegu/location/device-gnss.mk
Edwin Tung 31cd9f16ea gps: move gnss to vendor
Bug: 322917971
Test: GPS works

Change-Id: I703a93cfc7ddb8b73df179fbebc7124100d4ea5b
2024-03-05 15:04:49 +08:00

19 lines
642 B
Makefile

# include common gnss binaries
include vendor/samsung_slsi/gps/s5300/gnss_release.mk
# include customized gps config files
PRODUCT_COPY_FILES += \
device/google/tegu/location/ca.pem:vendor/etc/gnss/ca.pem
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/tegu/location/gps.cfg:vendor/etc/gnss/gps.cfg
PRODUCT_VENDOR_PROPERTIES += \
vendor.gps.aol.enabled=true
else
PRODUCT_COPY_FILES += \
device/google/tegu/location/gps_user.cfg:vendor/etc/gnss/gps.cfg
endif
# include pixel gnss hal service
include device/google/gs-common/gps/pixel/pixel_gnss_hal.mk