Update init.rc prebuilt handling
This CL modifies the build system to skip checking of init.rc files if TARGET_BUILD_UNBUNDLED is set. This is necessary because several of the artifacts required by the host_init_verifier program aren't present in unbundled builds. Test: m Change-Id: I37be43af81057c5adddc1b80a04d74a090183bc7
This commit is contained in:
parent
37b11b8cfb
commit
095bc7d668
|
@ -2544,8 +2544,12 @@ endef
|
|||
# $(1): source file
|
||||
# $(2): destination file
|
||||
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.
|
||||
ifneq ($(HOST_OS),darwin)
|
||||
$(2): \
|
||||
$(1) \
|
||||
$(HOST_INIT_VERIFIER) \
|
||||
|
|
Loading…
Reference in New Issue