From 330af541eb4d2eea06af03f5a1b59717b0565c86 Mon Sep 17 00:00:00 2001 From: easoncylee Date: Mon, 22 Mar 2021 16:30:17 +0800 Subject: [PATCH] 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 --- core/tasks/module-info.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/core/tasks/module-info.mk b/core/tasks/module-info.mk index 4bbfd398a..c866259ee 100644 --- a/core/tasks/module-info.mk +++ b/core/tasks/module-info.mk @@ -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))