Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: Source/wtf/wtf_tests.gyp

Issue 16066003: Add wtf_unittests target that links unit tests outside DLL (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add base dependency for allocator target Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/wtf/wtf.gypi ('k') | public/all.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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',
38 'dependencies': [ 36 'type': 'executable',
39 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', 37 'dependencies': [
40 '../config.gyp:config', 38 'run_all_tests',
41 '../core/core.gyp/core.gyp:webcore', 39 'wtf.gyp:wtf',
42 ], 40 '../config.gyp:unittest_config',
43 'sources': [ 41 ],
44 '<@(modules_files)', 42 'sources': [
45 ], 43 '<@(wtf_unittest_files)',
46 # Disable c4267 warnings until we fix size_t to int truncations. 44 ],
47 'msvs_disabled_warnings': [ 4267, 4334, ] 45 # Disable c4267 warnings until we fix size_t to int truncations.
48 }], 46 'msvs_disabled_warnings': [4127, 4510, 4512, 4610, 4706, 4068, 4267],
47 'conditions': [
48 ['os_posix==1 and OS!="mac" and OS!="android" and OS!="ios" and linux_us e_tcmalloc==1', {
49 'dependencies': [
50 '<(DEPTH)/base/base.gyp:base',
51 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
52 ],
53 }]
54 ]
55 },
56 {
57 'target_name': 'run_all_tests',
58 'type': 'static_library',
59 'dependencies': [
60 '../config.gyp:unittest_config',
61 ],
62 'sources': [
63 'tests/RunAllTests.cpp',
64 ]
65 }
66 ]
49 } 67 }
OLDNEW
« no previous file with comments | « Source/wtf/wtf.gypi ('k') | public/all.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698