diff --git a/bazel/boringssl_fips.patch b/bazel/boringssl_fips.patch deleted file mode 100644 index a58999b740826..0000000000000 --- a/bazel/boringssl_fips.patch +++ /dev/null @@ -1,1094 +0,0 @@ -From 6d46e1e3377f02d7039e73c649df47f55922f8af Mon Sep 17 00:00:00 2001 -From: Rohit Agrawal -Date: Mon, 14 Apr 2025 10:15:18 -0700 -Subject: [PATCH] Remove Interfering Bazel Files - ---- - .bazelignore | 2 - - third_party/googletest/BUILD.bazel | 236 ------- - third_party/googletest/WORKSPACE | 61 -- - .../googletest/googlemock/test/BUILD.bazel | 118 ---- - .../googletest/googletest/test/BUILD.bazel | 629 ------------------ - 5 files changed, 1046 deletions(-) - delete mode 100644 .bazelignore - delete mode 100644 third_party/googletest/BUILD.bazel - delete mode 100644 third_party/googletest/WORKSPACE - delete mode 100644 third_party/googletest/googlemock/test/BUILD.bazel - delete mode 100644 third_party/googletest/googletest/test/BUILD.bazel - -diff --git a/.bazelignore b/.bazelignore -deleted file mode 100644 -index 9dad64c6aa..0000000000 ---- a/.bazelignore -+++ /dev/null -@@ -1,2 +0,0 @@ --third_party/googletest --util/bazel-example -diff --git a/third_party/googletest/BUILD.bazel b/third_party/googletest/BUILD.bazel -deleted file mode 100644 -index 0306468e7f..0000000000 ---- a/third_party/googletest/BUILD.bazel -+++ /dev/null -@@ -1,236 +0,0 @@ --# Copyright 2017 Google Inc. --# All Rights Reserved. --# --# --# Redistribution and use in source and binary forms, with or without --# modification, are permitted provided that the following conditions are --# met: --# --# * 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. --# --# Bazel Build for Google C++ Testing Framework(Google Test) -- --package(default_visibility = ["//visibility:public"]) -- --licenses(["notice"]) -- --exports_files(["LICENSE"]) -- --config_setting( -- name = "qnx", -- constraint_values = ["@platforms//os:qnx"], --) -- --config_setting( -- name = "windows", -- constraint_values = ["@platforms//os:windows"], --) -- --config_setting( -- name = "freebsd", -- constraint_values = ["@platforms//os:freebsd"], --) -- --config_setting( -- name = "openbsd", -- constraint_values = ["@platforms//os:openbsd"], --) -- --# NOTE: Fuchsia is not an officially supported platform. --config_setting( -- name = "fuchsia", -- constraint_values = ["@platforms//os:fuchsia"], --) -- --config_setting( -- name = "msvc_compiler", -- flag_values = { -- "@bazel_tools//tools/cpp:compiler": "msvc-cl", -- }, -- visibility = [":__subpackages__"], --) -- --config_setting( -- name = "has_absl", -- values = {"define": "absl=1"}, --) -- --# Library that defines the FRIEND_TEST macro. --cc_library( -- name = "gtest_prod", -- hdrs = ["googletest/include/gtest/gtest_prod.h"], -- includes = ["googletest/include"], --) -- --# Google Test including Google Mock --cc_library( -- name = "gtest", -- srcs = glob( -- include = [ -- "googletest/src/*.cc", -- "googletest/src/*.h", -- "googletest/include/gtest/**/*.h", -- "googlemock/src/*.cc", -- "googlemock/include/gmock/**/*.h", -- ], -- exclude = [ -- "googletest/src/gtest-all.cc", -- "googletest/src/gtest_main.cc", -- "googlemock/src/gmock-all.cc", -- "googlemock/src/gmock_main.cc", -- ], -- ), -- hdrs = glob([ -- "googletest/include/gtest/*.h", -- "googlemock/include/gmock/*.h", -- ]), -- copts = select({ -- ":qnx": [], -- ":windows": [], -- "//conditions:default": ["-pthread"], -- }), -- defines = select({ -- ":has_absl": ["GTEST_HAS_ABSL=1"], -- "//conditions:default": [], -- }), -- features = select({ -- ":windows": ["windows_export_all_symbols"], -- "//conditions:default": [], -- }), -- includes = [ -- "googlemock", -- "googlemock/include", -- "googletest", -- "googletest/include", -- ], -- linkopts = select({ -- ":qnx": ["-lregex"], -- ":windows": [], -- ":freebsd": [ -- "-lm", -- "-pthread", -- ], -- ":openbsd": [ -- "-lm", -- "-pthread", -- ], -- "//conditions:default": ["-pthread"], -- }), -- deps = select({ -- ":has_absl": [ -- "@abseil-cpp//absl/container:flat_hash_set", -- "@abseil-cpp//absl/debugging:failure_signal_handler", -- "@abseil-cpp//absl/debugging:stacktrace", -- "@abseil-cpp//absl/debugging:symbolize", -- "@abseil-cpp//absl/flags:flag", -- "@abseil-cpp//absl/flags:parse", -- "@abseil-cpp//absl/flags:reflection", -- "@abseil-cpp//absl/flags:usage", -- "@abseil-cpp//absl/strings", -- "@abseil-cpp//absl/types:any", -- "@abseil-cpp//absl/types:optional", -- "@abseil-cpp//absl/types:variant", -- "@re2//:re2", -- ], -- "//conditions:default": [], -- }) + select({ -- # `gtest-death-test.cc` has `EXPECT_DEATH` that spawns a process, -- # expects it to crash and inspects its logs with the given matcher, -- # so that's why these libraries are needed. -- # Otherwise, builds targeting Fuchsia would fail to compile. -- ":fuchsia": [ -- "@fuchsia_sdk//pkg/fdio", -- "@fuchsia_sdk//pkg/syslog", -- "@fuchsia_sdk//pkg/zx", -- ], -- "//conditions:default": [], -- }), --) -- --cc_library( -- name = "gtest_main", -- srcs = ["googlemock/src/gmock_main.cc"], -- features = select({ -- ":windows": ["windows_export_all_symbols"], -- "//conditions:default": [], -- }), -- deps = [":gtest"], --) -- --# The following rules build samples of how to use gTest. --cc_library( -- name = "gtest_sample_lib", -- srcs = [ -- "googletest/samples/sample1.cc", -- "googletest/samples/sample2.cc", -- "googletest/samples/sample4.cc", -- ], -- hdrs = [ -- "googletest/samples/prime_tables.h", -- "googletest/samples/sample1.h", -- "googletest/samples/sample2.h", -- "googletest/samples/sample3-inl.h", -- "googletest/samples/sample4.h", -- ], -- features = select({ -- ":windows": ["windows_export_all_symbols"], -- "//conditions:default": [], -- }), --) -- --cc_test( -- name = "gtest_samples", -- size = "small", -- # All Samples except: -- # sample9 (main) -- # sample10 (main and takes a command line option and needs to be separate) -- srcs = [ -- "googletest/samples/sample1_unittest.cc", -- "googletest/samples/sample2_unittest.cc", -- "googletest/samples/sample3_unittest.cc", -- "googletest/samples/sample4_unittest.cc", -- "googletest/samples/sample5_unittest.cc", -- "googletest/samples/sample6_unittest.cc", -- "googletest/samples/sample7_unittest.cc", -- "googletest/samples/sample8_unittest.cc", -- ], -- linkstatic = 0, -- deps = [ -- "gtest_sample_lib", -- ":gtest_main", -- ], --) -- --cc_test( -- name = "sample9_unittest", -- size = "small", -- srcs = ["googletest/samples/sample9_unittest.cc"], -- deps = [":gtest"], --) -- --cc_test( -- name = "sample10_unittest", -- size = "small", -- srcs = ["googletest/samples/sample10_unittest.cc"], -- deps = [":gtest"], --) -diff --git a/third_party/googletest/WORKSPACE b/third_party/googletest/WORKSPACE -deleted file mode 100644 -index 4c76102843..0000000000 ---- a/third_party/googletest/WORKSPACE -+++ /dev/null -@@ -1,61 +0,0 @@ --# Copyright 2024 Google Inc. --# All Rights Reserved. --# --# --# Redistribution and use in source and binary forms, with or without --# modification, are permitted provided that the following conditions are --# met: --# --# * 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. -- --workspace(name = "googletest") -- --load("//:googletest_deps.bzl", "googletest_deps") --googletest_deps() -- --load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -- --http_archive( -- name = "rules_python", -- sha256 = "9c6e26911a79fbf510a8f06d8eedb40f412023cf7fa6d1461def27116bff022c", -- strip_prefix = "rules_python-1.1.0", -- url = "https://github.com/bazelbuild/rules_python/releases/download/1.1.0/rules_python-1.1.0.tar.gz", --) --# https://github.com/bazelbuild/rules_python/releases/tag/1.1.0 --load("@rules_python//python:repositories.bzl", "py_repositories") --py_repositories() -- --http_archive( -- name = "bazel_skylib", -- sha256 = "cd55a062e763b9349921f0f5db8c3933288dc8ba4f76dd9416aac68acee3cb94", -- urls = ["https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz"], --) -- --http_archive( -- name = "platforms", -- urls = [ -- "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz", -- "https://github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz", -- ], -- sha256 = "218efe8ee736d26a3572663b374a253c012b716d8af0c07e842e82f238a0a7ee", --) -diff --git a/third_party/googletest/googlemock/test/BUILD.bazel b/third_party/googletest/googlemock/test/BUILD.bazel -deleted file mode 100644 -index d4297c80fe..0000000000 ---- a/third_party/googletest/googlemock/test/BUILD.bazel -+++ /dev/null -@@ -1,118 +0,0 @@ --# Copyright 2017 Google Inc. --# All Rights Reserved. --# --# --# Redistribution and use in source and binary forms, with or without --# modification, are permitted provided that the following conditions are --# met: --# --# * 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. --# --# Bazel Build for Google C++ Testing Framework(Google Test)-googlemock -- --load("@rules_python//python:defs.bzl", "py_library", "py_test") -- --licenses(["notice"]) -- --# Tests for GMock itself --cc_test( -- name = "gmock_all_test", -- size = "small", -- srcs = glob(include = ["gmock-*.cc"]) + ["gmock-matchers_test.h"], -- linkopts = select({ -- "//:qnx": [], -- "//:windows": [], -- "//conditions:default": ["-pthread"], -- }), -- deps = ["//:gtest"], --) -- --# Python tests --py_library( -- name = "gmock_test_utils", -- testonly = 1, -- srcs = ["gmock_test_utils.py"], -- deps = [ -- "//googletest/test:gtest_test_utils", -- ], --) -- --cc_binary( -- name = "gmock_leak_test_", -- testonly = 1, -- srcs = ["gmock_leak_test_.cc"], -- deps = ["//:gtest_main"], --) -- --py_test( -- name = "gmock_leak_test", -- size = "medium", -- srcs = ["gmock_leak_test.py"], -- data = [ -- ":gmock_leak_test_", -- ":gmock_test_utils", -- ], -- tags = [ -- "no_test_msvc2015", -- "no_test_msvc2017", -- ], --) -- --cc_test( -- name = "gmock_link_test", -- size = "small", -- srcs = [ -- "gmock_link2_test.cc", -- "gmock_link_test.cc", -- "gmock_link_test.h", -- ], -- deps = ["//:gtest_main"], --) -- --cc_binary( -- name = "gmock_output_test_", -- srcs = ["gmock_output_test_.cc"], -- deps = ["//:gtest"], --) -- --py_test( -- name = "gmock_output_test", -- size = "medium", -- srcs = ["gmock_output_test.py"], -- data = [ -- ":gmock_output_test_", -- ":gmock_output_test_golden.txt", -- ], -- tags = [ -- "no_test_msvc2015", -- "no_test_msvc2017", -- ], -- deps = [":gmock_test_utils"], --) -- --cc_test( -- name = "gmock_test", -- size = "small", -- srcs = ["gmock_test.cc"], -- deps = ["//:gtest_main"], --) -diff --git a/third_party/googletest/googletest/test/BUILD.bazel b/third_party/googletest/googletest/test/BUILD.bazel -deleted file mode 100644 -index c561ef8b91..0000000000 ---- a/third_party/googletest/googletest/test/BUILD.bazel -+++ /dev/null -@@ -1,629 +0,0 @@ --# Copyright 2017 Google Inc. --# All Rights Reserved. --# --# --# Redistribution and use in source and binary forms, with or without --# modification, are permitted provided that the following conditions are --# met: --# --# * 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. --# --# Bazel BUILD for The Google C++ Testing Framework (Google Test) -- --load("@rules_python//python:defs.bzl", "py_library", "py_test") -- --licenses(["notice"]) -- --package(default_visibility = ["//:__subpackages__"]) -- --#on windows exclude gtest-tuple.h --cc_test( -- name = "gtest_all_test", -- size = "small", -- srcs = glob( -- include = [ -- "gtest-*.cc", -- "googletest-*.cc", -- "*.h", -- ], -- exclude = [ -- # go/keep-sorted start -- "googletest-break-on-failure-unittest_.cc", -- "googletest-catch-exceptions-test_.cc", -- "googletest-color-test_.cc", -- "googletest-death-test_ex_test.cc", -- "googletest-env-var-test_.cc", -- "googletest-fail-if-no-test-linked-test-with-disabled-test_.cc", -- "googletest-fail-if-no-test-linked-test-with-enabled-test_.cc", -- "googletest-failfast-unittest_.cc", -- "googletest-filter-unittest_.cc", -- "googletest-global-environment-unittest_.cc", -- "googletest-list-tests-unittest_.cc", -- "googletest-listener-test.cc", -- "googletest-message-test.cc", -- "googletest-output-test_.cc", -- "googletest-param-test-invalid-name1-test_.cc", -- "googletest-param-test-invalid-name2-test_.cc", -- "googletest-param-test-test", -- "googletest-param-test-test.cc", -- "googletest-param-test2-test.cc", -- "googletest-setuptestsuite-test_.cc", -- "googletest-shuffle-test_.cc", -- "googletest-throw-on-failure-test_.cc", -- "googletest-uninitialized-test_.cc", -- "googletest/src/gtest-all.cc", -- "gtest-death-test_ex_test.cc", -- "gtest-listener_test.cc", -- "gtest-unittest-api_test.cc", -- "gtest_all_test.cc", -- # go/keep-sorted end -- ], -- ) + select({ -- "//:windows": [], -- "//conditions:default": [], -- }), -- copts = select({ -- "//:windows": ["-DGTEST_USE_OWN_TR1_TUPLE=0"], -- "//conditions:default": ["-DGTEST_USE_OWN_TR1_TUPLE=1"], -- }) + select({ -- # Ensure MSVC treats source files as UTF-8 encoded. -- "//:msvc_compiler": ["-utf-8"], -- "//conditions:default": [], -- }), -- includes = [ -- "googletest", -- "googletest/include", -- "googletest/include/internal", -- "googletest/test", -- ], -- linkopts = select({ -- "//:qnx": [], -- "//:windows": [], -- "//conditions:default": ["-pthread"], -- }), -- deps = ["//:gtest_main"], --) -- --# Tests death tests. --cc_test( -- name = "googletest-death-test-test", -- size = "medium", -- srcs = ["googletest-death-test-test.cc"], -- deps = ["//:gtest_main"], --) -- --cc_test( -- name = "gtest_test_macro_stack_footprint_test", -- size = "small", -- srcs = ["gtest_test_macro_stack_footprint_test.cc"], -- deps = ["//:gtest"], --) -- --#These googletest tests have their own main() --cc_test( -- name = "googletest-listener-test", -- size = "small", -- srcs = ["googletest-listener-test.cc"], -- deps = ["//:gtest_main"], --) -- --cc_test( -- name = "gtest-unittest-api_test", -- size = "small", -- srcs = [ -- "gtest-unittest-api_test.cc", -- ], -- deps = [ -- "//:gtest", -- ], --) -- --cc_test( -- name = "googletest-param-test-test", -- size = "small", -- srcs = [ -- "googletest-param-test-test.cc", -- "googletest-param-test-test.h", -- "googletest-param-test2-test.cc", -- ], -- deps = ["//:gtest"], --) -- --cc_test( -- name = "gtest_unittest", -- size = "small", -- srcs = ["gtest_unittest.cc"], -- shard_count = 2, -- deps = ["//:gtest_main"], --) -- --# Py tests -- --py_library( -- name = "gtest_test_utils", -- testonly = 1, -- srcs = ["gtest_test_utils.py"], -- imports = ["."], --) -- --cc_binary( -- name = "gtest_help_test_", -- testonly = 1, -- srcs = ["gtest_help_test_.cc"], -- deps = ["//:gtest_main"], --) -- --py_test( -- name = "gtest_help_test", -- size = "small", -- srcs = ["gtest_help_test.py"], -- args = select({ -- "//:has_absl": ["--has_absl_flags"], -- "//conditions:default": [], -- }), -- data = [":gtest_help_test_"], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "googletest-output-test_", -- testonly = 1, -- srcs = ["googletest-output-test_.cc"], -- deps = ["//:gtest"], --) -- --py_test( -- name = "googletest-output-test", -- size = "small", -- srcs = ["googletest-output-test.py"], -- args = select({ -- "//:has_absl": [], -- "//conditions:default": ["--no_stacktrace_support"], -- }), -- data = [ -- "googletest-output-test-golden-lin.txt", -- ":googletest-output-test_", -- ], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "googletest-color-test_", -- testonly = 1, -- srcs = ["googletest-color-test_.cc"], -- deps = ["//:gtest"], --) -- --py_test( -- name = "googletest-color-test", -- size = "small", -- srcs = ["googletest-color-test.py"], -- data = [":googletest-color-test_"], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "googletest-env-var-test_", -- testonly = 1, -- srcs = ["googletest-env-var-test_.cc"], -- deps = ["//:gtest"], --) -- --py_test( -- name = "googletest-env-var-test", -- size = "medium", -- srcs = ["googletest-env-var-test.py"], -- data = [":googletest-env-var-test_"], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "googletest-failfast-unittest_", -- testonly = 1, -- srcs = ["googletest-failfast-unittest_.cc"], -- deps = ["//:gtest"], --) -- --py_test( -- name = "googletest-failfast-unittest", -- size = "medium", -- srcs = ["googletest-failfast-unittest.py"], -- data = [":googletest-failfast-unittest_"], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "googletest-filter-unittest_", -- testonly = 1, -- srcs = ["googletest-filter-unittest_.cc"], -- deps = ["//:gtest"], --) -- --py_test( -- name = "googletest-filter-unittest", -- size = "medium", -- srcs = ["googletest-filter-unittest.py"], -- data = [":googletest-filter-unittest_"], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "googletest-global-environment-unittest_", -- testonly = 1, -- srcs = ["googletest-global-environment-unittest_.cc"], -- deps = ["//:gtest"], --) -- --py_test( -- name = "googletest-global-environment-unittest", -- size = "medium", -- srcs = ["googletest-global-environment-unittest.py"], -- data = [":googletest-global-environment-unittest_"], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "googletest-break-on-failure-unittest_", -- testonly = 1, -- srcs = ["googletest-break-on-failure-unittest_.cc"], -- deps = ["//:gtest"], --) -- --py_test( -- name = "googletest-break-on-failure-unittest", -- size = "small", -- srcs = ["googletest-break-on-failure-unittest.py"], -- data = [":googletest-break-on-failure-unittest_"], -- deps = [":gtest_test_utils"], --) -- --cc_test( -- name = "gtest_assert_by_exception_test", -- size = "small", -- srcs = ["gtest_assert_by_exception_test.cc"], -- deps = ["//:gtest"], --) -- --cc_binary( -- name = "googletest-throw-on-failure-test_", -- testonly = 1, -- srcs = ["googletest-throw-on-failure-test_.cc"], -- deps = ["//:gtest"], --) -- --py_test( -- name = "googletest-throw-on-failure-test", -- size = "small", -- srcs = ["googletest-throw-on-failure-test.py"], -- data = [":googletest-throw-on-failure-test_"], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "googletest-list-tests-unittest_", -- testonly = 1, -- srcs = ["googletest-list-tests-unittest_.cc"], -- deps = ["//:gtest"], --) -- --cc_binary( -- name = "googletest-fail-if-no-test-linked-test-without-test_", -- testonly = 1, -- deps = ["//:gtest_main"], --) -- --cc_binary( -- name = "googletest-fail-if-no-test-linked-test-with-disabled-test_", -- testonly = 1, -- srcs = ["googletest-fail-if-no-test-linked-test-with-disabled-test_.cc"], -- deps = ["//:gtest_main"], --) -- --cc_binary( -- name = "googletest-fail-if-no-test-linked-test-with-enabled-test_", -- testonly = 1, -- srcs = ["googletest-fail-if-no-test-linked-test-with-enabled-test_.cc"], -- deps = ["//:gtest_main"], --) -- --cc_test( -- name = "gtest_skip_test", -- size = "small", -- srcs = ["gtest_skip_test.cc"], -- deps = ["//:gtest_main"], --) -- --cc_test( -- name = "gtest_skip_in_environment_setup_test", -- size = "small", -- srcs = ["gtest_skip_in_environment_setup_test.cc"], -- deps = ["//:gtest_main"], --) -- --py_test( -- name = "gtest_skip_check_output_test", -- size = "small", -- srcs = ["gtest_skip_check_output_test.py"], -- data = [":gtest_skip_test"], -- deps = [":gtest_test_utils"], --) -- --py_test( -- name = "gtest_skip_environment_check_output_test", -- size = "small", -- srcs = ["gtest_skip_environment_check_output_test.py"], -- data = [ -- ":gtest_skip_in_environment_setup_test", -- ], -- deps = [":gtest_test_utils"], --) -- --py_test( -- name = "googletest-list-tests-unittest", -- size = "small", -- srcs = ["googletest-list-tests-unittest.py"], -- data = [":googletest-list-tests-unittest_"], -- deps = [":gtest_test_utils"], --) -- --py_test( -- name = "googletest-fail-if-no-test-linked-test", -- size = "small", -- srcs = ["googletest-fail-if-no-test-linked-test.py"], -- data = [ -- ":googletest-fail-if-no-test-linked-test-with-disabled-test_", -- ":googletest-fail-if-no-test-linked-test-with-enabled-test_", -- ":googletest-fail-if-no-test-linked-test-without-test_", -- ], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "googletest-shuffle-test_", -- srcs = ["googletest-shuffle-test_.cc"], -- deps = ["//:gtest"], --) -- --py_test( -- name = "googletest-shuffle-test", -- size = "small", -- srcs = ["googletest-shuffle-test.py"], -- data = [":googletest-shuffle-test_"], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "googletest-catch-exceptions-no-ex-test_", -- testonly = 1, -- srcs = ["googletest-catch-exceptions-test_.cc"], -- deps = ["//:gtest_main"], --) -- --cc_binary( -- name = "googletest-catch-exceptions-ex-test_", -- testonly = 1, -- srcs = ["googletest-catch-exceptions-test_.cc"], -- copts = ["-fexceptions"], -- deps = ["//:gtest_main"], --) -- --py_test( -- name = "googletest-catch-exceptions-test", -- size = "small", -- srcs = ["googletest-catch-exceptions-test.py"], -- data = [ -- ":googletest-catch-exceptions-ex-test_", -- ":googletest-catch-exceptions-no-ex-test_", -- ], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "gtest_xml_output_unittest_", -- testonly = 1, -- srcs = ["gtest_xml_output_unittest_.cc"], -- deps = ["//:gtest"], --) -- --cc_test( -- name = "gtest_no_test_unittest", -- size = "small", -- srcs = ["gtest_no_test_unittest.cc"], -- deps = ["//:gtest"], --) -- --py_test( -- name = "gtest_xml_output_unittest", -- size = "small", -- srcs = [ -- "gtest_xml_output_unittest.py", -- "gtest_xml_test_utils.py", -- ], -- args = select({ -- "//:has_absl": [], -- "//conditions:default": ["--no_stacktrace_support"], -- }), -- data = [ -- # We invoke gtest_no_test_unittest to verify the XML output -- # when the test program contains no test definition. -- ":gtest_no_test_unittest", -- ":gtest_xml_output_unittest_", -- ], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "gtest_xml_outfile1_test_", -- testonly = 1, -- srcs = ["gtest_xml_outfile1_test_.cc"], -- deps = ["//:gtest_main"], --) -- --cc_binary( -- name = "gtest_xml_outfile2_test_", -- testonly = 1, -- srcs = ["gtest_xml_outfile2_test_.cc"], -- deps = ["//:gtest_main"], --) -- --py_test( -- name = "gtest_xml_outfiles_test", -- size = "small", -- srcs = [ -- "gtest_xml_outfiles_test.py", -- "gtest_xml_test_utils.py", -- ], -- data = [ -- ":gtest_xml_outfile1_test_", -- ":gtest_xml_outfile2_test_", -- ], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "googletest-setuptestsuite-test_", -- testonly = 1, -- srcs = ["googletest-setuptestsuite-test_.cc"], -- deps = ["//:gtest_main"], --) -- --py_test( -- name = "googletest-setuptestsuite-test", -- size = "medium", -- srcs = ["googletest-setuptestsuite-test.py"], -- data = [":googletest-setuptestsuite-test_"], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "googletest-uninitialized-test_", -- testonly = 1, -- srcs = ["googletest-uninitialized-test_.cc"], -- deps = ["//:gtest"], --) -- --py_test( -- name = "googletest-uninitialized-test", -- size = "medium", -- srcs = ["googletest-uninitialized-test.py"], -- data = ["googletest-uninitialized-test_"], -- deps = [":gtest_test_utils"], --) -- --cc_binary( -- name = "gtest_testbridge_test_", -- testonly = 1, -- srcs = ["gtest_testbridge_test_.cc"], -- deps = ["//:gtest_main"], --) -- --# Tests that filtering via testbridge works --py_test( -- name = "gtest_testbridge_test", -- size = "small", -- srcs = ["gtest_testbridge_test.py"], -- data = [":gtest_testbridge_test_"], -- deps = [":gtest_test_utils"], --) -- --py_test( -- name = "googletest-json-outfiles-test", -- size = "small", -- srcs = [ -- "googletest-json-outfiles-test.py", -- "gtest_json_test_utils.py", -- ], -- data = [ -- ":gtest_xml_outfile1_test_", -- ":gtest_xml_outfile2_test_", -- ], -- deps = [":gtest_test_utils"], --) -- --py_test( -- name = "googletest-json-output-unittest", -- size = "medium", -- srcs = [ -- "googletest-json-output-unittest.py", -- "gtest_json_test_utils.py", -- ], -- args = select({ -- "//:has_absl": [], -- "//conditions:default": ["--no_stacktrace_support"], -- }), -- data = [ -- # We invoke gtest_no_test_unittest to verify the JSON output -- # when the test program contains no test definition. -- ":gtest_no_test_unittest", -- ":gtest_xml_output_unittest_", -- ], -- deps = [":gtest_test_utils"], --) -- --# Verifies interaction of death tests and exceptions. --cc_test( -- name = "googletest-death-test_ex_catch_test", -- size = "medium", -- srcs = ["googletest-death-test_ex_test.cc"], -- copts = ["-fexceptions"], -- defines = ["GTEST_ENABLE_CATCH_EXCEPTIONS_=1"], -- deps = ["//:gtest"], --) -- --cc_binary( -- name = "googletest-param-test-invalid-name1-test_", -- testonly = 1, -- srcs = ["googletest-param-test-invalid-name1-test_.cc"], -- deps = ["//:gtest"], --) -- --cc_binary( -- name = "googletest-param-test-invalid-name2-test_", -- testonly = 1, -- srcs = ["googletest-param-test-invalid-name2-test_.cc"], -- deps = ["//:gtest"], --) -- --py_test( -- name = "googletest-param-test-invalid-name1-test", -- size = "small", -- srcs = ["googletest-param-test-invalid-name1-test.py"], -- data = [":googletest-param-test-invalid-name1-test_"], -- tags = [ -- "no_test_msvc2015", -- "no_test_msvc2017", -- ], -- deps = [":gtest_test_utils"], --) -- --py_test( -- name = "googletest-param-test-invalid-name2-test", -- size = "small", -- srcs = ["googletest-param-test-invalid-name2-test.py"], -- data = [":googletest-param-test-invalid-name2-test_"], -- tags = [ -- "no_test_msvc2015", -- "no_test_msvc2017", -- ], -- deps = [":gtest_test_utils"], --) \ No newline at end of file diff --git a/bazel/deps.yaml b/bazel/deps.yaml index 2ce403ef72b33..fa824fcc313a1 100644 --- a/bazel/deps.yaml +++ b/bazel/deps.yaml @@ -53,7 +53,7 @@ boringssl: project_name: "BoringSSL" project_desc: "Minimal OpenSSL fork" project_url: "https://github.com/google/boringssl" - release_date: "2025-05-14" + release_date: "2025-11-25" use_category: - controlplane - dataplane_core diff --git a/bazel/external/boringssl_fips.genrule_cmd b/bazel/external/boringssl_fips.genrule_cmd index efd95a014949c..ccdc70a19a254 100755 --- a/bazel/external/boringssl_fips.genrule_cmd +++ b/bazel/external/boringssl_fips.genrule_cmd @@ -55,13 +55,13 @@ build_boringssl_fips() { -DCMAKE_CXX_FLAGS="${CXXFLAGS} -fPIC" \ -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS" \ -DCMAKE_SHARED_LINKER_FLAGS="$${LDFLAGS}" \ + -DBUILD_TESTING=off \ .. ninja -j "${NINJA_CORES:-1}" } validate_fips() { cd "$BSSL_SRC/build" || exit 1 - ninja run_tests # Verify correctness of the FIPS build. IS_FIPS="$(./bssl isfips)" if [[ "${IS_FIPS}" != "1" ]]; then diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index ff5e30be5d811..dc84128401d53 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -256,8 +256,6 @@ def _boringssl_fips(): name = "boringssl_fips", location_name = "boringssl", build_file = "@envoy//bazel/external:boringssl_fips.BUILD", - patches = ["@envoy//bazel:boringssl_fips.patch"], - patch_args = ["-p1"], ) NINJA_BUILD_CONTENT = "%s\nexports_files([\"configure.py\"])" % BUILD_ALL_CONTENT diff --git a/bazel/repository_locations.bzl b/bazel/repository_locations.bzl index c1184cbdba613..8676d4cf1bbd4 100644 --- a/bazel/repository_locations.bzl +++ b/bazel/repository_locations.bzl @@ -67,8 +67,8 @@ REPOSITORY_LOCATIONS_SPEC = dict( boringssl = dict( # To update BoringSSL, which tracks BCR tags, open https://registry.bazel.build/modules/boringssl # and select an appropriate tag for the new version. - version = "0.20250514.0", - sha256 = "71ef1eb84a035a033ad55867f89a141ddb2e5c5829dd4035ea7803bfff0257ed", + version = "0.20251124.0", + sha256 = "d47f89b894bf534c82071d7426c5abf1e5bd044fee242def53cd5d3d0f656c09", strip_prefix = "boringssl-{version}", urls = ["https://github.com/google/boringssl/archive/{version}.tar.gz"], ),