From cd35de35075dfe8ad086be1e52da39d286b7d45e Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Thu, 30 May 2019 15:12:47 +0100 Subject: 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 --- test-base/Android.bp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'test-base') diff --git a/test-base/Android.bp b/test-base/Android.bp index 8aa0aaf363dd..69c296e7ee9c 100644 --- a/test-base/Android.bp +++ b/test-base/Android.bp @@ -25,7 +25,7 @@ java_sdk_library { srcs: ["src/**/*.java"], errorprone: { - javacflags: ["-Xep:DepAnn:ERROR"], + javacflags: ["-Xep:DepAnn:ERROR"], }, hostdex: true, @@ -96,3 +96,14 @@ java_library_static { ], } +// Make the current.txt available for use by the cts/tests/signature tests. +// ======================================================================== +filegroup { + name: "android-test-base-current.txt", + visibility: [ + "//cts/tests/signature/api", + ], + srcs: [ + "api/current.txt", + ], +} -- cgit v1.2.3