From a23f2afc279262c6d81fc7412fa4d7d4c67f41c8 Mon Sep 17 00:00:00 2001
From: Nelson Li <nelsonli@google.com>
Date: Wed, 17 Jan 2024 06:57:58 +0000
Subject: [PATCH] Make the current.txt available for use by the /vendor tests

Bug: 312324146
Test: Add android-test-base-current.txt to the Android.bp
Change-Id: I4fe3565be918d7212334f4d36a8d80aa2adf4460
---
 test-base/Android.bp   | 3 ++-
 test-runner/Android.bp | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/test-base/Android.bp b/test-base/Android.bp
index 527159a78ebf..70a95400bd9e 100644
--- a/test-base/Android.bp
+++ b/test-base/Android.bp
@@ -120,12 +120,13 @@ filegroup {
     path: "src",
 }
 
-// Make the current.txt available for use by the cts/tests/signature tests.
+// Make the current.txt available for use by the cts/tests/signature and /vendor tests.
 // ========================================================================
 filegroup {
     name: "android-test-base-current.txt",
     visibility: [
         "//cts/tests/signature/api",
+        "//vendor:__subpackages__",
     ],
     srcs: [
         "api/current.txt",
diff --git a/test-runner/Android.bp b/test-runner/Android.bp
index 13a5dac9eb38..21e09d3221ce 100644
--- a/test-runner/Android.bp
+++ b/test-runner/Android.bp
@@ -79,12 +79,13 @@ java_library {
     ],
 }
 
-// Make the current.txt available for use by the cts/tests/signature tests.
+// Make the current.txt available for use by the cts/tests/signature and /vendor tests.
 // ========================================================================
 filegroup {
     name: "android-test-runner-current.txt",
     visibility: [
         "//cts/tests/signature/api",
+        "//vendor:__subpackages__",
     ],
     srcs: [
         "api/current.txt",
-- 
GitLab