Add gralloc switch

Bug: 207452098
Test: Boot to home
Change-Id: Icaac6d24f31f3a1eed5a4ad7997301b016274362
This commit is contained in:
Ankit Goyal 2021-11-29 17:13:15 +08:00 committed by TreeHugger Robot
parent 5eeaade7a4
commit ebda67edee

View file

@ -34,6 +34,14 @@ VENDOR_SECURITY_PATCH = $(PLATFORM_SECURITY_PATCH)
# Set boot SPL
BOOT_SECURITY_PATCH = $(PLATFORM_SECURITY_PATCH)
# TODO(b/207450311): Remove this flag once implemented
USE_PIXEL_GRALLOC := false
ifeq ($(USE_PIXEL_GRALLOC),true)
PRODUCT_SOONG_NAMESPACES += hardware/google/gchips/GrallocHAL
else
PRODUCT_SOONG_NAMESPACES += hardware/google/gchips/gralloc4
endif
PRODUCT_SOONG_NAMESPACES += \
hardware/google/av \
hardware/google/gchips \