Speed up felix 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: Ia82de77b8b90399b1d0527361212acbf649ff3e3
This commit is contained in:
Joe Onorato 2023-04-14 11:57:38 -07:00
parent 13727a06e2
commit 08152516c5

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/felix-kernel
TARGET_BOARD_KERNEL_HEADERS := device/google/felix-kernel/kernel-headers
TARGET_RECOVERY_DEFAULT_ROTATION := ROTATION_RIGHT