Skip to content
Snippets Groups Projects
Commit cb9a5dd7 authored by Nelson Li's avatar Nelson Li
Browse files

Convert .PHONY target of `checkapi ` to Android.bp

Since Soong has been able to correctly add dependencies to .PHONY
targets since aosp/2884366, it is now possible to directly use
`phony_deps` to add the genrules used by `checkapi` to its dependencies
and convert them to Android.bp.

Bug: 309730110
Test: m checkapi
Change-Id: Ideb9f647415423a5864d221b85442b995ac67906
parent 44a679e5
No related branches found
No related tags found
No related merge requests found
......@@ -458,3 +458,12 @@ genrule {
targets: ["droid"],
},
}
phony_rule {
name: "checkapi",
phony_deps: [
"frameworks-base-api-current-compat",
"frameworks-base-api-system-current-compat",
"frameworks-base-api-module-lib-current-compat",
],
}
.PHONY: checkapi
checkapi: frameworks-base-api-current-compat frameworks-base-api-system-current-compat frameworks-base-api-module-lib-current-compat
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment