forked from openkylin/platform_build
Merge "Fix ALLOW_MISSING_DEPENDENCIES in PDK builds"
am: 8340ae35a7
Change-Id: I81e05ddc32771d114d5962c5c86f97dfc4bed742
This commit is contained in:
commit
c1fa14696a
|
@ -476,6 +476,23 @@ endif
|
|||
|
||||
BUILD_PLATFORM_ZIP := $(filter platform platform-java,$(MAKECMDGOALS))
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Whether we can expect a full build graph
|
||||
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
|
||||
ifneq ($(ONE_SHOT_MAKEFILE),)
|
||||
ALLOW_MISSING_DEPENDENCIES := true
|
||||
endif
|
||||
.KATI_READONLY := ALLOW_MISSING_DEPENDENCIES
|
||||
|
||||
#
|
||||
# Tools that are prebuilts for TARGET_BUILD_APPS
|
||||
#
|
||||
|
|
|
@ -78,23 +78,6 @@ $(foreach v,$(ENABLED_VERSIONS), \
|
|||
# buildspec.mk.default and envsetup.sh.
|
||||
CORRECT_BUILD_ENV_SEQUENCE_NUMBER := 13
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Whether we can expect a full build graph
|
||||
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
|
||||
ifneq ($(ONE_SHOT_MAKEFILE),)
|
||||
ALLOW_MISSING_DEPENDENCIES := true
|
||||
endif
|
||||
.KATI_READONLY := ALLOW_MISSING_DEPENDENCIES
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# The product defaults to generic on hardware
|
||||
# NOTE: This will be overridden in product_config.mk if make
|
||||
|
|
Loading…
Reference in New Issue