From 306157f1a5d66bdfec247e3ca054cf6e84d5c8eb Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Fri, 14 Apr 2023 11:01:58 -0700 Subject: [PATCH] Speed up bluejay builds by excluding code that can never be used. Uses the new PRODUCT_SOURCE_ROOT_DIRS flag, and the file list for pixel in vendor/google/products/sources_pixel.mk Test: treehugger, abtd for the relevant buidls Change-Id: I0f91a3743f29c1a9ca525f19d38b1394da667692 --- device-bluejay.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/device-bluejay.mk b/device-bluejay.mk index 6bd73da..ea9cbb7 100644 --- a/device-bluejay.mk +++ b/device-bluejay.mk @@ -14,6 +14,9 @@ # limitations under the License. # +# Restrict the visibility of Android.bp files to improve build analysis time +$(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk) + TARGET_KERNEL_DIR ?= device/google/bluejay-kernel TARGET_BOARD_KERNEL_HEADERS := device/google/bluejay-kernel/kernel-headers