From ee3e950db23a452b801ce3f0729b3252ca00121a Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Tue, 29 Aug 2023 15:58:31 -0500 Subject: [PATCH] sm8350-common: Add vendor soong imports to extract Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a --- setup-makefiles.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 818c07f..f6e2fcb 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -20,6 +20,19 @@ if [ ! -f "${HELPER}" ]; then fi source "${HELPER}" +function vendor_imports() { + cat << EOF >> "$1" + "device/xiaomi/sm8350-common", + "hardware/qcom-caf/sm8350", + "hardware/qcom-caf/wlan", + "hardware/xiaomi", + "vendor/qcom/opensource/commonsys/display", + "vendor/qcom/opensource/commonsys-intf/display", + "vendor/qcom/opensource/dataservices", + "vendor/qcom/opensource/display", +EOF +} + # Initialize the helper for common setup_vendor "${DEVICE_COMMON}" "${VENDOR_COMMON:-$VENDOR}" "${ANDROID_ROOT}" true