1genrule {
2    name: "current-api-xml",
3    tools: ["metalava"],
4    srcs: ["current.txt"],
5    out: ["current.api"],
6    cmd: "$(location metalava) --no-banner -convert2xmlnostrip $(in) $(out)",
7}
8