diff --git a/core/envsetup.mk b/core/envsetup.mk index ccd156b3e0..08b2321741 100644 --- a/core/envsetup.mk +++ b/core/envsetup.mk @@ -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 diff --git a/core/soong_config.mk b/core/soong_config.mk index 977b35c1ee..e21083d7c3 100644 --- a/core/soong_config.mk +++ b/core/soong_config.mk @@ -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 ''; \