Build module-info.json in dist

This is needed for test mapping to have module-info.json built out for
device targets so that test harness can do some checks to ensure the
test is properly configured in TEST_MAPPING files.

module-info has alreay depended on droidcore, which will be
built out in the infrastructure.

Verified in a forrest run: https://android-build.googleplex.com/builds/forrest/run/L81000000840964024

Bug: 154931418
Test: m -j droidcore
      m -j module-info
Change-Id: I76b97debe3fbd51c2dc033c91ed9c2eb73cfa8a2
This commit is contained in:
easoncylee 2021-03-22 16:30:17 +08:00 committed by Chun-Yi Lee
parent 680a642645
commit 330af541eb

View file

@ -29,3 +29,4 @@ $(MODULE_INFO_JSON):
droidcore: $(MODULE_INFO_JSON)
$(call dist-for-goals, general-tests, $(MODULE_INFO_JSON))
$(call dist-for-goals, droidcore, $(MODULE_INFO_JSON))