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 # Please keep this file in sync with cctest.gyp. | 5 # Please keep this file in sync with cctest.gyp. |
6 | 6 |
7 import("../../gni/v8.gni") | 7 import("../../gni/v8.gni") |
8 | 8 |
9 executable("cctest") { | 9 executable("cctest") { |
10 testonly = true | 10 testonly = true |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 "test-utils.cc", | 157 "test-utils.cc", |
158 "test-version.cc", | 158 "test-version.cc", |
159 "test-weakmaps.cc", | 159 "test-weakmaps.cc", |
160 "test-weaksets.cc", | 160 "test-weaksets.cc", |
161 "trace-extension.cc", | 161 "trace-extension.cc", |
162 "wasm/test-run-wasm-64.cc", | 162 "wasm/test-run-wasm-64.cc", |
163 "wasm/test-run-wasm-asmjs.cc", | 163 "wasm/test-run-wasm-asmjs.cc", |
164 "wasm/test-run-wasm-interpreter.cc", | 164 "wasm/test-run-wasm-interpreter.cc", |
165 "wasm/test-run-wasm-js.cc", | 165 "wasm/test-run-wasm-js.cc", |
166 "wasm/test-run-wasm-module.cc", | 166 "wasm/test-run-wasm-module.cc", |
| 167 "wasm/test-run-wasm-relocation.cc", |
167 "wasm/test-run-wasm.cc", | 168 "wasm/test-run-wasm.cc", |
168 "wasm/test-signatures.h", | 169 "wasm/test-signatures.h", |
169 "wasm/test-wasm-function-name-table.cc", | 170 "wasm/test-wasm-function-name-table.cc", |
170 "wasm/test-wasm-stack.cc", | 171 "wasm/test-wasm-stack.cc", |
171 "wasm/test-wasm-trap-position.cc", | 172 "wasm/test-wasm-trap-position.cc", |
172 "wasm/wasm-run-utils.h", | 173 "wasm/wasm-run-utils.h", |
173 ] | 174 ] |
174 | 175 |
175 if (v8_target_arch == "arm") { | 176 if (v8_target_arch == "arm") { |
176 sources += [ | 177 sources += [ |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 } | 323 } |
323 | 324 |
324 if (is_win) { | 325 if (is_win) { |
325 # This warning is benignly triggered by the U16 and U32 macros in | 326 # This warning is benignly triggered by the U16 and U32 macros in |
326 # bytecode-utils.h. | 327 # bytecode-utils.h. |
327 # C4309: 'static_cast': truncation of constant value | 328 # C4309: 'static_cast': truncation of constant value |
328 cflags = [ "/wd4309" ] | 329 cflags = [ "/wd4309" ] |
329 | 330 |
330 # Suppress warnings about importing locally defined symbols. | 331 # Suppress warnings about importing locally defined symbols. |
331 if (is_component_build) { | 332 if (is_component_build) { |
332 ldflags = [ "/ignore:4049", "/ignore:4217" ] | 333 ldflags = [ |
| 334 "/ignore:4049", |
| 335 "/ignore:4217", |
| 336 ] |
333 } | 337 } |
334 } | 338 } |
335 } | 339 } |
336 | 340 |
337 action("resources") { | 341 action("resources") { |
338 visibility = [ ":*" ] # Only targets in this file can depend on this. | 342 visibility = [ ":*" ] # Only targets in this file can depend on this. |
339 | 343 |
340 script = "../../tools/js2c.py" | 344 script = "../../tools/js2c.py" |
341 | 345 |
342 # The script depends on this other script, this rule causes a rebuild if it | 346 # The script depends on this other script, this rule causes a rebuild if it |
(...skipping 18 matching lines...) Expand all Loading... |
361 "$target_gen_dir/resources.cc", | 365 "$target_gen_dir/resources.cc", |
362 ] | 366 ] |
363 | 367 |
364 args = [ | 368 args = [ |
365 rebase_path("$target_gen_dir/resources.cc", root_build_dir), | 369 rebase_path("$target_gen_dir/resources.cc", root_build_dir), |
366 "TEST", | 370 "TEST", |
367 ] | 371 ] |
368 args += rebase_path(sources, root_build_dir) | 372 args += rebase_path(sources, root_build_dir) |
369 } | 373 } |
370 # TODO(machenbach): Migrate generate-bytecode-expectations. | 374 # TODO(machenbach): Migrate generate-bytecode-expectations. |
OLD | NEW |