Remove conditional running of checklast during checkapi
Since the metalava invocations have been merged into a single one, and checkapi already requires the other timestamp, this has no effect. Bug: 151160048 Test: m checkapi Change-Id: I560058f0f4cdeaedaf247cd35119da2cf0b86ea0
This commit is contained in:
@@ -512,7 +512,6 @@ func (ddoc *Droiddoc) AndroidMkEntries() []android.AndroidMkEntries {
|
||||
fmt.Fprintln(w, ddoc.Name()+"-check-last-released-api:",
|
||||
ddoc.checkLastReleasedApiTimestamp.String())
|
||||
|
||||
if ddoc.Name() == "api-stubs-docs" || ddoc.Name() == "system-api-stubs-docs" {
|
||||
fmt.Fprintln(w, ".PHONY: checkapi")
|
||||
fmt.Fprintln(w, "checkapi:",
|
||||
ddoc.checkLastReleasedApiTimestamp.String())
|
||||
@@ -520,7 +519,6 @@ func (ddoc *Droiddoc) AndroidMkEntries() []android.AndroidMkEntries {
|
||||
fmt.Fprintln(w, ".PHONY: droidcore")
|
||||
fmt.Fprintln(w, "droidcore: checkapi")
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
}}
|
||||
|
Reference in New Issue
Block a user