Mark soong-generated phony rules as PHONY
am: a03c43a4a7
Change-Id: I3dec0c4664a03197572f2845f875cefc63d2f1dc
This commit is contained in:
commit
b1b05b9978
|
@ -320,7 +320,7 @@ func (ddoc *Droiddoc) AndroidMk() android.AndroidMkData {
|
|||
fmt.Fprintln(w, "droidcore: checkapi")
|
||||
}
|
||||
if ddoc.updateCurrentApiTimestamp != nil {
|
||||
fmt.Fprintln(w, ".PHONY:", ddoc.Name(), "-update-current-api")
|
||||
fmt.Fprintln(w, ".PHONY:", ddoc.Name()+"-update-current-api")
|
||||
fmt.Fprintln(w, ddoc.Name()+"-update-current-api:",
|
||||
ddoc.updateCurrentApiTimestamp.String())
|
||||
|
||||
|
|
|
@ -134,6 +134,7 @@ func (system *SystemModules) AndroidMk() android.AndroidMkData {
|
|||
fmt.Fprintln(w, makevar, ":=", system.outputFile.String())
|
||||
fmt.Fprintln(w, ".KATI_READONLY", ":=", makevar)
|
||||
fmt.Fprintln(w, name+":", "$("+makevar+")")
|
||||
fmt.Fprintln(w, ".PHONY:", name)
|
||||
fmt.Fprintln(w)
|
||||
makevar = "SOONG_SYSTEM_MODULES_LIBS_" + name
|
||||
fmt.Fprintln(w, makevar, ":=", strings.Join(system.properties.Libs, " "))
|
||||
|
|
Loading…
Reference in New Issue