Snap for 5631490 from adc8200fc3479ce251a68b286e1f52e5c2047ebf to rvc-release
Change-Id: I080668ca1e92b102edab36290946ef2fdca534b0
diff --git a/Android.bp b/Android.bp
index 409f9e6..9c23afa 100644
--- a/Android.bp
+++ b/Android.bp
@@ -79,3 +79,16 @@
"--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)",
+}