summaryrefslogtreecommitdiff
path: root/test-mock/Android.bp
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2019-05-30 15:12:47 +0100
committerPaul Duffin <paulduffin@google.com>2019-06-03 11:56:35 +0100
commitcd35de35075dfe8ad086be1e52da39d286b7d45e (patch)
tree20d01416968c3696e0713ec7798b54d99e48c122 /test-mock/Android.bp
parent95ae9c0b370ca9048d16e67c0d11ae54ca84ed7c (diff)
Export some api files for use by cts/tests/signature tests
Creates a filegroup for each of these files: * api/current.txt * api/system-current.txt * api/system-removed.txt * test-base/api/current.txt * test-mock/api/current.txt * test-runner/api/current.txt Bug: 122332514 Test: atest -p cts/tests/signature Change-Id: Ib031dcc39d3c1cca6dcdf977c0277d5e4875591e
Diffstat (limited to 'test-mock/Android.bp')
-rw-r--r--test-mock/Android.bp12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-mock/Android.bp b/test-mock/Android.bp
index e1d6e01d6d06..a5cd1751151f 100644
--- a/test-mock/Android.bp
+++ b/test-mock/Android.bp
@@ -30,3 +30,15 @@ java_sdk_library {
srcs_lib_whitelist_pkgs: ["android"],
compile_dex: true,
}
+
+// Make the current.txt available for use by the cts/tests/signature tests.
+// ========================================================================
+filegroup {
+ name: "android-test-mock-current.txt",
+ visibility: [
+ "//cts/tests/signature/api",
+ ],
+ srcs: [
+ "api/current.txt",
+ ],
+}