commit | 02cbff442568f70084d7c4b1e6e54dd30eab9aae | [log] [tgz] |
---|---|---|
author | Sasha Smundak <asmundak@google.com> | Thu Aug 15 08:27:51 2019 -0700 |
committer | Sasha Smundak <asmundak@google.com> | Thu Aug 15 09:43:47 2019 -0700 |
tree | d5020ee739418819e83befe29375568846eb48c0 | |
parent | eb3326be84bb1bf36cfcd899ec30fbd13e930396 [diff] [blame] |
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)", +}