summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-06-03 14:54:37 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-06-03 14:54:37 +0000
commite6bcc3313d5b516f6101e0af80d234f577d56648 (patch)
tree2a25fd73846d099fc528eaba94c5c1db7b9449f0
parenta4e0d3bea1576c1a957016f48a352ad6c5c0d08c (diff)
parentf788fc802a889d1a6e1c7757ab374ada408a4c44 (diff)
downloadapache-http-e6bcc3313d5b516f6101e0af80d234f577d56648.tar.gz
Merge "Export the api/current.txt file for use by cts/tests/signature tests"
-rw-r--r--Android.bp13
1 files changed, 13 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 409f9e6..9c23afa 100644
--- a/Android.bp
+++ b/Android.bp
@@ -79,3 +79,16 @@ java_sdk_library {
"--subtract-api $(location :frameworks-base-api-current.txt)",
],
}
+
+// Make the current.txt available for use by the cts/tests/signature tests.
+// ========================================================================
+genrule {
+ name: "apache-http-legacy-current.txt",
+ srcs: [
+ "api/current.txt",
+ ],
+ out: [
+ "apache-http-legacy-current.txt",
+ ],
+ cmd: "cp $(in) $(out)",
+}