OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//build/split_static_library.gni") |
5 import("//third_party/WebKit/Source/core/core.gni") | 6 import("//third_party/WebKit/Source/core/core.gni") |
6 | 7 |
7 blink_core_sources("dom") { | 8 target(core_link_large_target_type, "dom") { |
8 split_count = 5 | 9 visibility = [ "//third_party/WebKit/Source/core/*" ] |
| 10 |
| 11 if (core_link_large_target_type == "split_static_library") { |
| 12 split_count = 5 |
| 13 } |
9 | 14 |
10 sources = [ | 15 sources = [ |
11 "AXObjectCache.cpp", | 16 "AXObjectCache.cpp", |
12 "AXObjectCache.h", | 17 "AXObjectCache.h", |
13 "ActiveDOMObject.cpp", | 18 "ActiveDOMObject.cpp", |
14 "Attr.cpp", | 19 "Attr.cpp", |
15 "AttributeCollection.h", | 20 "AttributeCollection.h", |
16 "CDATASection.cpp", | 21 "CDATASection.cpp", |
17 "CDATASection.h", | 22 "CDATASection.h", |
18 "CSSSelectorWatch.cpp", | 23 "CSSSelectorWatch.cpp", |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 "shadow/SelectRuleFeatureSet.h", | 385 "shadow/SelectRuleFeatureSet.h", |
381 "shadow/ShadowRoot.cpp", | 386 "shadow/ShadowRoot.cpp", |
382 "shadow/ShadowRoot.h", | 387 "shadow/ShadowRoot.h", |
383 "shadow/ShadowRootRareDataV0.h", | 388 "shadow/ShadowRootRareDataV0.h", |
384 "shadow/SlotAssignment.cpp", | 389 "shadow/SlotAssignment.cpp", |
385 "shadow/SlotAssignment.h", | 390 "shadow/SlotAssignment.h", |
386 "shadow/SlotScopedTraversal.cpp", | 391 "shadow/SlotScopedTraversal.cpp", |
387 "shadow/SlotScopedTraversal.h", | 392 "shadow/SlotScopedTraversal.h", |
388 ] | 393 ] |
389 | 394 |
| 395 configs -= core_config_remove |
| 396 configs += core_config_add |
390 configs += [ | 397 configs += [ |
391 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 398 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
392 "//build/config/compiler:no_size_t_to_int_warning", | 399 "//build/config/compiler:no_size_t_to_int_warning", |
393 ] | 400 ] |
| 401 |
| 402 deps = [ |
| 403 "//third_party/WebKit/Source/core:prerequisites", |
| 404 ] |
394 } | 405 } |
OLD | NEW |