Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: test/unittests/BUILD.gn

Issue 2760233005: [snapshot] Move builtins generation into mksnapshot (Closed)
Patch Set: fix GYP builds Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/cctest/test-serialize.cc ('k') | tools/verify_source_deps.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 "../..:external_config", 178 "../..:external_config",
179 "../..:internal_config_base", 179 "../..:internal_config_base",
180 ] 180 ]
181 181
182 # TODO(machenbach): Translate from gyp. 182 # TODO(machenbach): Translate from gyp.
183 #['OS=="aix"', { 183 #['OS=="aix"', {
184 # 'ldflags': [ '-Wl,-bbigtoc' ], 184 # 'ldflags': [ '-Wl,-bbigtoc' ],
185 #}], 185 #}],
186 186
187 deps = [ 187 deps = [
188 "../..:v8", 188 "../..:v8_builtins_generators",
189 "../..:v8_libbase", 189 "../..:v8_libbase",
190 "../..:v8_libplatform", 190 "../..:v8_libplatform",
191 "//build/config/sanitizers:deps", 191 "//build/config/sanitizers:deps",
192 "//build/win:default_exe_manifest", 192 "//build/win:default_exe_manifest",
193 "//testing/gmock", 193 "//testing/gmock",
194 "//testing/gtest", 194 "//testing/gtest",
195 ] 195 ]
196 196
197 if (v8_enable_i18n_support) { 197 if (v8_enable_i18n_support) {
198 deps += [ "//third_party/icu" ] 198 deps += [ "//third_party/icu" ]
199 } 199 }
200 200
201 defines = []
202
203 if (is_component_build) {
204 # unittests can't be built against a shared library, so we
205 # need to depend on the underlying static target in that case.
206 deps += [ "../..:v8_maybe_snapshot" ]
207 defines += [ "BUILDING_V8_SHARED" ]
208 } else {
209 deps += [ "../..:v8" ]
210 }
211
201 if (is_win) { 212 if (is_win) {
202 # This warning is benignly triggered by the U16 and U32 macros in 213 # This warning is benignly triggered by the U16 and U32 macros in
203 # bytecode-utils.h. 214 # bytecode-utils.h.
204 # C4309: 'static_cast': truncation of constant value 215 # C4309: 'static_cast': truncation of constant value
205 cflags = [ "/wd4309" ] 216 cflags = [ "/wd4309" ]
206 } 217 }
207 } 218 }
OLDNEW
« no previous file with comments | « test/cctest/test-serialize.cc ('k') | tools/verify_source_deps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698