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 # The sources are kept automatically in sync with cctest.gyp. | 5 # The sources are kept automatically in sync with cctest.gyp. |
6 | 6 |
7 import("../../gni/v8.gni") | 7 import("../../gni/v8.gni") |
8 | 8 |
9 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
10 [ rebase_path("cctest.gyp") ], | 10 [ rebase_path("cctest.gyp") ], |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 ] | 53 ] |
54 | 54 |
55 # TODO(machenbach): Translate from gyp. | 55 # TODO(machenbach): Translate from gyp. |
56 #["OS=="aix"", { | 56 #["OS=="aix"", { |
57 # "ldflags": [ "-Wl,-bbigtoc" ], | 57 # "ldflags": [ "-Wl,-bbigtoc" ], |
58 #}], | 58 #}], |
59 | 59 |
60 deps = [ | 60 deps = [ |
61 ":resources", | 61 ":resources", |
62 "../..:v8_libplatform", | 62 "../..:v8_libplatform", |
| 63 "../..:wasm_module_runner", |
63 "//build/config/sanitizers:deps", | 64 "//build/config/sanitizers:deps", |
64 "//build/win:default_exe_manifest", | 65 "//build/win:default_exe_manifest", |
65 ] | 66 ] |
66 | 67 |
67 if (is_component_build) { | 68 if (is_component_build) { |
68 # cctest can't be built against a shared library, so we | 69 # cctest can't be built against a shared library, so we |
69 # need to depend on the underlying static target in that case. | 70 # need to depend on the underlying static target in that case. |
70 deps += [ "../..:v8_maybe_snapshot" ] | 71 deps += [ "../..:v8_maybe_snapshot" ] |
71 } else { | 72 } else { |
72 deps += [ "../..:v8" ] | 73 deps += [ "../..:v8" ] |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 if (is_win) { | 165 if (is_win) { |
165 # Suppress warnings about importing locally defined symbols. | 166 # Suppress warnings about importing locally defined symbols. |
166 if (is_component_build) { | 167 if (is_component_build) { |
167 ldflags = [ | 168 ldflags = [ |
168 "/ignore:4049", | 169 "/ignore:4049", |
169 "/ignore:4217", | 170 "/ignore:4217", |
170 ] | 171 ] |
171 } | 172 } |
172 } | 173 } |
173 } | 174 } |
OLD | NEW |