Use PRODUCT_COPY_FILES to install uwb country files

Previously, these files were installed with a custom $(shell) command
in an Android.mk file. This doesn't let the build system know that
these files exist, and breaks hermetic partition builds.

Instead, install them with PRODUCT_COPY_FILES, and add a check that
the list is up-to-date.

Bug: 205632228
Test: Presubmits
Change-Id: I29bf9d51e7341643e441fa7e1f43a6b4f9af84f0
This commit is contained in:
Cole Faust 2023-10-06 15:03:40 -07:00
parent 3ebad0b33f
commit e4dd513cc5
4 changed files with 89 additions and 32 deletions

View file

@ -27,6 +27,8 @@ $(call inherit-product-if-exists, vendor/google_devices/tangorpro/proprietary/ta
$(call inherit-product-if-exists, vendor/google_devices/tangorpro/proprietary/WallpapersTangorpro.mk)
$(call inherit-product-if-exists, vendor/google_devices/tangorpro/proprietary/device-vendor.mk)
$(call inherit-product, device/google/tangorpro/uwb/uwb_calibration_country.mk)
DEVICE_PACKAGE_OVERLAYS += device/google/tangorpro/tangorpro/overlay
PRODUCT_SOONG_NAMESPACES += device/google/tangorpro
PRODUCT_PACKAGES += \