Merge "Verify APIs are compatible with last released api by default"

am: a1af29ae4d

Change-Id: Ibb21802b03b102264d506b8ccd529e2dd34ac888
This commit is contained in:
Paul Duffin
2020-01-06 09:01:51 -08:00
committed by android-build-merger

View File

@@ -613,7 +613,7 @@ func (dstubs *Droidstubs) AndroidMkEntries() []android.AndroidMkEntries {
fmt.Fprintln(w, dstubs.Name()+"-check-last-released-api:",
dstubs.checkLastReleasedApiTimestamp.String())
if dstubs.Name() == "api-stubs-docs" || dstubs.Name() == "system-api-stubs-docs" {
if dstubs.Name() != "android.car-system-stubs-docs" {
fmt.Fprintln(w, ".PHONY: checkapi")
fmt.Fprintln(w, "checkapi:",
dstubs.checkLastReleasedApiTimestamp.String())