sm8350-common: Add vendor soong imports to extract

Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a
This commit is contained in:
Aaron Kling 2023-08-29 15:58:31 -05:00 committed by FlowerSea0208
parent b1e890a14c
commit ee3e950db2

View File

@ -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