google / google/bazel-common

Cannot specify srcjars as srcs for javadoc_library

Open
#10 3 comments 0 reactions 0 assignees View on GitHub
P3
Dominant language
Starlark
Stars
91
Forks
45
Avg merge
14m
Merged PRs (30d)
7

Description

In google/elemental2, most Java sources are actually generated by google/jsinterop-generator (`jsinterop_generator` rules), and I can't seem to generate javadoc for those using e.g. `srcs = [":libcore-src.jar"]`

Actually, it looks like `srcs` is only used to compute whether the rule is uptodate or needs to be re-run, and `root_packages` and `exclude_packages` are the _real_ inputs to the `javadoc` command.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.