MiuiCamera: Add vendor soong imports to extract

Inspired from sm8250-common: Add vendor soong imports to extract [c8096b98e8]

- Also includes Alioth and sm8250-common repos

Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
This commit is contained in:
johnmart19
2024-10-07 21:50:20 +03:00
parent 588f5f5b42
commit c203475214
2 changed files with 25 additions and 0 deletions

View File

@@ -27,6 +27,21 @@ if [ ! -f "${HELPER}" ]; then
fi
source "${HELPER}"
function vendor_imports() {
cat <<EOF >>"$1"
"device/xiaomi/alioth",
"device/xiaomi/sm8250-common",
"hardware/qcom-caf/common/libqti-perfd-client",
"hardware/qcom-caf/sm8250",
"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
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" true