aboutsummaryrefslogtreecommitdiff
path: root/WORKSPACE
AgeCommit message (Collapse)AuthorFilesLines
2024-01-25Add support for Bzlmod for the next releaseDerek Mauro1-12/+14
https://bazel.build/external/overview#bzlmod Bzlmod will be the default in a future Bazel release. By default it requires projects to be registered with the Bazel Central Registry (https://registry.bazel.build/) and thus uses regular releases by default. Users that want to "live-at-head" can still do this through with overrides (https://bazel.build/external/module#overrides). This change updates GoogleTest dependencies to use released versions. CI uses Bzlmod except in the case of linux_gcc-floor, which will keep testing the old WORKSPACE-based dependency system. PiperOrigin-RevId: 601489729 Change-Id: I6be52034eba0d0e5fe12110e5e82879305cf73ff
2023-08-01Update GoogleTest dependenciesDerek Mauro1-12/+12
PiperOrigin-RevId: 552912819 Change-Id: If1b6278f7fe5a8fc41fc3bc390356a94387d0091
2023-03-16Move transitive dependencies of googletest to googletest_deps.bzl to allow ↵Deanna Garcia1-16/+3
other bazel projects to depend on that rule instead of googletests' transitive dependencies directly. PiperOrigin-RevId: 517166391 Change-Id: I9158e24d3f9613f3bcc811c028e1a15f213b7c40
2023-02-27Eliminate argv list action parameter.Abseil Team1-4/+4
PiperOrigin-RevId: 512791992 Change-Id: Ie7fc37ea06ea7d9f595268c9ec84a0e144c297bb
2023-01-11Update GoogleTest dependenciesDerek Mauro1-24/+20
PiperOrigin-RevId: 501282034 Change-Id: I0314ac566dc5e117db5a06c97d303e5cf8822d61
2022-10-08Update rules_python, bazel_skylib and platfromsVertexwahn1-8/+13
2022-06-22Update versions of WORKSPACE dependenciesv1.12.0-prev1.12.0release-1.12.0Derek Mauro1-12/+12
PiperOrigin-RevId: 456532035 Change-Id: I60fa4d4e7827516d317ce893377d1f72e49c6a2f
2022-04-26Use RE2 for the regex implementation when building with Bazel and using AbseilDerek Mauro1-3/+25
bazel build --define=absl=1 ... A dependency on RE2 is now required when building GoogleTest with Abseil. Using RE2 will provide a consistent cross-platform regex experience. Users will need to add the com_googlesource_code_re2, bazel_skylib, and platforms repository to their WORKSPACE files. See our WORKSPACE file in the root directory of this project for an example of how to add the dependencies. Please note that the com_googlesource_code_re2 dependency must use a commit from the `abseil` branch of the project: https://github.com/google/re2/tree/abseil PiperOrigin-RevId: 444650118 Change-Id: I45c55b26684c0c50d721a05b81c5f8a0c092400f
2022-04-04Use the Abseil flags library when Abseil is presentDerek Mauro1-3/+3
When built with `--define=absl=1` under Bazel, GoogleTest flags use ABSL_FLAG instead of GoogleTest's own implementation. There are some minor behavior differences in this mode. The most notable difference is that unrecognized flags result in a flag parsing error, and are not returned to the user though a modified argc/argv, unless they appear after the positional argument delimiter ("--"). For example, to pass a non-Abseil flag, you would have to do ./mytest --gtest_color=false -- --myflag=myvalue The documentation at https://abseil.io/docs/cpp/guides/flags may be helpful in understanding the behavior. There are some other minor differences. For example, passing --help results in the program returning 1 instead of 0. https://github.com/google/googletest/issues/3646 PiperOrigin-RevId: 439312700 Change-Id: Id696a25f50f24a5b1785c45ca8fa59794f86fd5c
2021-09-17Remove bazelbuild/rules_cc dependencyVertexwahn1-7/+0
2021-07-22Googletest exportdmauro1-10/+10
Run buildifier on WORKSPACE Fixes #3483 PiperOrigin-RevId: 385610473
2021-06-02Googletest exportdmauro1-18/+12
Updates Linux docker image to use Bazel 4.1.0 and GCC 11.1 Updates Bazel dependencies Removes the last usage of the deprecated and removed Python2 PiperOrigin-RevId: 375759184
2021-03-04Googletest exportAbseil Team1-8/+8
Format WORKSPACE and googlemock/test/BUILD.bazel using buildifier PiperOrigin-RevId: 360913861
2020-10-14Googletest exportdmauro1-11/+18
Stop using master.zip to make the build reproducible PiperOrigin-RevId: 337102716
2019-08-19Googletest exportmisterg1-4/+3
Stop depending on the abseil master PiperOrigin-RevId: 264210838
2019-08-19Merge pull request #2381 from Yannic:fix_bazelGennadiy Civil1-0/+13
PiperOrigin-RevId: 264186624
2019-08-16Googletest exportmisterg1-3/+4
Stop depending on the abseil master PiperOrigin-RevId: 263789087
2019-08-07Prepare for Bazel incompatible changesYannic Bonenberger1-3/+15
Fixes googletest for upcoming `--incompatible_load_cc_rules_from_bzl` (https://github.com/bazelbuild/bazel/issues/8743) and `--incompatible_load_python_rules_from_bzl` (https://github.com/bazelbuild/bazel/issues/9006). This change was automatically generated with `buildifier -lint=fix -warnings=all $(find . -name "BUILD" -o -name "BUILD.bazel" -o -name "*.bzl")`.
2018-12-03Update WORKSPACEGennadiy Civil1-0/+2
Need this for bazel change
2018-01-30Ability to optionally depend on Abseil plus upstream of 183716547Gennadiy Civil1-0/+7
2017-08-10Update WORKSPACEGennadiy Civil1-35/+1
Remove comments
2017-08-10Added Copyrightmisterg1-0/+34
2017-08-01WIPmisterg1-0/+1