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: Id43164ae2a106d6d384cd90b2f4191e53b3d34da
This commit is contained in:
Cole Faust 2023-10-06 15:04:13 -07:00
parent 1fba35369d
commit 4e3ea6e815
4 changed files with 113 additions and 32 deletions

View file

@ -25,6 +25,8 @@ $(call inherit-product-if-exists, vendor/google_devices/felix/proprietary/felix/
$(call inherit-product-if-exists, vendor/google_devices/felix/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/felix/proprietary/WallpapersFelix.mk)
$(call inherit-product, device/google/felix/uwb/uwb_calibration_country.mk)
DEVICE_PACKAGE_OVERLAYS += device/google/felix/felix/overlay
include device/google/felix/audio/felix/audio-tables.mk