-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
442 changed files
with
20,706 additions
and
11,177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,9 @@ option(protobuf_BUILD_LIBUPB "Build libupb" ON) | |
option(protobuf_DISABLE_RTTI "Remove runtime type information in the binaries" OFF) | ||
option(protobuf_TEST_XML_OUTDIR "Output directory for XML logs from tests." "") | ||
option(protobuf_ALLOW_CCACHE "Adjust build flags to allow for ccache support." OFF) | ||
|
||
# We support Unity (Jumbo) builds best-effort. | ||
option(protobuf_USE_UNITY_BUILD "Enable Unity (Jumbo) build for" OFF) | ||
if (BUILD_SHARED_LIBS) | ||
set(protobuf_BUILD_SHARED_LIBS_DEFAULT ON) | ||
else (BUILD_SHARED_LIBS) | ||
|
@@ -81,7 +84,7 @@ if (protobuf_BUILD_SHARED_LIBS) | |
endif () | ||
|
||
# Version metadata | ||
set(protobuf_VERSION_STRING "5.28.0") | ||
set(protobuf_VERSION_STRING "5.29.0") | ||
set(protobuf_DESCRIPTION "Protocol Buffers") | ||
set(protobuf_CONTACT "[email protected]") | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# This is a WORKSPACE file used by bzlmod in combination with MODULE.bazel. | ||
# It's used for a gradual migration and it should be empty. | ||
# Don't remove this file. If the file doesn't exist, bzlmod falls back to WORKSPACE file. | ||
|
||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | ||
|
||
# TODO: either replace rules_ruby with a maintained version on BCR | ||
# or use bzlmod extensions to depend on this specific repo | ||
http_archive( | ||
name = "rules_ruby", | ||
urls = [ | ||
"https://github.com/protocolbuffers/rules_ruby/archive/b7f3e9756f3c45527be27bc38840d5a1ba690436.zip" | ||
], | ||
strip_prefix = "rules_ruby-b7f3e9756f3c45527be27bc38840d5a1ba690436", | ||
sha256 = "347927fd8de6132099fcdc58e8f7eab7bde4eb2fd424546b9cd4f1c6f8f8bad8", | ||
) | ||
|
||
load("@rules_ruby//ruby:defs.bzl", "ruby_runtime") | ||
|
||
ruby_runtime("system_ruby") | ||
|
||
register_toolchains("@system_ruby//:toolchain") | ||
|
||
# Follwing are just needed to run conformance tests, not really needed to support them via MODULE.bazel | ||
|
||
# For testing runtime against old gencode from a previous major version. | ||
http_archive( | ||
name = "com_google_protobuf_v25.0", | ||
strip_prefix = "protobuf-25.0", | ||
url = "https://github.com/protocolbuffers/protobuf/releases/download/v25.0/protobuf-25.0.tar.gz", | ||
) | ||
|
||
# Needed as a dependency of @com_google_protobuf_v25.x, which was before | ||
# utf8_range was merged in. | ||
http_archive( | ||
name = "utf8_range", | ||
strip_prefix = "utf8_range-d863bc33e15cba6d873c878dcca9e6fe52b2f8cb", | ||
url = "https://github.com/protocolbuffers/utf8_range/archive/d863bc33e15cba6d873c878dcca9e6fe52b2f8cb.zip", | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.