Changes host_init_verifier to use hidl interface inheritance hierarchy.
Bug: 118016875
Test: Added 'interface' lines to an init_rc file and observed errors
when misspelled or missing entire inheritance hierarchy.
Change-Id: I71d515e0c12ed74800b9536f07da9fc7bb69597e
diff --git a/core/definitions.mk b/core/definitions.mk
index 343afff..b8e83ec 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -2452,9 +2452,9 @@
$(2): \
$(1) \
$(HOST_INIT_VERIFIER) \
- $(KNOWN_HIDL_INTERFACES) \
+ $(HIDL_INHERITANCE_HIERARCHY) \
$(call intermediates-dir-for,ETC,passwd)/passwd
- $(hide) $(HOST_INIT_VERIFIER) -p $(call intermediates-dir-for,ETC,passwd)/passwd -k $(KNOWN_HIDL_INTERFACES) $$<
+ $(hide) $(HOST_INIT_VERIFIER) -p $(call intermediates-dir-for,ETC,passwd)/passwd -i $(HIDL_INHERITANCE_HIERARCHY) $$<
else
$(2): $(1)
endif