summaryrefslogtreecommitdiff
path: root/java/builder.go
diff options
context:
space:
mode:
author Jihoon Kang <jihoonkang@google.com> 2024-01-26 01:45:12 +0000
committer Jihoon Kang <jihoonkang@google.com> 2024-02-27 01:51:05 +0000
commitca2f9e8bf4f5e3d54a449e132691a031e7cc628d (patch)
treef4093f1a9684141c5f4eb8cbe817edc138402ebc /java/builder.go
parent6b93b38e34270aa9893dfc4bbb7b2f38a0031d4e (diff)
Generate runtime stubs in droidstubs
Similar to how the exportable stubs are generated in droidstubs, this change adds the rule to generate the runtime stubs in droidstubs. Unlike the exportable stubs, which the artifacts are dist'ed during the sdk build, the runtime stubs will only used in the hiddenapi flags generation. Therefore, only the stubs are generated and no other artifacts are generated during the "runtime" metalava invocation. When `aconfig_declarations` property is not defined (i.e. no flags are enabled, thus the exportable and the runtime stubs are identical), the runtime stubs are simple copied from the exportable stubs. Note that the runtime stubs are not a dependency of `droid` as of now. The dependency of the hiddenapi flags will be replaced to the runtime stubs in the child CL. Test: m nothing --no-skip-soong-tests && m api-stubs-docs-non-updatable Bug: 319162970 Change-Id: I14928b7b5619522c4caab1dfc795bc9c7e929639
Diffstat (limited to 'java/builder.go')
0 files changed, 0 insertions, 0 deletions