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:
@@ -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))
|
||||
|
Reference in New Issue
Block a user