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

Side by Side Diff: third_party/WebKit/Source/platform/wtf/BUILD.gn

Issue 2948363004: Fix remove_webcore_debug_symbols to avoid constant building (Closed)
Patch Set: Reduce duplication Created 3 years, 5 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 | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/web/BUILD.gn » ('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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 The Chromium 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 assert(!is_ios) 5 assert(!is_ios)
6 6
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//third_party/WebKit/Source/config.gni") 8 import("//third_party/WebKit/Source/config.gni")
9 9
10 visibility = [ 10 visibility = [
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 ] 308 ]
309 } else { 309 } else {
310 sources -= [ 310 sources -= [
311 "text/AtomicStringCF.cpp", 311 "text/AtomicStringCF.cpp",
312 "text/StringImplCF.cpp", 312 "text/StringImplCF.cpp",
313 ] 313 ]
314 } 314 }
315 315
316 if (remove_webcore_debug_symbols) { 316 if (remove_webcore_debug_symbols) {
317 configs -= [ "//build/config/compiler:default_symbols" ] 317 configs -= [ "//build/config/compiler:default_symbols" ]
318 configs += [ "//build/config/compiler:no_symbols" ] 318 configs += remove_webcore_symbols_config
319 } 319 }
320 } 320 }
321 321
322 test("wtf_unittests") { 322 test("wtf_unittests") {
323 visibility = [] # Allow re-assignment of list. 323 visibility = [] # Allow re-assignment of list.
324 visibility = [ "*" ] 324 visibility = [ "*" ]
325 325
326 sources = [ 326 sources = [
327 "ASCIICTypeTest.cpp", 327 "ASCIICTypeTest.cpp",
328 "AssertionsTest.cpp", 328 "AssertionsTest.cpp",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 ] 377 ]
378 378
379 deps = [ 379 deps = [
380 ":wtf", 380 ":wtf",
381 "//base", 381 "//base",
382 "//base/test:test_support", 382 "//base/test:test_support",
383 "//testing/gmock", 383 "//testing/gmock",
384 "//testing/gtest", 384 "//testing/gtest",
385 ] 385 ]
386 } 386 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698