mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-17 08:33:54 +00:00
23 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
380f2108df |
Roll crashpad/third_party/gtest/gtest/ eb78ee170..e3f0319d8 (232 commits)
|
||
|
8bad6f140e |
[UBSan] Temporarily disable UBSan for gtest and file
These should be the remaining instances of UB errors we see. Bug: fuchsia:46805 Change-Id: Id8285386fd6cb52518f6076ddb79ac60025f9f87 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2067754 Reviewed-by: Scott Graham <scottmg@chromium.org> Commit-Queue: Scott Graham <scottmg@chromium.org> |
||
|
75ea787a80 |
Adds plumbing for xcuitests with a placeholder test.
Also adds basic integration for EDO. Change-Id: If3d193a4967a566b55d6d446585e2988dacad6e6 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2028183 Commit-Queue: Justin Cohen <justincohen@chromium.org> Reviewed-by: Rohit Rao <rohitrao@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> |
||
|
2fd16e3392 |
Reformat all gn files
Port of chromium-side https://chromium-review.googlesource.com/c/chromium/src/+/1997899 Bug: chromium:1041419 Change-Id: Ic7afefa0dea024da37fe4bb0f965840a160e2166 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2015428 Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> |
||
|
6b5e30db28 |
Fix signed-unsigned-wchar build failure
Fix a build failure introduced by a new error diagnostic (-Wsigned-unsigned-wchar) in clang that has been fixed in a newer version of gtest and revert commit a34bca8611b6263632a94d3d773df076c81d03dd which worked around it. Change-Id: Ibe332bf65215e4722fd962540f144c435f77b2fb Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1753067 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org> |
||
|
a34bca8611 |
Disable warning when building gmock tests
On recent clang builds, some gmock tests are failing to build: FAILED: obj/third_party/gtest/gtest/googlemock/test/gmock_all_test.gmock-actions_test.o ../../third_party/linux/clang/linux-amd64/bin/clang++ -MMD -MF obj/third_party/gtest/gtest/googlemock/test/gmock_all_test.gmock-actions_test.o.d -D_FILE_OFFSET_BITS=64 -DGUNIT_NO_GOOGLE3=1 -I../../third_party/gtest/gtest/googlemock -I../../third_party/gtest/gtest/googletest -I../../third_party/gtest/gtest/googlemock/include -I../../third_party/gtest/gtest/googletest/include -Wall -Wendif-labels -Werror -Wextra -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wsign-compare -fno-exceptions -fno-rtti -fno-strict-aliasing -fobjc-call-cxx-cdtors -fstack-protector-all -fvisibility-inlines-hidden -fvisibility=hidden -Wheader-hygiene -Wnewline-eof -Wstring-conversion -stdlib=libstdc++ -fPIC -Wimplicit-fallthrough --sysroot=../../third_party/linux/sysroot -pthread -Wexit-time-destructors -Wno-unused-private-field -std=c++14 -Wno-inconsistent-missing-override -c ../../third_party/gtest/gtest/googlemock/test/gmock-actions_test.cc -o obj/third_party/gtest/gtest/googlemock/test/gmock_all_test.gmock-actions_test.o ../../third_party/gtest/gtest/googlemock/test/gmock-actions_test.cc:109:37: error: 'wchar_t' cannot be signed or unsigned [-Wsigned-unsigned-wchar] EXPECT_EQ(0U, BuiltInDefaultValue<unsigned wchar_t>::Get()); ^ ... Disable this warning for now. Change-Id: Ibd41a6fc12d1f13eca5227775e2559ccf3baf229 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1754722 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> |
||
|
0730f0c60c |
[fuchsia] rename gn group to fuchsia
now that we import fuchsia-sysinfo and fdio, this isn't really just zx anymore Change-Id: Ic42359ce3d230e214ebdbbefb880ccb021434a0f Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1555533 Reviewed-by: Scott Graham <scottmg@chromium.org> Commit-Queue: Francois Rousseau <frousseau@google.com> |
||
|
8694cbf33e |
Update gtest to 9518a57428ae0a7ed450c1361768e84a2a38af5a
4665eee10a1d test, please ignore 826656b25f62 Remove workarounds for unsupported MSVC versions c43603f288f4 Remove GTEST_HAS_HASH_SET/MAP check a3a42514f1a9 Define GTEST_DISABLE_MSC_WARNINGS_PUSH/POP for all compilers 48021336904c Add back warning suppression that shouldn't have been removed 1454f301c554 Update README.md 09beafcd1d54 Merge branch 'master' into patch-1 7a0680dc2230 Merge pull request #1959 from robinlinden:remove-msvc- workarounds d5932506d6ee Merge pull request #1961 from coppered/patch-1 c5f08bf91944 Googletest export e46e87bb1f76 Googletest export aac18185ebb4 Googletest export 8e86f6726164 Googletest export 45d66d81bec9 Googletest export 5dab7be70d62 Googletest export c2989fe29b6a Googletest export b49266606875 Googletest export bb7c0ecbdf47 Googletest export 64368e0584e0 Googletest export f7779eb3cb5d Googletest export a3013cceffbe Googletest export 3cf8f514d859 Update build badge ce526b87007a Issue #1955: Remove THREADS_PREFER_PTHREAD_FLAG 28a3261fdf94 Create CODE_OF_CONDUCT.md 87589af5ba5a Update .travis.yml 2f126c74d264 Update .travis.yml 5404fd7d06a8 Update .travis.yml 915f6cfef369 Update .travis.yml fca458cab75b Googletest export 191f9336bc92 Merge pull request #1977 from lukasm91:issue_1955_remove_pthread_flags b22d23667b60 Googletest export 8fbf9d16a63a Googletest export 775a17631217 Fixed typo a42cdf2abdc0 Googletest export 26743363be8f Googletest export ba344cbc405f Googletest export 10e82d01d94c Update README.md a28a71ae41fa Update README.md 214521a1486d Update WORKSPACE 3fd66989bb5c Googletest export 067aa4c28bb1 Do not define GTEST_IS_THREADSAFE within GTEST_HAS_SEH 3d71ab4c37de Googletest export fe14e3030737 Merge pull request #1995 from siddhanjay/patch-1 2c8ab3f18b2e feat: Add initial support for PlatformIO and Arduino 695cf7c96249 Merge pull request #1997 from gpakosz:GTEST_IS_THREADSAFE 39c09043b83e chore: Add initial library.json config d9251df84951 fix: Remove global chmod from Travis 31eb5e9b873a chore: Update version to latest release b5c08cb9f4f1 Cache gcc and clang APT packages 06bb8d4d6dcf Googletest export 6cbd3753dc19 Googletest export ea5e941d8470 Change directory ownership earlier fc0f92676865 Don't cache APT packages on OS X/macOS 3b1f43c2e7a5 Use if statements b545089f5117 Merge pull request #2004 from cotsog/patch-1 6ef591381372 Googletest export 3949c403c0ed Update README.md 81f00260668d Googletest export c6cb7e033591 Googletest export b5f5c596a991 Merge pull request #2000 from ciband:feat/add_support_platformio 1496f73cc4c3 fix: correct JSON syntax 0f698c830f79 chore: Add .vs to .gitignore for Visual Studio 096fb37a1976 Googletest export 1ec20f87e390 Googletest export b7dd66519f4a Googletest export ed3f9bb22960 Googletest export 85c4172ed66e Update README.md 7515e399436a Googletest export 9ab640ce5e51 Googletest export e26a3fa13ca2 Googletest export 9494c45e75a5 Googletest export a83cc11abe48 Googletest export b93a13ec4db4 Improvements have been made to the example/sample makefiles for both googlemock and googletest. Library files are now created and named like versions produced by Cmake 34a99e547ab7 Googletest export 4160336cb433 Merge pull request #2013 from ciband:chore/fix_library_json 150613166524 Update README.md c0ef2cbe42df fix: Correct GitHub paths 16269ae2f857 Merge pull request #2027 from ciband:chore/fix_library_json 77004096e850 Update README.md 6729a1361150 Merge #2002 0cf2130c0b59 Update Xcode project file 3bedb5a9fc36 Merge pull request #2035 from syohex/update-xcode-project- file 6d5ce40d4c27 fix: Add additional source and include directories de99386b67a3 Merge branch 'chore/fix_library_json' of https://github.com/ciband/googletest into chore/fix_library_json 25905b9f9a45 Merge branch 'master' of https://github.com/google/googletest 2ace910a3580 Revert "test, please ignore" 8ed34e0f6b4e Remove outdated scripts 933e5df28372 Merge pull request #2039 from gennadiycivil/master f8b1c1af1775 Googletest export 14c2fba7349e Googletest export 1bcbd5871e34 Merge pull request #2037 from ciband:chore/fix_library_json bfcc47fc2f61 Merge pull request #2026 from justin6case/example_makefile_improvements 8a27d164cbc7 Update README.md 6e410a3ae965 Update README.md ac8c102dae66 Update README.md 3a460a26b7a9 Googletest export 827515f8a092 Googletest export 5d3a2cd9c854 Update docs, TestCase->TestSuite 58e62f7a989c Merge branch 'master' of https://github.com/google/googletest 3880b13e4c0b Merge pull request #2042 from gennadiycivil/master ade8baa7d213 clang-tidy: modernize-deprecated-headers 8369b5bbd0dd fixing build errors for unused parameter b6cd405286ed Googletest export 644319b9f06f Merge pull request #2048 from ciband:chore/clang_tidy 216c37f057ae Googletest export f31bf1d362af Googletest export 50f1a77955bd Merge pull request #2051 from enptfb55:master 7a7e2bba1d62 Googletest export bc1023b4131c Googletest export 6693e85b0402 Merge branch 'master' of github.com:google/googletest 2edadcedf350 Workaround homebrew issue 0599a7b8410d Googletest export 097407fd3cfb Googletest export 9acd065a905a Googletest export eb9225ce361a Googletest export 0adeadd28302 Googletest export 9518a57428ae Googletest export Change-Id: I2029f907549bed52816fd3660be5b77ad19e73c9 Reviewed-on: https://chromium-review.googlesource.com/c/1427241 Reviewed-by: Joshua Peraza <jperaza@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org> |
||
|
3ca0713430 |
roll googletest to b18d39
* 71d4fc is the change fixing death tests on Fuchsia where the exception was still caught by the system exception handler * we need up to b18d39 to make Windows happy Change-Id: Ic938caabe3dde93ebda520b389b166d78c4460a6 Reviewed-on: https://chromium-review.googlesource.com/c/1350931 Reviewed-by: Scott Graham <scottmg@chromium.org> Commit-Queue: Francois Rousseau <frousseau@google.com> |
||
|
bf327d8ceb |
Introduce "dart" dependencies configuration for embedding into Dart VM.
This configuration has the following dependencies layout: * gtest should be pulled from //third_party/googletest * zlib from //third_party/zlib * base from //third_party/mini_chromium/mini_chromium/base * Windows build configs come from //build/config/win:*. Bug: crashpad: Change-Id: I22b44d4f85349383063bf3785a321e3c23d88853 Reviewed-on: https://chromium-review.googlesource.com/c/1291378 Commit-Queue: Vyacheslav Egorov <vegorov@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> |
||
|
bff3594594 |
fuchsia: Update includes for new fdio header location
Also includes a gtest roll, which includes a change in gtest to do the same thing. This also removes the link against launchpad which is no longer necessary, and will be removed from the SDK soon. Bug: crashpad:196, chromium:848028, chromium:850757 Change-Id: Ica8632a6157b585d6b44073e05bf7aa43253e305 Reviewed-on: https://chromium-review.googlesource.com/1096353 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by: Joshua Peraza <jperaza@chromium.org> |
||
|
9de3535bbb |
fuchsia: Re-add launchpad for now
launchpad usage directly in Crashpad was removed, but gtest still uses launchpad (for death tests) so keep it here for now (until the gtest upstream change has landed to remove launchpad there). Also, roll mini_chromium and remove link of zircon, since that's in the base configuration now. Bug: crashpad:196 Change-Id: I68b1092aaa6fc31efe693e3fcd5bde71c2d91d42 Reviewed-on: https://chromium-review.googlesource.com/1083611 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by: Joshua Peraza <jperaza@chromium.org> |
||
|
1299754179 |
fuchsia: Migrate off launchpad
Rather than using liblaunchpad.so to create processes, we now use fdio_spawn. Bug: crashpad:196 Change-Id: I28a7c12c823f0a0d120962edfce2e2197302b9cb Reviewed-on: https://chromium-review.googlesource.com/1080234 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by: Scott Graham <scottmg@chromium.org> |
||
|
f5564e6292 |
Roll gtest (and mini_chromium)
gtest started depending on zircon and launchpad directly for death tests, so tweak the build files. Logs for upstreams below: mini_chromium$ git log --oneline --no-merges --no-decorate 40cb6722bbc6bd6fb5fccecd80362313440a0537..53a3ff4cf81adb25fdf764e8547a8515fc8f70c2 53a3ff4 fuchsia: Add fdio to system includes 23b3647 fuchsia: Update sysroot.gni for sysroot location moving in SDK gtest$ git log --oneline --no-merges --no-decorate d175c8bf823e709d570772b038757fadf63bc632..145d05750b15324899473340c8dd5af50d125d33 49ecebd Downgrade to C++98. ec2c911 Downgrade to C++98 code. f91bf75 Remove unused variable in Fuchsia. 54e331b Add support for versioned standard libraries. fc66ae4 Update generated code. b8fa4d2 Add unit test for CanonicalizeForStdLibVersioning. 18abd8f Use NULL instead of nullptr, for pre-C++11 builds. ec5ad0f Fix the bug where ad_hoc_test_result() functions of UnitTest and TestCase objects would return failures registered at TestCase and UnitTest scopes, respectively. 960149f Remove magic number 242f0f6 Style fix 8497540 Fix comments 13af91f Fix more stuff and get tests to pass 96c3c42 Get all the things to work. a9653c4 Fix gmock not building when -fno-rtti b6cb5c3 Fix stuff d4b5281 Add Fuchsia support for death test. 95ec42d Add no-exception and no-rtti to build matrix b539167 merging, bb7a018 reverting, test 7b4ee66 reverting just to test 62a7c14 testing 2d3024f Fix friend declaration to use GTEST_API_ decl spec. b2f97ab Revert useless use of GTEST_API_ on WithoutMatchers decl. 1c79ad7 Add GTEST_API_ tag to WithoutMatchers class. Hopefully that fixes the problem on MSVC? d5725da Mark new GetWithoutMatchers method as part of the exported API, to address MSVC linker errors. f6551f2 Don't use generalized initializer list; is C++11 extension. f437f8c Clone of unsubmitted cr/176529515. Introduce parameterless expectations. f312435 more typos a0fd742 msvc b00e281 more typos 881ee30 typo 10e8ec2 move only types docs 4d554c3 typo b4cbf53 typo 78d7381 http://cl/193386206 c56ba73 merge, explicit, ( should be it) 4707c0f 193353312 80d6e26 cl/193060888 5dccf6b http://cl/193060888 dff32af http://cl/193060888 3f88bb1 test-meerging ec425d7 typo e4ab316 more msvc 1944bc0 typo e9eff48 msvc warnings bd2a1ae merging gmock generated matchers 9fba103 merging, testing, this should be it 1c6e68c merging 26c10dc merging d84eb86 more pizza f45728a more OSX pizzas b74a1af osx pizzas f9bd618 merging gmock actions test 0bfa823 merging, gmock actions test 2dc576e merging f7330f9 more fixing osx libstd++ bugs 6538049 fixing dc4f563 merging, fix OSX issue 092ca91 merging a79851f merging fa658e0 merging c67f51b msvc 9b5940e revert this one b2d81b4 merge, ... gmock-matchers test e77deb2 small cleanup 1324e2d Remove multiple inheritance from "unintesting call" mock classes. 373481c ...merging 8654c1c merging ab84d14 Upstream cl/192179348 c13ab60 merging 5cd213e ..and this should be it 6a7573a more 039d9b5 pizza work, cont f15fd96 osx pizzas, cont b15be9a fixing osx pizza 6f9db26 merging 9bc82ce merging 25d8176 merging e1071eb RE-Doing the merge, this time with gcc on mac in the PR so I can catch errors before merging the PR 8fbb419 Include gcc on mac into PR matrix ca54b67 Revert "gmock actions 2" 64d24b8 ... and this c1d4c34 this should be it f587100 yet more 05b5a53 formatting 2de24fb tuning 055f321 tuning 57d6e82 more 44da2b9 cont e93a0ec msvc c4684b4 more msvc 431bfdc msvc 14 8bc7c63 testing msvc again c4e3d77 More msvc 14 6525044 And also silence for MSVS14 35a709a preproc syntax ( I can never remember it) 61e8a0b syntax 03be5df cont. e0b3c26 continued 51f8ad4 Sync gmock-generated-nice-strict.h.pump with gmock-generated-nice-strict.h. dbd206e more mcvs fixing 701e1e5 linkage, fixing MSVC 2d4d4ef fixing MSVC 5fe8de5 more warnings cb13dc7 more warnings d9f3611 more MSVC warnings c75b76e warnings 04e3188 cont - 2 32ac949 cont 1831ac9 more warnings eb3e4aa deal with MSVC warn, cont 1 50c0bcd Cont. deal with MCVS warnings b5c87fb Deal with MCVS warnings 88fc7d7 merging gmock-actions 2 fe402c2 Merging gMock, 2 7e5f90d formatting 9286361 And more MCVS warnings e0f4cf0 fixing MCVS warn 7045138 Have to wait for this one 66eaf9f Have to wait for this one af93d59 Merging matchers test 0cd6a4f Merging matchers test d81b6a0 bad cut/paste a608d4a More on MSVC warning C4503, decorated name length exceeded 6f4e939 More on MSVC warning C4503, decorated name length exceeded 5b3d277 Address MSVC warning C4503, decorated name length exceeded, name was truncated aa14cc4 Fixing build break on MSVC e55089e merging gmock matchers 1 a0c27bd fix build break on locale windows 1776ed8 Tweaking https://github.com/google/googletest/pull/1523 to exclude nacl d52aaee Upstreaming, cl 191344765 a2dd136 merging port, cont. 191443078 aa349ac merging, cont - 2 2cedd5b merging gtest-port.h , 191439094 04d1e56 merging, just comments format 5beb452 testing, merge df5a48d Testing, gtest-port.h merge 87a4cdd merging gtest-port.h, again - 1 7888184 Include OSX builds back into PR builds b2373c6 Revert "merging gtest-port 1 of N" 54bb165 Revert "merging gtest-port, 2" d04bf07 typo 8e0364a merging gtest-port, 2 11855d8 provide alternative for DebugBreak() aea6fc3 merging gtest-port 1 of N a75a5c9 merges 1 3df7cbe merges, gtest 6aae206 merging gmock-matchers.h 3 2318705 merging gmock-matchers.h 2 8ea10d3 Upstreaming FloatingEq2Matcher, b907c26 Merging gmock-matchers.h -2 466a49a gmock-matchers merging -2 b7c5683 merging, gmock -1 4e89c76 reverting gtest_list_tests_unittest.py eaaa422 Update appveyor.yml da71e8c more merges 0f65679 more merges 691e38e More merges a3c2e10 cl 189032107, again 080fcbe cl 189032107 a178cc7 merge, again, IsRecursiveContainer 262aaf2 erging, cont 2814b4b merging, merging a719320 fixing, was removing too much af463c4 More merges, removing old dead code 7b70413 Allow macros inside of parametrized test names. cf9d634 merges-port(1) e891900 Merging, XML tests 89d6f70 merges-8 995a9df merges-7 086825d merges-6 8385928 merges-3 dbf63e3 merges-2 0d5e01a Merges-1 7a2050d Use a full message in the JSON output for failures 3431b69 Add options to parallelize builds. 6baf17e Support JSON output format in addition to XML 2eb31c1 Add documentation for VariantWith. 2bd1750 gmock merging -2 190e2cd Add matcher for std::variant. 84ec2e0 Switch default death test style back to "fast". 20074be Use DEBUG_POSTFIX instead of CMAKE_DEBUG_POSTFIX 4dbb437 merging unittests - 5 567b40e Try to handle unsigned wchar_t (arm) a bit better 004f6a0 merging unitests - check 4 29e9ca8 merging unitests, check 3299a23 merging unittests - 2 b7e0294 merging unitests 11e1dd2 Removed trailing comma in enum 0656830 TEST() arguments are invalid in an example df65632 merges 8a61587 Fix unused function warning on Mac OS. a3e322b cleanup, merges 09581b3 cleanup/merges 0697241 merging, cleaning up ab186a8 merges 30d276d cxxx11 3b1fe3e clang warnings d7c966c clang warnings 2a23ca0 https://travis-ci.org/google/googletest/jobs/340995238 a66d209 clang warning 'https://travis-ci.org/google/googletest/jobs/340987201' e76f4ee clang warning https://travis-ci.org/google/googletest/jobs/340978022 9e07281 merges 225e674 moving JoinAsTuple to internal b3a1759 Fix std::iscntrl use in gtest-printers.cc d84f58a Merging, coniniue 575c081 merging 49fc378 merges ec7faa9 merges c851050 Fixed typos 092d088 Add ability to throw from ASSERT a3c73ed Include MSVC14 on PRs as well e6ec8bc Merges and also adding new bazel build mode e55fded Code merges 2a46830 Ability to optionally depend on Abseil plus upstream of 183716547 6c0c389 Adding tests to googlemock bazel fbb48a7 Code merges efd49c2 Update Documentation.md b8ac390 Fix test build issue with GCC7.2. 3498a1a Use _CPPUNWIND instead of _HAS_EXCEPTIONS with MSVC. f915530 Pass -EHs-c- to disable exceptions with MSVC. b3a2048 Update README.md 7cced89 Remove Visual Studio 10,11,12 from build matrix b9651c0 placating gcc and its overzeauls size comparison warnings e29805a upstream cl 182543808 06c3cce revert, lets get this compiled 80defce Many code merge/upstream changes 6723b6c Merging, upstream http://cl/182836545 bbb17ad more code merge f1c87ad merges, cl/155419551 and other 9bc8666 more merging a0435a5 merging 8d707df code merge b1623e9 Adding python tests to Bazel build file. 8e86221 Use fully qualified in examples 354fc8d Document ScopedTrace utility ba99a04 Check whether _MSC_VER is defined when detecting presence of cxxabi.h under libc++. 9c82e77 Expose ScopedTrace utility in public interface 08b323f Reverting some changes, need to make the merge compile 9195571 Reverting some changes, need to make the merge compile 6d04de7 Reverting some changes, need to make the merge compile b9e2978 Reverting some changes, need to make the merge compile 304be8f Test files for corresponding changes 6befe42 Test files for corresponding changes f45c22c Test files for corresponding changes 5f4ce9d Test files for corresponding changes d629744 More code merges da1f7fe Code merging 33d73d4 Added support for WINAPI_PARTITION_TV_TITLE which is defined on XboxOne 569d713 Added support for WINAPI_PARTITION_TV_TITLE which is defined on XboxOne 93b7798 continue upstream/merge, etc ed8d02c Update .travis.yml 73d1251 Update .travis.yml cfd29e0 Update .travis.yml 29f94e0 Update .travis.yml 2982dc1 Trying to fix travis 6914ae2 Upstream cl 103120214 1d757db More merge, cleanup 481fe94 More merge, cleanup 6a26e47 Code merge, upstreaming accumulated changes, cleanup 62dbaa2 revert d630a8b code merges, cleanup f33902b revert googletest/test/gtest-param-test_test.cc 6eccdb7 Update .travis.yml d237297 code merge, cleanups 2ad5661 Upstream of cl 129104714 5eecadf Revert one file 9fce984 wip, cleanups/merge 258fd6e cleanup, merge cbd15d4 [Bazel] Detect Windows with cpu value x64_windows and x64_windows_msvc 91ba05c Small cleanups, merge 67d6e46 Use correct name for build event types. 67476c1 Revert one file for now adfdc65 Fixed test for pull request. d3acb4b Fixed output and test for 'enabled_on_pr' 19b5774 code cleanup in preparation for merges, cl 180857299 9cee677 Optimize build matrix (#1) 1c09831 upstreaming cl 124976692 1acf8c7 Also define GTEST_ATTRIBUTE_PRINTF_ in clang-cl. b3d9be5 Pass the -Wmissing-declarations warning. e7734fb OSS Sync, cl 163329677 90244a6 Fix testing::Combine on MSVC 2017. bcd3552 Avoid warning C4619 in MSVC 2017. ec2b0c3 Build both googletest and googlemock. 75b85d5 Create a autotools-based build for Travis. 7990f56 Re-enable MSVC++ C4389 warning in CmdHelperEq() e17907d Update internal_utils.cmake a7fceb4 Update gtest-param-test.h.pump 8a48f0e Update gtest-param-test.h.pump 23a014a Refactor docs about contributions to CONTRIBUTING.md. 74a5306 remove extra line 3ea0631 remove implicit casts c82cd5e Also add documentation around becoming a contributor. 1184117 Wrong LICENSE file, sorry. Corrected. [skip ci] bc3320b Implement bazel-based builds in Travis. e22d344 Add Apache-2.0 LICENSE file. cf3adad Add licenses() directive for googlemock/tests. 57bb0bb Remove C4996 warning in VS2017 3464f76 Improved description of VS std::tuple support 8d9d6bb Improved description of VS std::tuple support 4aa05bd Only switch to g++-4.9 on Linux. aea8580 Run autoconf from top-level directory. 0663ce9 Fix double free when building Gtest/GMock in shared libraries and linking a test executable with both. f46bd00 make includes system a7269e2 replaced back accidently removed static_cast with consistent ImplicitCast_ 82447f2 Fixes issue #826 by treating MinGW as "non-Windows" when determining colored output 1ae4096 fix for VS2017 deprecation of ::tr1::tuple change static_cast to ImplicitCast_ for consitency fixes for building with path names containing spaces aa0b545 remove GTEST_HAS_PARAM_TESTS 4d26df7 Speed up printing of characters which need hex escaping 99d0ef3 Also can build when included in source. 9538687 Remove trailing whitespaces in BUILD.bazel c113a71 Added support for WINAPI_PARTITION_TV_TITLE which is defined on XboxOne ca6a70c Pass MSVC's C4826 warning. Bug: crashpad:196 Change-Id: I60be5750667d1901e0ad47c3558de1338b083536 Reviewed-on: https://chromium-review.googlesource.com/1069562 Reviewed-by: Joshua Peraza <jperaza@chromium.org> Commit-Queue: Scott Graham <scottmg@chromium.org> |
||
|
8175825f45 |
win: use version.lib instead of mincore.lib
Also enable wd4702: unreachable code for zlib and gtest. Change-Id: Ie1603b16e96f29b6ac82a1122c5ab5a8942eef24 Reviewed-on: https://chromium-review.googlesource.com/955895 Commit-Queue: Joshua Peraza <jperaza@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> |
||
|
970ac5a636 |
fuchsia: Package setup for crashpad_test for in-Fuchsia build
third_party/googletest has been added to the Fuchsia manifest now (which is a recent copy of googletest that includes googlemock). The BUILD.gn file isn't there yet, but is in progress. With these changes, all targets build in-Fuchsia once the googletest BUILD.gn file lands. Bug: crashpad:196 Change-Id: I34d2d7046dd2762b4d1f4873be97258df32adddf Reviewed-on: https://chromium-review.googlesource.com/861242 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Scott Graham <scottmg@chromium.org> |
||
|
7a285816e9 |
gn, android: Build for Android with GN
With a companion mini_chromium change at https://crrev.com/c/841203, it’s possible to configure via “gn args” as follows: android_ndk = "/android/android-ndk-r16" target_cpu = "x86_64" target_os = "android" Note that a standalone toolchain is not required. Bug: crashpad:30, crashpad:79 Change-Id: Ica55bdcb82c730909c05dd9fecb40a74eca78c8a Reviewed-on: https://chromium-review.googlesource.com/841286 Reviewed-by: Joshua Peraza <jperaza@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> |
||
|
e7ebdf019e |
gn: Add missing testonly for chromium and fuchsia styles
Bug: crashpad:79, crashpad:196 Change-Id: I8354b8430cfe4728a635991fb59fcc8ef8652773 Reviewed-on: https://chromium-review.googlesource.com/835468 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Scott Graham <scottmg@chromium.org> |
||
|
ab153f7e1b |
gn: Avoid depending on BUILDCONFIG.gn globals
Goes with https://chromium-review.googlesource.com/c/chromium/mini_chromium/+/834648.
Includes mini_chromium DEPS roll to pull in
|
||
|
457cc6a34f |
gn: Refactor build files to avoid build/secondary
In doing standalone bringup of Crashpad targeting Fuchsia, it seemed tidy to keep the same literal paths to the dependencies that Chromium needed and add stubs/forwarding to build/secondary in the Crashpad tree as required to make those work. However, when trying to build Crashpad in the Fuchsia tree itself, that would require adding forwarding files to the Fuchsia tree to match the Chromium directory structure, which would be awkward. Instead, have explicit dependencies in the Crashpad tree that select the locations for various dependencies. Bug: crashpad:79, crashpad:196 Change-Id: Ib506839f9c97d8ef823663cdc733cbdcfa126139 Reviewed-on: https://chromium-review.googlesource.com/826025 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> |
||
|
b51adda8d2 |
Build certain gtest/gmock tests with -Wno-unused-private-field
Fuchsia is using a newer Clang than I was using on macOS when I wrote these GN targets, and -Wunused-private-field can now detect these violations. Change-Id: If71eb74f6453957aa92852cbe53356e325c7b635 Reviewed-on: https://chromium-review.googlesource.com/833195 Reviewed-by: Scott Graham <scottmg@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org> |
||
|
3650d56570 |
gn: Build gtest and gmock tests
Bug: crashpad:79 Change-Id: Iea78fcb6a758f57d2b550b214b947ca5aabad036 Reviewed-on: https://chromium-review.googlesource.com/827732 Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by: Scott Graham <scottmg@chromium.org> |
||
|
eeb31321f7 |
gn, fuchsia: Add //testing forwarding and GN build file
third_party/gtest/BUILD.gn mostly written by rsesek. Also includes DEPS roll of mini_chromium for Wexit_time_destructors config. $ git log --oneline dd0c3e96..fa146c12 fa146c1 (HEAD, origin/master, origin/HEAD) gn: Extract Wexit-time-destructors into separate config 95bfddb fuchsia: Fix base::RandBytes() after 5a1c5f82ce75 b79608a fuchsia: Use llvm-ar from the Fuchsia clang package c34725b fuchsia: Look for the toolchain and SDK in per-build-host directories e8e1ee4 fuchsia: Don't assume that kernel will provide all requested rand bytes 5a1c5f8 fuchsia: Implement RandBytes() df359ca fuchsia: Enable -fPIC bd50c95 Restore accidentally changed license a70db15 Improvements to GN build config 7de4d23 fuchsia: Fix compile of base/logging.cc 25a8b57 Add link GN rules to non-win build, set c++14 in CC flags. 7d15806 fuchsia: The very basics of compiling mini_chromium/base with GN Bug: crashpad:79, crashpad:196 Change-Id: I3e741f185b028a96705eefc1f993037830d97448 Reviewed-on: https://chromium-review.googlesource.com/797414 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> |