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