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

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

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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/scheduler/BUILD.gn ('k') | ui/base/x/x11_util.cc » ('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("//build/config/jumbo.gni")
7 import("//testing/test.gni") 8 import("//testing/test.gni")
8 import("//third_party/WebKit/Source/config.gni") 9 import("//third_party/WebKit/Source/config.gni")
9 10
10 visibility = [ 11 visibility = [
11 ":*", 12 ":*",
12 "//mojo/public/cpp/bindings/*", 13 "//mojo/public/cpp/bindings/*",
13 "//third_party/WebKit/*", 14 "//third_party/WebKit/*",
14 ] 15 ]
15 16
16 config("wtf_config") { 17 config("wtf_config") {
(...skipping 17 matching lines...) Expand all
34 if (is_component_build) { 35 if (is_component_build) {
35 # Chromium windows multi-dll build enables C++ exceptions and this causes 36 # Chromium windows multi-dll build enables C++ exceptions and this causes
36 # wtf to generate 4291 warning due to operator new/delete 37 # wtf to generate 4291 warning due to operator new/delete
37 # implementations. Disable the warning for chromium windows multi-dll 38 # implementations. Disable the warning for chromium windows multi-dll
38 # build. 39 # build.
39 cflags += [ "/wd4291" ] 40 cflags += [ "/wd4291" ]
40 } 41 }
41 } 42 }
42 } 43 }
43 44
44 component("wtf") { 45 jumbo_component("wtf") {
45 sources = [ 46 sources = [
46 "ASCIICType.cpp", 47 "ASCIICType.cpp",
47 "ASCIICType.h", 48 "ASCIICType.h",
48 "AddressSanitizer.h", 49 "AddressSanitizer.h",
49 "Alignment.h", 50 "Alignment.h",
50 "Allocator.h", 51 "Allocator.h",
51 "Assertions.cpp", 52 "Assertions.cpp",
52 "Assertions.h", 53 "Assertions.h",
53 "Atomics.h", 54 "Atomics.h",
54 "AutoReset.h", 55 "AutoReset.h",
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 "text/StringImplCF.cpp", 318 "text/StringImplCF.cpp",
318 ] 319 ]
319 } 320 }
320 321
321 if (remove_webcore_debug_symbols) { 322 if (remove_webcore_debug_symbols) {
322 configs -= [ "//build/config/compiler:default_symbols" ] 323 configs -= [ "//build/config/compiler:default_symbols" ]
323 configs += remove_webcore_symbols_config 324 configs += remove_webcore_symbols_config
324 } 325 }
325 } 326 }
326 327
327 test("wtf_unittests") { 328 jumbo_test("wtf_unittests") {
328 visibility = [] # Allow re-assignment of list. 329 visibility = [] # Allow re-assignment of list.
329 visibility = [ "*" ] 330 visibility = [ "*" ]
330 331
331 sources = [ 332 sources = [
332 "ASCIICTypeTest.cpp", 333 "ASCIICTypeTest.cpp",
333 "AssertionsTest.cpp", 334 "AssertionsTest.cpp",
334 "DequeTest.cpp", 335 "DequeTest.cpp",
335 "FunctionalTest.cpp", 336 "FunctionalTest.cpp",
336 "HashMapTest.cpp", 337 "HashMapTest.cpp",
337 "HashSetTest.cpp", 338 "HashSetTest.cpp",
(...skipping 26 matching lines...) Expand all
364 "text/TextCodecLatin1Test.cpp", 365 "text/TextCodecLatin1Test.cpp",
365 "text/TextCodecReplacementTest.cpp", 366 "text/TextCodecReplacementTest.cpp",
366 "text/TextCodecTest.cpp", 367 "text/TextCodecTest.cpp",
367 "text/TextCodecUTF8Test.cpp", 368 "text/TextCodecUTF8Test.cpp",
368 "text/TextCodecUserDefinedTest.cpp", 369 "text/TextCodecUserDefinedTest.cpp",
369 "text/TextEncodingTest.cpp", 370 "text/TextEncodingTest.cpp",
370 "text/WTFStringTest.cpp", 371 "text/WTFStringTest.cpp",
371 "typed_arrays/ArrayBufferBuilderTest.cpp", 372 "typed_arrays/ArrayBufferBuilderTest.cpp",
372 ] 373 ]
373 374
375 jumbo_excluded_sources = [
376 # MoveOnly and CountCopy collisions with FunctionalTest,
377 # HashMapTest, HashSetTest, ...
378 "DequeTest.cpp",
379 "FunctionalTest.cpp",
380
381 # DummyRefCounted and ref_invokes_count collisions with HashSetTest.
382 "HashMapTest.cpp",
383 "ListHashSetTest.cpp",
384
385 # IsOneTwoThree collisions with HashSetTest.
386 "VectorTest.cpp",
387
388 # RefCountedClass collisions with RefPtrTest.
389 "PassRefPtrTest.cpp",
390
391 # WTF_STRINGTYPEADAPTER_COPIED_WTF_STRING redefine
392 "text/StringOperatorsTest.cpp",
393 ]
394
374 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 395 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
375 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 396 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
376 397
377 if (is_win) { 398 if (is_win) {
378 cflags = [ "/wd4068" ] # Unknown pragma. 399 cflags = [ "/wd4068" ] # Unknown pragma.
379 } 400 }
380 401
381 configs += [ 402 configs += [
382 "//third_party/WebKit/Source:config", 403 "//third_party/WebKit/Source:config",
383 "//third_party/WebKit/Source:blink_pch", 404 "//third_party/WebKit/Source:blink_pch",
384 ] 405 ]
385 406
386 deps = [ 407 deps = [
387 ":wtf", 408 ":wtf",
388 "//base", 409 "//base",
389 "//base/test:test_support", 410 "//base/test:test_support",
390 "//testing/gmock", 411 "//testing/gmock",
391 "//testing/gtest", 412 "//testing/gtest",
392 ] 413 ]
393 } 414 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/scheduler/BUILD.gn ('k') | ui/base/x/x11_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698