Skip to content

Commit

Permalink
Bump up the version of Protobuf and fix a few copyright headers.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 676879357
  • Loading branch information
fniksic authored and copybara-github committed Sep 20, 2024
1 parent 2598d24 commit d7870f0
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 31 deletions.
16 changes: 15 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

module(
name = "fuzztest",
version = "head",
Expand Down Expand Up @@ -38,7 +52,7 @@ bazel_dep(

bazel_dep(
name = "protobuf",
version = "26.0",
version = "28.2",
dev_dependency = True,
repo_name = "com_google_protobuf",
)
Expand Down
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ http_archive(

http_archive(
name = "com_google_protobuf",
integrity = "sha256-m9h7goDvcg0yQFFPiE5WpxLyIY8NaTtIBQyDYCiUCkI=",
strip_prefix = "protobuf-25.1",
url = "https://github.com/protocolbuffers/protobuf/releases/download/v25.1/protobuf-25.1.tar.gz"
integrity = "sha256-sjQKpH+vfvEKAygZAxnT877hsk9CbUzo9CU7byfOFts=",
strip_prefix = "protobuf-28.2",
url = "https://github.com/protocolbuffers/protobuf/releases/download/v28.2/protobuf-28.2.tar.gz"
)

load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
Expand Down
36 changes: 10 additions & 26 deletions WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
@@ -1,32 +1,16 @@
# Copyright 2024 Google Inc.
# All Rights Reserved.
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# http://www.apache.org/licenses/LICENSE-2.0
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# https://bazel.build/external/migration#workspace.bzlmod
#
Expand Down
2 changes: 1 addition & 1 deletion cmake/BuildDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set(antlr_cpp_URL https://www.antlr.org/download/antlr4-cpp-runtime-4.12.0-sourc
set(antlr_cpp_MD5 acf7371bd7562188712751266d8a7b90)

set(proto_URL https://github.com/protocolbuffers/protobuf.git)
set(proto_TAG 33b78e67a92c7ba1ecc2e19a037cd2e12f4c5e27)
set(proto_TAG v28.2)

set(nlohmann_json_URL https://github.com/nlohmann/json.git)
set(nlohmann_json_TAG v3.11.2)
Expand Down

0 comments on commit d7870f0

Please sign in to comment.