Fix the source paths of the bluetooth csv files

The source files currently referenced with LOCAL_PATH, which is
not always correctly set. Fix the paths by using the fullpath
from the AOSP root instead.

Tests:
- CI for felix
- Locally built lunch combo for felix on staging kernel.

Bug: 277993984
Change-Id: I014ab23d480751d219e2c3fc4da457b6b4664866
Signed-off-by: Samuel Gosselin <sgosselin@google.com>
This commit is contained in:
Samuel Gosselin 2023-06-07 18:49:00 +00:00
parent 88a27e3d64
commit 22bbfc3d3e

View file

@ -136,10 +136,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
# Bluetooth Tx power caps
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_felix_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_felix_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_JP.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_felix_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_EU.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_felix_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_US.csv
device/google/felix/bluetooth/bluetooth_power_limits_felix_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
device/google/felix/bluetooth/bluetooth_power_limits_felix_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_JP.csv \
device/google/felix/bluetooth/bluetooth_power_limits_felix_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_EU.csv \
device/google/felix/bluetooth/bluetooth_power_limits_felix_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_US.csv
# Spatial Audio
PRODUCT_PACKAGES += \