Merge "Update init.rc prebuilt handling"

This commit is contained in:
Christian Wailes
2021-04-28 16:41:09 +00:00
committed by Gerrit Code Review

View File

@@ -2544,8 +2544,12 @@ endef
# $(1): source file # $(1): source file
# $(2): destination file # $(2): destination file
define copy-init-script-file-checked define copy-init-script-file-checked
ifdef TARGET_BUILD_UNBUNDLED
# TODO (b/185624993): Remove the chck on TARGET_BUILD_UNBUNDLED when host_init_verifier can run
# without requiring the HIDL interface map.
$(2): $(1)
else ifneq ($(HOST_OS),darwin)
# Host init verifier doesn't exist on darwin. # Host init verifier doesn't exist on darwin.
ifneq ($(HOST_OS),darwin)
$(2): \ $(2): \
$(1) \ $(1) \
$(HOST_INIT_VERIFIER) \ $(HOST_INIT_VERIFIER) \