aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark White <anothermark@google.com>2023-08-09 21:49:04 +0000
committerMark White <anothermark@google.com>2023-08-15 12:38:16 +0000
commitba0a3aee9117c773af4c1034bc1eaca084a71f18 (patch)
treeb91e6fef76e898e638b04a8d92db4c415007434e
parentb457697a26c3a79e78207f7e6ed34aa895e7ade5 (diff)
downloadorchestrator-ba0a3aee9117c773af4c1034bc1eaca084a71f18.tar.gz
SdkTestCore for non-updatable modules
Provides SdkTestCore/test_core_current sdk_version for non-updatable modules that have their test scope dependent on test apis from framework-minus-apex. Ignore-AOSP-First: Change in topic with internal-first projects Bug: 289776578 Test: m checkapi Change-Id: I8017384034d05f8d5ffb9d41eff111cd9fd1ec61
-rw-r--r--apis/Android.bp23
1 files changed, 23 insertions, 0 deletions
diff --git a/apis/Android.bp b/apis/Android.bp
index 389a246..2e148aa 100644
--- a/apis/Android.bp
+++ b/apis/Android.bp
@@ -45,6 +45,14 @@ java_defaults {
}
java_defaults {
+ name: "android_test_frameworks_core_stubs_current_contributions",
+ api_surface: "test",
+ api_contributions: [
+ "test-api-stubs-docs-non-updatable.api.contribution",
+ ],
+}
+
+java_defaults {
name: "android_module_lib_stubs_current_contributions",
api_surface: "module-lib",
api_contributions: [
@@ -119,6 +127,21 @@ java_api_library {
}
java_api_library {
+ name: "android_test_frameworks_core_stubs_current.from-text",
+ api_surface: "test",
+ defaults: [
+ "android_stubs_current_contributions",
+ "android_system_stubs_current_contributions",
+ "android_test_frameworks_core_stubs_current_contributions",
+ "stub-annotation-defaults",
+ ],
+ api_contributions: [
+ "api-stubs-docs-non-updatable.api.contribution",
+ "system-api-stubs-docs-non-updatable.api.contribution",
+ ],
+}
+
+java_api_library {
name: "android_module_lib_stubs_current_full.from-text",
api_surface: "module-lib",
defaults: [