Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22752c9b authored by Sasha Smundak's avatar Sasha Smundak Committed by Automerger Merge Worker
Browse files

Replace shell invocation of find with wildcard expansion. am: ff64e3e0 am: 8a1897f5

Original change: https://android-review.googlesource.com/c/device/google/redfin/+/1665022

Change-Id: I0953b1a89aaa7e5fe2a032f95f8267c37880720d
parents 9b41fbfd 8a1897f5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -44,11 +44,11 @@ DEVICE_PACKAGE_OVERLAYS += device/google/redfin/redfin/overlay
# Audio XMLs for redfin
ifeq ($(wildcard vendor/google_fih/redfin/factory/prebuilt/ftm.mk),)
PRODUCT_COPY_FILES += \
    $(foreach f,$(shell find $(LOCAL_PATH)/audio/ -type f -name "audio_platform_info*.xml"),$(f):$(TARGET_COPY_OUT_VENDOR)/etc/$(notdir $(f)))
    $(call find-copy-subdir-files,audio_platform_info*.xml,$(LOCAL_PATH)/audio,$(TARGET_COPY_OUT_VENDOR)/etc)
endif

PRODUCT_COPY_FILES += \
    $(foreach f,$(shell find $(LOCAL_PATH)/audio/ -type f -name "mixer_paths*.xml"),$(f):$(TARGET_COPY_OUT_VENDOR)/etc/$(notdir $(f))) \
    $(call find-copy-subdir-files,mixer_paths*.xml,$(LOCAL_PATH)/audio,$(TARGET_COPY_OUT_VENDOR)/etc) \
    $(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \
    $(LOCAL_PATH)/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
    $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \