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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 "../..:external_config", | 152 "../..:external_config", |
153 "../..:internal_config_base", | 153 "../..:internal_config_base", |
154 ] | 154 ] |
155 | 155 |
156 # TODO(machenbach): Translate from gyp. | 156 # TODO(machenbach): Translate from gyp. |
157 #['OS=="aix"', { | 157 #['OS=="aix"', { |
158 # 'ldflags': [ '-Wl,-bbigtoc' ], | 158 # 'ldflags': [ '-Wl,-bbigtoc' ], |
159 #}], | 159 #}], |
160 | 160 |
161 deps = [ | 161 deps = [ |
| 162 "../..:v8_libbase", |
162 "../..:v8_libplatform", | 163 "../..:v8_libplatform", |
163 "//build/config/sanitizers:deps", | 164 "//build/config/sanitizers:deps", |
164 "//build/win:default_exe_manifest", | 165 "//build/win:default_exe_manifest", |
165 "//testing/gmock", | 166 "//testing/gmock", |
166 "//testing/gtest", | 167 "//testing/gtest", |
167 ] | 168 ] |
168 | 169 |
169 if (is_component_build) { | 170 if (is_component_build) { |
170 # compiler-unittests can't be built against a shared library, so we | 171 # compiler-unittests can't be built against a shared library, so we |
171 # need to depend on the underlying static target in that case. | 172 # need to depend on the underlying static target in that case. |
(...skipping 10 matching lines...) Expand all Loading... |
182 | 183 |
183 # Suppress warnings about importing locally defined symbols. | 184 # Suppress warnings about importing locally defined symbols. |
184 if (is_component_build) { | 185 if (is_component_build) { |
185 ldflags = [ | 186 ldflags = [ |
186 "/ignore:4049", | 187 "/ignore:4049", |
187 "/ignore:4217", | 188 "/ignore:4217", |
188 ] | 189 ] |
189 } | 190 } |
190 } | 191 } |
191 } | 192 } |
OLD | NEW |