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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 "//build/config/sanitizers:deps", | 153 "//build/config/sanitizers:deps", |
154 "//build/win:default_exe_manifest", | 154 "//build/win:default_exe_manifest", |
155 ] | 155 ] |
156 | 156 |
157 if (is_component_build) { | 157 if (is_component_build) { |
158 # Same as cctest, we need to depend on the underlying static target. | 158 # Same as cctest, we need to depend on the underlying static target. |
159 deps += [ "../..:v8_maybe_snapshot" ] | 159 deps += [ "../..:v8_maybe_snapshot" ] |
160 } else { | 160 } else { |
161 deps += [ "../..:v8" ] | 161 deps += [ "../..:v8" ] |
162 } | 162 } |
| 163 |
| 164 if (is_win) { |
| 165 # Suppress warnings about importing locally defined symbols. |
| 166 if (is_component_build) { |
| 167 ldflags = [ |
| 168 "/ignore:4049", |
| 169 "/ignore:4217", |
| 170 ] |
| 171 } |
| 172 } |
163 } | 173 } |
OLD | NEW |