Make sure car-lib system APIs are not changing unintentionally

Soon had a special rule to skip the "released-api" compatibility
check on the car-lib system API. We should enable it.

Bug: 154632388
Test: m droid
Change-Id: Ib4e584def7e786e3e129cd2bfb23958ac9b4b72d
Merged-in: Ib4e584def7e786e3e129cd2bfb23958ac9b4b72d
This commit is contained in:
Makoto Onuki
2020-04-21 11:52:39 -07:00
parent aa52a04fdd
commit a573f1906f

View File

@@ -588,7 +588,6 @@ func (dstubs *Droidstubs) AndroidMkEntries() []android.AndroidMkEntries {
fmt.Fprintln(w, dstubs.Name()+"-check-last-released-api:", fmt.Fprintln(w, dstubs.Name()+"-check-last-released-api:",
dstubs.checkLastReleasedApiTimestamp.String()) dstubs.checkLastReleasedApiTimestamp.String())
if dstubs.Name() != "android.car-system-stubs-docs" {
fmt.Fprintln(w, ".PHONY: checkapi") fmt.Fprintln(w, ".PHONY: checkapi")
fmt.Fprintln(w, "checkapi:", fmt.Fprintln(w, "checkapi:",
dstubs.checkLastReleasedApiTimestamp.String()) dstubs.checkLastReleasedApiTimestamp.String())
@@ -596,7 +595,6 @@ func (dstubs *Droidstubs) AndroidMkEntries() []android.AndroidMkEntries {
fmt.Fprintln(w, ".PHONY: droidcore") fmt.Fprintln(w, ".PHONY: droidcore")
fmt.Fprintln(w, "droidcore: checkapi") fmt.Fprintln(w, "droidcore: checkapi")
} }
}
if dstubs.apiLintTimestamp != nil { if dstubs.apiLintTimestamp != nil {
fmt.Fprintln(w, ".PHONY:", dstubs.Name()+"-api-lint") fmt.Fprintln(w, ".PHONY:", dstubs.Name()+"-api-lint")
fmt.Fprintln(w, dstubs.Name()+"-api-lint:", fmt.Fprintln(w, dstubs.Name()+"-api-lint:",