Merge "Pass TARGET_BUILD_PDK to soong"

am: 7bc6eb12f4

Change-Id: Ice6f5402d0f1e5af1bb36b71e3888c04ff6bb492
This commit is contained in:
Colin Cross 2017-05-26 19:39:54 +00:00 committed by android-build-merger
commit 999cc61a33
2 changed files with 4 additions and 0 deletions

View file

@ -84,6 +84,9 @@ ALLOW_MISSING_DEPENDENCIES := $(filter true,$(ALLOW_MISSING_DEPENDENCIES))
ifneq ($(TARGET_BUILD_APPS),)
ALLOW_MISSING_DEPENDENCIES := true
endif
ifeq ($(TARGET_BUILD_PDK),true)
ALLOW_MISSING_DEPENDENCIES := true
endif
ifneq ($(filter true,$(SOONG_ALLOW_MISSING_DEPENDENCIES)),)
ALLOW_MISSING_DEPENDENCIES := true
endif

View file

@ -81,6 +81,7 @@ $(SOONG_VARIABLES): FORCE
echo ' "Device_uses_hwc2": $(if $(filter true,$(TARGET_USES_HWC2)),true,false),'; \
echo ' "Override_rs_driver": "$(OVERRIDE_RS_DRIVER)",'; \
echo ' "Treble": $(if $(filter true,$(PRODUCT_FULL_TREBLE)),true,false),'; \
echo ' "Pdk": $(if $(filter true,$(TARGET_BUILD_PDK)),true,false),'; \
echo ''; \
echo ' "ArtUseReadBarrier": $(if $(filter false,$(PRODUCT_ART_USE_READ_BARRIER)),false,true),'; \
echo ''; \