Android.bp file to convert current.api to XML format.

Fixes: 139281092
Test: atest CtsDevicePolicyManagerTestCases
Change-Id: Iffec912af4ee9dd3de2090a31bd475abc5016854
diff --git a/api/Android.bp b/api/Android.bp
new file mode 100644
index 0000000..54ff82c
--- /dev/null
+++ b/api/Android.bp
@@ -0,0 +1,7 @@
+genrule {
+    name: "current-api-xml",
+    tools: ["metalava"],
+    srcs: ["current.txt"],
+    out: ["current.api"],
+    cmd: "$(location metalava) --no-banner -convert2xmlnostrip $(in) $(out)",
+}