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("//build/split_static_library.gni") |
6 import("//third_party/WebKit/Source/core/core.gni") | 6 import("//third_party/WebKit/Source/core/core.gni") |
7 | 7 |
8 blink_core_sources("html") { | 8 target(core_link_large_target_type, "html") { |
9 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 } |
10 | 14 |
11 sources = [ | 15 sources = [ |
12 "AutoplayExperimentHelper.cpp", | 16 "AutoplayExperimentHelper.cpp", |
13 "AutoplayExperimentHelper.h", | 17 "AutoplayExperimentHelper.h", |
14 "AutoplayUmaHelper.cpp", | 18 "AutoplayUmaHelper.cpp", |
15 "AutoplayUmaHelper.h", | 19 "AutoplayUmaHelper.h", |
16 "ClassList.cpp", | 20 "ClassList.cpp", |
17 "ClassList.h", | 21 "ClassList.h", |
18 "CrossOriginAttribute.cpp", | 22 "CrossOriginAttribute.cpp", |
19 "CrossOriginAttribute.h", | 23 "CrossOriginAttribute.h", |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 "track/vtt/VTTRegion.h", | 500 "track/vtt/VTTRegion.h", |
497 "track/vtt/VTTRegionList.cpp", | 501 "track/vtt/VTTRegionList.cpp", |
498 "track/vtt/VTTRegionList.h", | 502 "track/vtt/VTTRegionList.h", |
499 "track/vtt/VTTScanner.cpp", | 503 "track/vtt/VTTScanner.cpp", |
500 "track/vtt/VTTScanner.h", | 504 "track/vtt/VTTScanner.h", |
501 "track/vtt/VTTToken.h", | 505 "track/vtt/VTTToken.h", |
502 "track/vtt/VTTTokenizer.cpp", | 506 "track/vtt/VTTTokenizer.cpp", |
503 "track/vtt/VTTTokenizer.h", | 507 "track/vtt/VTTTokenizer.h", |
504 ] | 508 ] |
505 | 509 |
| 510 configs -= core_config_remove |
| 511 configs += core_config_add |
506 configs += [ | 512 configs += [ |
507 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 513 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
508 "//build/config/compiler:no_size_t_to_int_warning", | 514 "//build/config/compiler:no_size_t_to_int_warning", |
509 ] | 515 ] |
| 516 |
| 517 deps = [ |
| 518 "//third_party/WebKit/Source/core:prerequisites", |
| 519 ] |
510 } | 520 } |
OLD | NEW |