Merge "m <module_name> builds <module_name>.<apex_name>"
This commit is contained in:
commit
45f3c9b6a6
1 changed files with 6 additions and 0 deletions
|
@ -217,6 +217,12 @@ func (a *apexBundle) androidMkForFiles(w io.Writer, apexBundleName, apexName, mo
|
|||
}
|
||||
fmt.Fprintln(w, "include $(BUILD_PREBUILT)")
|
||||
}
|
||||
|
||||
// m <module_name> will build <module_name>.<apex_name> as well.
|
||||
if fi.moduleName != moduleName && a.primaryApexType {
|
||||
fmt.Fprintln(w, ".PHONY: "+fi.moduleName)
|
||||
fmt.Fprintln(w, fi.moduleName+": "+moduleName)
|
||||
}
|
||||
}
|
||||
return moduleNames
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue