From a4a355df8f149bf0a1c64b5a121007428d139e1a Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Tue, 29 Aug 2023 15:58:31 -0500 Subject: [PATCH] sm7325-common: Add vendor soong imports to extract Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a --- setup-makefiles.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 2cfd8a8..bd32895 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -23,6 +23,16 @@ if [ ! -f "${HELPER}" ]; then fi source "${HELPER}" +function vendor_imports() { + cat <>"$1" + "device/motorola/sm7325-common", + "hardware/qcom-caf/sm8350", + "hardware/qcom-caf/wlan", + "vendor/qcom/opensource/dataservices", + "vendor/qcom/opensource/display", +EOF +} + # Initialize the helper for common setup_vendor "${DEVICE_COMMON}" "${VENDOR_COMMON:-$VENDOR}" "${ANDROID_ROOT}" true @@ -37,6 +47,7 @@ write_footers if [ -s "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-files.txt" ]; then # Reinitialize the helper for device + source "${MY_DIR}/../../${VENDOR}/${DEVICE}/setup-makefiles.sh" setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false # Warning headers and guards