summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Liz Kammer <eakammer@google.com> 2023-09-20 15:15:43 +0000
committer MÃ¥rten Kongstad <amhk@google.com> 2023-09-21 14:51:24 +0200
commit568961726dbe0b081fbbc25aa461891c2f8ff7ba (patch)
tree7636061c601f17b970367f4b9829733027090030 /api/api.go
parent053d01c12b5a882e91b60d42d94341f8063b055e (diff)
Expand @FlaggedApi(FLAG) constants in API signature files
The auto-generated Flags.FLAG_NAME constants are difficult to review in API tracking files. metalava will expand annotation arguments if (1) the field declaration is known to metalava, and (2) the constant is not part of the API surface. The auto-generated constants are hidden, so not part of any API surface. This satisfies (1). This CL adds the auto-generated sources to metalava's input. This satisfies (2). (cherry picked from commit 01544b94d3b7b90dcac6f62d9528ede9e6ef2838) Bug: 297881670 Test: m checkapi Test: m <partition>/etc/aconfig_flags.textproto & diff against a clean build Merged-In: I757c6e87d81768ef6095a4bea67c74c3ae6028a7 Change-Id: I757c6e87d81768ef6095a4bea67c74c3ae6028a7
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions