forked from openkylin/platform_build
Disable required modules check on darwin
Bug: 162102724
Test: `make sdk` on darwin
Change-Id: Ib89ef776475c5a20574f78188a2b5cad5fdd8f00
Merged-In: Ib89ef776475c5a20574f78188a2b5cad5fdd8f00
(cherry picked from commit 4d2ea47f06
)
This commit is contained in:
parent
64faf88940
commit
9ce76bb1c4
|
@ -705,6 +705,9 @@ $(call select-bitness-of-target-host-required-modules,TARGET,HOST)
|
|||
$(call select-bitness-of-target-host-required-modules,HOST,TARGET)
|
||||
_nonexistent_required := $(sort $(_nonexistent_required))
|
||||
|
||||
# HOST OS darwin build is broken, disable this check for darwin for now.
|
||||
# TODO(b/162102724): Remove this
|
||||
ifeq (,$(filter $(HOST_OS),darwin))
|
||||
ifeq (,$(filter true,$(ALLOW_MISSING_DEPENDENCIES) $(BUILD_BROKEN_MISSING_REQUIRED_MODULES)))
|
||||
ifneq (,$(_nonexistent_required))
|
||||
$(warning Missing required dependencies:)
|
||||
|
@ -716,6 +719,7 @@ ifneq (,$(_nonexistent_required))
|
|||
$(error Build failed)
|
||||
endif # _nonexistent_required != empty
|
||||
endif # ALLOW_MISSING_DEPENDENCIES != true && BUILD_BROKEN_MISSING_REQUIRED_MODULES != true
|
||||
endif # HOST_OS != darwin
|
||||
|
||||
define add-required-deps
|
||||
$(1): | $(2)
|
||||
|
|
Loading…
Reference in New Issue