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

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

Issue 2399323002: Reland of land "Turn libbase into a component" (Closed)
Patch Set: Created 4 years, 2 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/fuzzer/fuzzer.gyp ('k') | test/unittests/unittests.gyp » ('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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « test/fuzzer/fuzzer.gyp ('k') | test/unittests/unittests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698