Merge "Fix non-existent module error" am: 1173476551

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1398408

Change-Id: I5f7e98723834ca9c2bdb4175d894a4a6a8177c5b
This commit is contained in:
Treehugger Robot 2020-08-12 19:58:10 +00:00 committed by Automerger Merge Worker
commit 47d5a1f03f

View file

@ -119,6 +119,13 @@ LOCAL_SANITIZE := signed-integer-overflow
# First stage init is weird: it may start without stdout/stderr, and no /proc.
LOCAL_NOSANITIZE := hwaddress
include $(BUILD_EXECUTABLE)
# LOCAL_FORCE_STATIC_EXECUTABLE targets are skipped and not defined for ASAN builds
init_vendor_deps :=
ifneq (true,$(my_skip_this_target))
init_vendor_deps += init_first_stage
endif # my_skip_this_target is true
endif
include $(CLEAR_VARS)
@ -133,8 +140,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := init_vendor
ifneq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE),true)
LOCAL_REQUIRED_MODULES := \
init_first_stage \
LOCAL_REQUIRED_MODULES := $(init_vendor_deps)
endif
include $(BUILD_PHONY_PACKAGE)
init_vendor_deps :=