Skip generating prebuilts entries for disabled modules
Change-Id: I5b17588789acb77bc5cfe2150a3a5decfd5bd01d
This commit is contained in:
parent
7b66f15763
commit
1ef47568f3
|
@ -185,6 +185,10 @@ func translateAndroidMkModule(ctx blueprint.SingletonContext, w io.Writer, mod b
|
|||
amod := m.(AndroidModule).base()
|
||||
data := provider.AndroidMk()
|
||||
|
||||
if !amod.Enabled() {
|
||||
return
|
||||
}
|
||||
|
||||
arch := amod.commonProperties.CompileArch
|
||||
|
||||
prefix := ""
|
||||
|
|
Loading…
Reference in New Issue