Make current-api-xml use generated current.txt
Remove the dep on the monolithic current.txt so that it can be deleted.
Bug: 158465496
Test: m current-api-xml (same before and after)
Change-Id: I6d36801592a20cb9dc8f87c7d9d4babf0986c448
diff --git a/api/Android.bp b/api/Android.bp
index 4d7f58e..ae0d596 100644
--- a/api/Android.bp
+++ b/api/Android.bp
@@ -19,7 +19,7 @@
genrule {
name: "current-api-xml",
tools: ["metalava"],
- srcs: ["current.txt"],
+ srcs: [":frameworks-base-api-current.txt"],
out: ["current.api"],
cmd: "$(location metalava) --no-banner -convert2xmlnostrip $(in) $(out)",
visibility: ["//visibility:public"],