Generate actions when building the module graph. am: eb0454b2a4 am: 893308aa08 am: f66d5035fd

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1870487

Change-Id: I69cddf1eae34436455a7765e399886740c08e1cb