summaryrefslogtreecommitdiff
path: root/java/sdk_library.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2022-01-27 16:39:47 +0000
committer Paul Duffin <paulduffin@google.com> 2022-02-10 17:29:58 +0000
commit7a57bb106322b3caaf6395ea2dd2f81aeef35c92 (patch)
tree4ca2e88d060e8eb711eaf19030c52796c6019cc4 /java/sdk_library.go
parent56f266d22c8f3740961ef8c5825d0c2d3419e66e (diff)
Only output annotations properties in snapshots for T+
Marks the `scopeProperties.AnnotationsZip` property as only being supported on T builds and above. Bug: 204763318 Test: m nothing Merged-In: Ie59396287c08da77a6a1f15d4be202429e011e17 Change-Id: Ie59396287c08da77a6a1f15d4be202429e011e17 (cherry picked from commit a54016c3ba5db8efd69d098e0bb4cb8b318d2efa)
Diffstat (limited to 'java/sdk_library.go')
-rw-r--r--java/sdk_library.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sdk_library.go b/java/sdk_library.go
index 1ae5535da..4f0b346fe 100644
--- a/java/sdk_library.go
+++ b/java/sdk_library.go
@@ -2562,7 +2562,7 @@ type scopeProperties struct {
StubsSrcJar android.Path
CurrentApiFile android.Path
RemovedApiFile android.Path
- AnnotationsZip android.Path
+ AnnotationsZip android.Path `supported_build_releases:"T+"`
SdkVersion string
}