Speed up oriole and raven 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: I0038c145ecd7061185e59aecceaa5b83ed32d846
diff --git a/device-oriole.mk b/device-oriole.mk
index 298b1d9..5866a6f 100644
--- a/device-oriole.mk
+++ b/device-oriole.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/raviole-kernel
TARGET_BOARD_KERNEL_HEADERS := device/google/raviole-kernel/kernel-headers