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