Merge "Pass TARGET_BUILD_PDK to soong" am: 7bc6eb12f4

am: 999cc61a33

Change-Id: I29dad564098ae4bc2b61a8ccde73622b8187d44e
This commit is contained in:
Colin Cross 2017-05-26 19:42:54 +00:00 committed by android-build-merger
commit a7f07f6750
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 ''; \