From dff29fe5f894e42f00806a7ccb57bee42df392c8 Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Tue, 29 Aug 2023 15:58:31 -0500 Subject: [PATCH] shusky: Add vendor soong imports to extract Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a --- husky/setup-makefiles.sh | 11 +++++++++++ shiba/setup-makefiles.sh | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/husky/setup-makefiles.sh b/husky/setup-makefiles.sh index 2b84521..8bc6ed4 100755 --- a/husky/setup-makefiles.sh +++ b/husky/setup-makefiles.sh @@ -25,6 +25,17 @@ if [ ! -f "${HELPER}" ]; then fi source "${HELPER}" +function vendor_imports() { + cat <>"$1" + "device/google/shusky", + "hardware/google/av", + "hardware/google/gchips", + "hardware/google/graphics/common", + "hardware/google/interfaces", + "hardware/google/pixel", +EOF +} + # Initialize the helper setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" diff --git a/shiba/setup-makefiles.sh b/shiba/setup-makefiles.sh index 2398058..8f164f4 100755 --- a/shiba/setup-makefiles.sh +++ b/shiba/setup-makefiles.sh @@ -25,6 +25,17 @@ if [ ! -f "${HELPER}" ]; then fi source "${HELPER}" +function vendor_imports() { + cat <>"$1" + "device/google/shusky", + "hardware/google/av", + "hardware/google/gchips", + "hardware/google/graphics/common", + "hardware/google/interfaces", + "hardware/google/pixel", +EOF +} + # Initialize the helper setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}"