DescriptionGN: Make wtf_unittests build on mac/clang
On clang we enable -Wglobal-constructors which bans static initializers. This
is correct for all targets except unit test binaries, which need static initializers
since that's how the gtest TEST{,_F,_P} family of macros work. This splits that
warning into a separate config and avoids adding it to the unit test targets.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175424
Patch Set 1 #
Total comments: 2
Patch Set 2 : reformat comment #Patch Set 3 : depend on //base/allocator unconditionally, rely on allocator type switch #
Messages
Total messages: 9 (0 generated)
|