Speed up husky, ripcurrent and shiba 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, abdt for the relevant builds Change-Id: Id5faa1697aa430039a5fa939c4ad8403d641e566
This commit is contained in:
parent
674a013140
commit
4f1cfc7b35
3 changed files with 9 additions and 0 deletions
|
@ -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/shusky-kernel
|
||||
TARGET_BOARD_KERNEL_HEADERS := device/google/shusky-kernel/kernel-headers
|
||||
|
||||
|
|
|
@ -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/shusky-kernel
|
||||
TARGET_BOARD_KERNEL_HEADERS := device/google/shusky-kernel/kernel-headers
|
||||
|
||||
|
|
|
@ -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/shusky-kernel
|
||||
TARGET_BOARD_KERNEL_HEADERS := device/google/shusky-kernel/kernel-headers
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue