sm8450-common: Add vendor soong imports to extract
Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a
This commit is contained in:
parent
050bff1e80
commit
0969c4b7a1
1 changed files with 13 additions and 0 deletions
|
@ -21,6 +21,18 @@ if [ ! -f "${HELPER}" ]; then
|
|||
fi
|
||||
source "${HELPER}"
|
||||
|
||||
function vendor_imports() {
|
||||
cat << EOF >> "$1"
|
||||
"device/xiaomi/sm8450-common",
|
||||
"hardware/qcom-caf/sm8450",
|
||||
"hardware/qcom-caf/wlan",
|
||||
"hardware/xiaomi",
|
||||
"vendor/qcom/opensource/commonsys/display",
|
||||
"vendor/qcom/opensource/commonsys-intf/display",
|
||||
"vendor/qcom/opensource/dataservices",
|
||||
EOF
|
||||
}
|
||||
|
||||
# Initialize the helper for common
|
||||
setup_vendor "${DEVICE_COMMON}" "${VENDOR_COMMON:-$VENDOR}" "${ANDROID_ROOT}" true
|
||||
|
||||
|
@ -35,6 +47,7 @@ write_footers
|
|||
|
||||
if [ -s "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-files.txt" ]; then
|
||||
# Reinitialize the helper for device
|
||||
source "${MY_DIR}/../${DEVICE}/setup-makefiles.sh"
|
||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false
|
||||
|
||||
# Warning headers and guards
|
||||
|
|
Loading…
Reference in a new issue