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
This commit is contained in:
Joe Onorato 2023-04-14 11:01:58 -07:00
parent 07f3635e54
commit 306157f1a5

View file

@ -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