aboutsummaryrefslogtreecommitdiffstats
path: root/BUILD.bazel
Commit message (Collapse)AuthorAgeFilesLines
* Googletest exportmisterg2019-04-291-2/+0
| | | | | | Internal Change PiperOrigin-RevId: 245788057
* Enable CI on Windows (appveyor) with BazelPavel Samolysov2019-01-221-0/+5
| | | | Signed-off-by: Pavel Samolysov <samolisov@gmail.com>
* Enable building as a shared library (dll) on Windows with BazelPavel Samolysov2019-01-141-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While the google test library is being built as a shared library using Bazel, so that there is a rule like cc_test( name = "iterator_traits_test", linkstatic = 0, deps = ["@gtest//:gtest_main"], ... ) in a BUILD file, the following error appears on Windows: INFO: Found 1 test target... ERROR: C:/../external/gtest/BUILD.bazel:55:1: output 'external/gtest/gtest.if.lib' was not created ERROR: C:/../external/gtest/BUILD.bazel:55:1: not all outputs were created or valid Target //test:iterator_traits_test failed to build The reason is a missing "win_def_file" attribute of the "gtest" and "gtest_main" rules in the BUILD.bazel inside the google test library package. The "windows_export_all_symbols" feature is added to the rules, this feature forces Bazel to export all symbols from the google test library to linker. I believe exporting all symbols from a testing library makes no problem for the application from a point of view on encapsulation. Signed-off-by: Pavel Samolysov <samolisov@gmail.com>
* Googletest exportmisterg2018-12-031-2/+0
| | | | | | Fix bazel issue PiperOrigin-RevId: 223829127
* Googletest exportmisterg2018-12-031-0/+2
| | | | | | Fix bazel issue PiperOrigin-RevId: 223823930
* Googletest exportkrzysio2018-11-071-43/+29
| | | | | | | | Improve Bazel build files. New target gtest_prod allows access to the FRIEND_TEST macro without depending on the entirety of GTest in production executables. Additionally, duplicate config_setting rules were removed and formatting was adjusted. PiperOrigin-RevId: 220279205
* Googletest exportmisterg2018-10-011-0/+180
| | | | | | Internal Change PiperOrigin-RevId: 215236414
* Googletest exportdurandal2018-10-011-180/+0
| | | | | | Add myself to the authors table. PiperOrigin-RevId: 214822035
* Merge branch 'master' into stacktraceDerek Mauro2018-07-121-0/+1
|\
| * Adds the UniversalPrinter for absl::variant.Derek Mauro2018-07-121-17/+19
| |
* | Adds stacktrace support from Abseil to Google TestDerek Mauro2018-07-101-17/+21
|/ | | | | | | | | | | | | | | | | | | This change adds the ability to generate stacktraces in Google Test on both failures of assertions/expectations and on crashes. The stacktrace support is conditionally available only when using Abseil with Google Test. To use this support, run the test under Bazel with a command like this: bazel test --define absl=1 --test_env=GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1 //path/to/your:test The "--define absl=1" part enables stacktraces on assertion/expectation failures. The "--test_env=GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1" part enables the signal handler that logs a stacktrace in the event of a crash (this also requires the "--define absl=1" part). This is not the default since it may interfere with existing tests.
* Merges and also adding new bazel build modeGennadiy Civil2018-01-311-0/+1
|
* Ability to optionally depend on Abseil plus upstream of 183716547Gennadiy Civil2018-01-301-0/+20
|
* [Bazel] Detect Windows with cpu value x64_windows and x64_windows_msvcLoo Rong Jie2018-01-091-3/+10
| | | | and x64_windows_msvc
* Also can build when included in source.Zhongming Qu2017-08-181-1/+1
|
* Remove trailing whitespaces in BUILD.bazelZhongming Qu2017-08-181-2/+2
|
* Addressing commentsmisterg2017-08-101-5/+1
|
* Added Copyrightmisterg2017-08-101-5/+32
|
* Initial Revision, review 164634031misterg2017-08-101-1/+2
|
* WIPmisterg2017-08-091-10/+7
|
* WIPmisterg2017-08-091-69/+9
|
* WIP, win testingmisterg2017-08-081-3/+3
|
* WIPmisterg2017-08-081-142/+60
|
* WIPmisterg2017-08-021-36/+20
|
* WIPmisterg2017-08-021-23/+15
|
* WIPmisterg2017-08-011-8/+8
|
* WIPmisterg2017-08-011-0/+292