Support paths for init_rc from Soong.

The property init_rc accepts paths and references to other modules;
however, none of that is passed onto make, resulting in errors if a
non-local path is used.

Test: m
Bug: 184567830
Change-Id: Idbbf9de66c5182784d055e1cd64bcef34a7dbd79
This commit is contained in:
Liz Kammer
2021-04-06 10:35:10 -04:00
parent 440b234081
commit 0c4f71cd96
3 changed files with 4 additions and 4 deletions

View File

@@ -546,7 +546,7 @@ func (a *AndroidMkEntries) fillInEntries(ctx fillInEntriesContext, mod blueprint
}
if !amod.InRamdisk() && !amod.InVendorRamdisk() {
a.AddStrings("LOCAL_INIT_RC", amod.commonProperties.Init_rc...)
a.AddPaths("LOCAL_FULL_INIT_RC", amod.initRcPaths)
}
a.AddStrings("LOCAL_VINTF_FRAGMENTS", amod.commonProperties.Vintf_fragments...)
a.SetBoolIfTrue("LOCAL_PROPRIETARY_MODULE", Bool(amod.commonProperties.Proprietary))