Speed up cheetah, cloudripper, pantherand ravenclaw 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: I7d509f93e41aa6018ad597da2da8157b20bce755
This commit is contained in:
parent
7dd5ce4738
commit
0701e32750
4 changed files with 12 additions and 0 deletions
|
@ -14,6 +14,9 @@
|
||||||
# limitations under the License.
|
# 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/pantah-kernel
|
TARGET_KERNEL_DIR ?= device/google/pantah-kernel
|
||||||
TARGET_BOARD_KERNEL_HEADERS := device/google/pantah-kernel/kernel-headers
|
TARGET_BOARD_KERNEL_HEADERS := device/google/pantah-kernel/kernel-headers
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,9 @@
|
||||||
# limitations under the License.
|
# 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/pantah-kernel
|
TARGET_KERNEL_DIR ?= device/google/pantah-kernel
|
||||||
TARGET_BOARD_KERNEL_HEADERS := device/google/pantah-kernel/kernel-headers
|
TARGET_BOARD_KERNEL_HEADERS := device/google/pantah-kernel/kernel-headers
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,9 @@
|
||||||
# limitations under the License.
|
# 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/pantah-kernel
|
TARGET_KERNEL_DIR ?= device/google/pantah-kernel
|
||||||
TARGET_BOARD_KERNEL_HEADERS := device/google/pantah-kernel/kernel-headers
|
TARGET_BOARD_KERNEL_HEADERS := device/google/pantah-kernel/kernel-headers
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,9 @@
|
||||||
# limitations under the License.
|
# 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/pantah-kernel
|
TARGET_KERNEL_DIR ?= device/google/pantah-kernel
|
||||||
TARGET_BOARD_KERNEL_HEADERS := device/google/pantah-kernel/kernel-headers
|
TARGET_BOARD_KERNEL_HEADERS := device/google/pantah-kernel/kernel-headers
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue