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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 "../..:internal_config_base", | 176 "../..:internal_config_base", |
177 ] | 177 ] |
178 | 178 |
179 # TODO(machenbach): Translate from gyp. | 179 # TODO(machenbach): Translate from gyp. |
180 #['OS=="aix"', { | 180 #['OS=="aix"', { |
181 # 'ldflags': [ '-Wl,-bbigtoc' ], | 181 # 'ldflags': [ '-Wl,-bbigtoc' ], |
182 #}], | 182 #}], |
183 | 183 |
184 deps = [ | 184 deps = [ |
185 "../..:v8", | 185 "../..:v8", |
| 186 "../..:v8_builtins_generators", |
186 "../..:v8_libbase", | 187 "../..:v8_libbase", |
187 "../..:v8_libplatform", | 188 "../..:v8_libplatform", |
188 "//build/config/sanitizers:deps", | 189 "//build/config/sanitizers:deps", |
189 "//build/win:default_exe_manifest", | 190 "//build/win:default_exe_manifest", |
190 "//testing/gmock", | 191 "//testing/gmock", |
191 "//testing/gtest", | 192 "//testing/gtest", |
192 ] | 193 ] |
193 | 194 |
194 if (v8_enable_i18n_support) { | 195 if (v8_enable_i18n_support) { |
195 deps += [ "//third_party/icu" ] | 196 deps += [ "//third_party/icu" ] |
196 } | 197 } |
197 | 198 |
198 if (is_win) { | 199 if (is_win) { |
199 # This warning is benignly triggered by the U16 and U32 macros in | 200 # This warning is benignly triggered by the U16 and U32 macros in |
200 # bytecode-utils.h. | 201 # bytecode-utils.h. |
201 # C4309: 'static_cast': truncation of constant value | 202 # C4309: 'static_cast': truncation of constant value |
202 cflags = [ "/wd4309" ] | 203 cflags = [ "/wd4309" ] |
203 } | 204 } |
204 } | 205 } |
OLD | NEW |