File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ # Never Compile protoc Again
2+ # Don't build protoc from the cc_binary, it's slow and spammy when cache miss
3+ common --per_file_copt=external/.*protobuf.*@--PROTOBUF_WAS_NOT_SUPPOSED_TO_BE_BUILT
4+ common --host_per_file_copt=external/.*protobuf.*@--PROTOBUF_WAS_NOT_SUPPOSED_TO_BE_BUILT
5+ common --java_runtime_version=remotejdk_11
Original file line number Diff line number Diff line change 22# so that the dependency on stardoc doesn't leak to them.
33load ("@aspect_bazel_lib//lib:docs.bzl" , "stardoc_with_diff_test" , "update_docs" )
44
5+ java_binary (
6+ name = "renderer" ,
7+ main_class = "com/google/devtools/build/stardoc/renderer/RendererMain" ,
8+ runtime_deps = ["@stardoc-prebuilt//jar" ],
9+ )
10+
511stardoc_with_diff_test (
612 name = "rules" ,
713 bzl_library_target = "@aspect_rules_ts//ts:defs" ,
14+ renderer = "renderer" ,
815)
916
1017stardoc_with_diff_test (
1118 name = "proto" ,
1219 bzl_library_target = "@aspect_rules_ts//ts:proto" ,
20+ renderer = "renderer" ,
1321)
1422
1523stardoc_with_diff_test (
1624 name = "repositories" ,
1725 bzl_library_target = "@aspect_rules_ts//ts:repositories" ,
26+ renderer = "renderer" ,
1827 symbol_names = ["rules_ts_dependencies" ],
1928)
2029
Original file line number Diff line number Diff line change @@ -6,3 +6,11 @@ local_path_override(
66 module_name = "aspect_rules_ts" ,
77 path = ".." ,
88)
9+
10+ http_jar = use_repo_rule ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_jar" )
11+
12+ http_jar (
13+ name = "stardoc-prebuilt" ,
14+ integrity = "sha256-jDi5ITmziwwiHCsfd8v0UOoraWXIAfICIll+wbpg/vE=" ,
15+ urls = ["https://github.com/alexeagle/stardoc-prebuilt/releases/download/v0.7.1/renderer_deploy.jar" ],
16+ )
You can’t perform that action at this time.
0 commit comments