Trigger binary installation in Soong from Make am: 03ce63eaa6
am: f9a8e25486
am: 13e53fd9c1
Change-Id: I1a9c0e51aa5eb003b907ab0db9f138049efc0628
This commit is contained in:
commit
6d31717316
|
@ -192,6 +192,12 @@ func (packer *relocationPacker) AndroidMk(ctx AndroidMkContext, ret *android.And
|
|||
}
|
||||
|
||||
func (installer *baseInstaller) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
|
||||
// Soong installation is only supported for host modules. Have Make
|
||||
// installation trigger Soong installation.
|
||||
if ctx.Target().Os.Class == android.Host {
|
||||
ret.OutputFile = android.OptionalPathForPath(installer.path)
|
||||
}
|
||||
|
||||
ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
|
||||
path := installer.path.RelPathString()
|
||||
dir, file := filepath.Split(path)
|
||||
|
|
Loading…
Reference in New Issue