sm6225-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 Michael Bestas
parent 378d026b31
commit d040357505
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -22,6 +22,16 @@ if [ ! -f "${HELPER}" ]; then
fi fi
source "${HELPER}" source "${HELPER}"
function vendor_imports() {
cat <<EOF >>"$1"
"device/motorola/sm6225-common",
"hardware/qcom-caf/sm8250",
"hardware/qcom-caf/wlan",
"vendor/qcom/opensource/dataservices",
"vendor/qcom/opensource/display",
EOF
}
# Initialize the helper for common # Initialize the helper for common
setup_vendor "${DEVICE_COMMON}" "${VENDOR_COMMON:-$VENDOR}" "${ANDROID_ROOT}" true setup_vendor "${DEVICE_COMMON}" "${VENDOR_COMMON:-$VENDOR}" "${ANDROID_ROOT}" true
@ -36,6 +46,7 @@ write_footers
if [ -s "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-files.txt" ]; then if [ -s "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-files.txt" ]; then
# Reinitialize the helper for device # Reinitialize the helper for device
source "${MY_DIR}/../../${VENDOR}/${DEVICE}/setup-makefiles.sh"
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false
# Warning headers and guards # Warning headers and guards