Mark soong-generated phony rules as PHONY am: a03c43a4a7

am: b1b05b9978

Change-Id: I7eb32398333854d566831b7a833df6ab9c8dd152
This commit is contained in:
Dan Willemsen 2018-07-25 00:43:57 -07:00 committed by android-build-merger
commit 93206bc8b8
2 changed files with 2 additions and 1 deletions

View file

@ -320,7 +320,7 @@ func (ddoc *Droiddoc) AndroidMk() android.AndroidMkData {
fmt.Fprintln(w, "droidcore: checkapi") fmt.Fprintln(w, "droidcore: checkapi")
} }
if ddoc.updateCurrentApiTimestamp != nil { 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:", fmt.Fprintln(w, ddoc.Name()+"-update-current-api:",
ddoc.updateCurrentApiTimestamp.String()) ddoc.updateCurrentApiTimestamp.String())

View file

@ -134,6 +134,7 @@ func (system *SystemModules) AndroidMk() android.AndroidMkData {
fmt.Fprintln(w, makevar, ":=", system.outputFile.String()) fmt.Fprintln(w, makevar, ":=", system.outputFile.String())
fmt.Fprintln(w, ".KATI_READONLY", ":=", makevar) fmt.Fprintln(w, ".KATI_READONLY", ":=", makevar)
fmt.Fprintln(w, name+":", "$("+makevar+")") fmt.Fprintln(w, name+":", "$("+makevar+")")
fmt.Fprintln(w, ".PHONY:", name)
fmt.Fprintln(w) fmt.Fprintln(w)
makevar = "SOONG_SYSTEM_MODULES_LIBS_" + name makevar = "SOONG_SYSTEM_MODULES_LIBS_" + name
fmt.Fprintln(w, makevar, ":=", strings.Join(system.properties.Libs, " ")) fmt.Fprintln(w, makevar, ":=", strings.Join(system.properties.Libs, " "))