Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # | |
| 2 # Copyright (C) 2013 Google Inc. All rights reserved. | 1 # Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 # | 2 # |
| 4 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
| 6 # met: | 5 # met: |
| 7 # | 6 # |
| 8 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
| 11 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
| 12 # in the documentation and/or other materials provided with the | 11 # in the documentation and/or other materials provided with the |
| 13 # distribution. | 12 # distribution. |
| 14 # * Neither the name of Google Inc. nor the names of its | 13 # * Neither the name of Google Inc. nor the names of its |
| 15 # contributors may be used to endorse or promote products derived from | 14 # contributors may be used to endorse or promote products derived from |
| 16 # this software without specific prior written permission. | 15 # this software without specific prior written permission. |
| 17 # | 16 # |
| 18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | 17 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | 18 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | 19 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | 20 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 21 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 22 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 23 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 # | |
| 30 { | 28 { |
| 31 'includes': [ | 29 'includes': [ |
| 32 '../WebKit/chromium/WinPrecompile.gypi', | 30 '../WebKit/chromium/WinPrecompile.gypi', |
| 33 'modules.gypi', | 31 'wtf.gypi', |
| 34 ], | 32 ], |
| 35 'targets': [{ | 33 'targets': [ |
| 36 'target_name': 'modules', | 34 { |
| 37 'type': 'static_library', | 35 'target_name': 'wtf_unittests', |
|
abarth-chromium
2013/05/28 06:28:24
Would you be willing to make a CL so that these sh
| |
| 38 'dependencies': [ | 36 'type': 'executable', |
| 39 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', | 37 'include_dirs': [ |
| 40 '../config.gyp:config', | 38 '..', |
| 41 '../core/core.gyp/core.gyp:webcore', | 39 ], |
| 42 ], | 40 'dependencies': [ |
| 43 'sources': [ | 41 'run_all_tests', |
| 44 '<@(modules_files)', | 42 'wtf.gyp:wtf', |
| 45 ], | 43 '../config.gyp:config', |
| 46 # Disable c4267 warnings until we fix size_t to int truncations. | 44 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 47 'msvs_disabled_warnings': [ 4267, 4334, ] | 45 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 48 }], | 46 ], |
| 47 'sources': [ | |
| 48 '<@(wtf_unittest_files)', | |
| 49 ], | |
| 50 # Disable c4267 warnings until we fix size_t to int truncations. | |
| 51 'msvs_disabled_warnings': [4127, 4510, 4512, 4610, 4706, 4068, 4267], | |
| 52 'cflags!': ['-Wglobal-constructors'], | |
| 53 'xcode_settings': { | |
| 54 'WARNING_CFLAGS!': ['-Wglobal-constructors'], | |
| 55 }, | |
| 56 'conditions': [ | |
| 57 ['os_posix==1 and OS!="mac" and OS!="android" and OS!="ios" and linux_us e_tcmalloc==1', { | |
| 58 'dependencies': [ | |
| 59 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | |
| 60 ], | |
| 61 }] | |
| 62 ], | |
| 63 }, | |
| 64 { | |
| 65 'target_name': 'run_all_tests', | |
| 66 'type': 'static_library', | |
| 67 'dependencies': [ | |
| 68 '../config.gyp:config', | |
| 69 '<(DEPTH)/testing/gmock.gyp:gmock', | |
| 70 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 71 ], | |
| 72 'include_dirs': [ | |
| 73 '..' | |
|
abarth-chromium
2013/05/28 06:28:24
This could be exported by config.
| |
| 74 ], | |
| 75 'sources': [ | |
| 76 'tests/RunAllTests.cpp', | |
| 77 ] | |
| 78 } | |
| 79 ] | |
| 49 } | 80 } |
| OLD | NEW |