• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PRODUCT_COPY_FILES += \
2	frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
3	device/google/gs101/gnss/47765/config/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer \
4	device/google/gs101/gnss/47765/firmware/SensorHub.patch:$(TARGET_COPY_OUT_VENDOR)/firmware/SensorHub.patch
5
6ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
7	PRODUCT_COPY_FILES += \
8		device/google/gs101/gnss/47765/config/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
9		device/google/gs101/gnss/47765/config/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
10else
11	PRODUCT_COPY_FILES += \
12		device/google/gs101/gnss/47765/config/lhd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
13		device/google/gs101/gnss/47765/config/scd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
14endif
15
16ifneq (,$(filter raven, $(subst _, ,$(TARGET_PRODUCT))))
17	ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
18		PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
19	else
20		PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps_user.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
21	endif
22else ifneq (,$(filter oriole, $(subst _, ,$(TARGET_PRODUCT))))
23	ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
24		PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
25	else
26		PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps_user.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
27	endif
28else ifneq (,$(filter slider whitefin, $(subst _, ,$(TARGET_PRODUCT))))
29	ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
30		PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
31	else
32		PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps_user.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
33	endif
34endif
35
36PRODUCT_SOONG_NAMESPACES += \
37	device/google/gs101/gnss/47765
38
39PRODUCT_PACKAGES += \
40	android.hardware.gnss@2.1-impl-google \
41	gps.default \
42	flp.default \
43	gpsd \
44	lhd \
45	scd \
46	android.hardware.gnss@2.1-service-brcm
47
48PRODUCT_PACKAGES_DEBUG += \
49	init.gps_log.rc
50