Skip to content

Commit 6a4311f

Browse files
authored
Use pre-compiled protos (#236)
* Use pre-compiled protos * Formatting
1 parent 9921b40 commit 6a4311f

3 files changed

Lines changed: 47 additions & 0 deletions

File tree

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
common --test_tag_filters=-manual
22

3+
common --@protobuf//bazel/toolchains:prefer_prebuilt_protoc
4+
common --incompatible_enable_proto_toolchain_resolution
5+
36
# abseil-cpp and protobuf (pulled in by stardoc) use std::visit/std::get with std::variant,
47
# which requires macOS 10.13+. Set the minimum OS for both target and host/exec tool builds.
58
# Uncomment the below if running into Stardoc issues on Mac.

MODULE.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ bazel_dep(name = "rules_android", version = "0.7.3")
1414
bazel_dep(name = "rules_java", version = "9.3.0")
1515

1616
bazel_dep(name = "rules_kotlin", version = "2.4.0", dev_dependency = True)
17+
bazel_dep(name = "protobuf", version = "33.4", dev_dependency = True)
1718

1819
bazel_dep(name = "rules_proto", version = "7.1.0")
1920
bazel_dep(name = "rules_jvm_external", version = "6.9")

MODULE.bazel.lock

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)