OLD | NEW |
1 # Copyright 2016 The V8 project authors. All rights reserved. | 1 # Copyright 2016 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 import("../../gni/v8.gni") | 5 import("../../gni/v8.gni") |
6 | 6 |
7 v8_executable("unittests") { | 7 v8_executable("unittests") { |
8 testonly = true | 8 testonly = true |
9 | 9 |
10 sources = [ | 10 sources = [ |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 | 186 |
187 # TODO(machenbach): Translate from gyp. | 187 # TODO(machenbach): Translate from gyp. |
188 #['OS=="aix"', { | 188 #['OS=="aix"', { |
189 # 'ldflags': [ '-Wl,-bbigtoc' ], | 189 # 'ldflags': [ '-Wl,-bbigtoc' ], |
190 #}], | 190 #}], |
191 | 191 |
192 deps = [ | 192 deps = [ |
193 "../..:v8_for_testing", | 193 "../..:v8_for_testing", |
194 "../..:v8_libbase", | 194 "../..:v8_libbase", |
195 "../..:v8_libplatform", | 195 "../..:v8_libplatform", |
196 "//build/config/sanitizers:deps", | 196 "//build/config:exe_and_shlib_deps", |
197 "//build/win:default_exe_manifest", | 197 "//build/win:default_exe_manifest", |
198 "//testing/gmock", | 198 "//testing/gmock", |
199 "//testing/gtest", | 199 "//testing/gtest", |
200 ] | 200 ] |
201 | 201 |
202 if (is_win) { | 202 if (is_win) { |
203 # This warning is benignly triggered by the U16 and U32 macros in | 203 # This warning is benignly triggered by the U16 and U32 macros in |
204 # bytecode-utils.h. | 204 # bytecode-utils.h. |
205 # C4309: 'static_cast': truncation of constant value | 205 # C4309: 'static_cast': truncation of constant value |
206 cflags = [ "/wd4309" ] | 206 cflags = [ "/wd4309" ] |
207 } | 207 } |
208 } | 208 } |
OLD | NEW |