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:
10
Android.bp
10
Android.bp
@@ -4,6 +4,16 @@
|
|||||||
|
|
||||||
soong_namespace {
|
soong_namespace {
|
||||||
imports: [
|
imports: [
|
||||||
|
"vendor/xiaomi/alioth",
|
||||||
|
"vendor/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",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,21 @@ if [ ! -f "${HELPER}" ]; then
|
|||||||
fi
|
fi
|
||||||
source "${HELPER}"
|
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
|
# Initialize the helper
|
||||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" true
|
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user