OLD | NEW |
1 # Copyright 2014 the V8 project authors. All rights reserved. | 1 # Copyright 2014 the V8 project authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'v8_code': 1, | 7 'v8_code': 1, |
8 }, | 8 }, |
9 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], | 9 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'unittests', | 12 'target_name': 'unittests', |
13 'type': 'executable', | 13 'type': 'executable', |
14 'variables': { | 14 'variables': { |
15 'optimize': 'max', | 15 'optimize': 'max', |
16 }, | 16 }, |
17 'dependencies': [ | 17 'dependencies': [ |
18 '../../testing/gmock.gyp:gmock', | 18 '../../testing/gmock.gyp:gmock', |
19 '../../testing/gtest.gyp:gtest', | 19 '../../testing/gtest.gyp:gtest', |
20 '../../tools/gyp/v8.gyp:v8_libplatform', | 20 '../../tools/gyp/v8.gyp:v8_libplatform', |
21 ], | 21 ], |
22 'include_dirs': [ | 22 'include_dirs': [ |
23 '../..', | 23 '../..', |
24 ], | 24 ], |
| 25 'defines': [ |
| 26 # TODO(jochen): Remove again after this is globally turned on. |
| 27 'V8_IMMINENT_DEPRECATION_WARNINGS', |
| 28 ], |
25 'sources': [ ### gcmole(all) ### | 29 'sources': [ ### gcmole(all) ### |
26 'base/bits-unittest.cc', | 30 'base/bits-unittest.cc', |
27 'base/cpu-unittest.cc', | 31 'base/cpu-unittest.cc', |
28 'base/division-by-constant-unittest.cc', | 32 'base/division-by-constant-unittest.cc', |
29 'base/flags-unittest.cc', | 33 'base/flags-unittest.cc', |
30 'base/functional-unittest.cc', | 34 'base/functional-unittest.cc', |
31 'base/logging-unittest.cc', | 35 'base/logging-unittest.cc', |
32 'base/iterator-unittest.cc', | 36 'base/iterator-unittest.cc', |
33 'base/platform/condition-variable-unittest.cc', | 37 'base/platform/condition-variable-unittest.cc', |
34 'base/platform/mutex-unittest.cc', | 38 'base/platform/mutex-unittest.cc', |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 'direct_dependent_settings': { | 156 'direct_dependent_settings': { |
153 'cflags!': [ | 157 'cflags!': [ |
154 '-pedantic', | 158 '-pedantic', |
155 ], | 159 ], |
156 }, | 160 }, |
157 }], | 161 }], |
158 ], | 162 ], |
159 }, | 163 }, |
160 ], | 164 ], |
161 } | 165 } |
OLD | NEW |