| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/config/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//build/split_static_library.gni") |
| 8 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
| 9 import("//ppapi/features/features.gni") | 10 import("//ppapi/features/features.gni") |
| 10 import("//printing/features/features.gni") | 11 import("//printing/features/features.gni") |
| 11 import("//third_party/webrtc/build/webrtc.gni") | 12 import("//third_party/webrtc/build/webrtc.gni") |
| 12 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 13 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
| 13 | 14 |
| 14 if (is_component_build) { | 15 if (is_component_build) { |
| 15 link_target_type = "source_set" | 16 link_target_type = "source_set" |
| 16 } else { | 17 } else { |
| 17 link_target_type = "static_library" | 18 link_target_type = "split_static_library" |
| 18 } | 19 } |
| 20 |
| 19 target(link_target_type, "renderer") { | 21 target(link_target_type, "renderer") { |
| 20 # Only the public target should depend on this. All other targets (even | 22 # Only the public target should depend on this. All other targets (even |
| 21 # internal content ones) should depend on the public one. | 23 # internal content ones) should depend on the public one. |
| 22 visibility = [ | 24 visibility = [ |
| 23 ":for_content_tests", | 25 ":for_content_tests", |
| 24 "//content/public/renderer:renderer_sources", | 26 "//content/public/renderer:renderer_sources", |
| 25 ] | 27 ] |
| 26 | 28 |
| 27 sources = [ | 29 sources = [ |
| 28 "accessibility/blink_ax_enum_conversion.cc", | 30 "accessibility/blink_ax_enum_conversion.cc", |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 "webgraphicscontext3d_provider_impl.cc", | 382 "webgraphicscontext3d_provider_impl.cc", |
| 381 "webgraphicscontext3d_provider_impl.h", | 383 "webgraphicscontext3d_provider_impl.h", |
| 382 "webpublicsuffixlist_impl.cc", | 384 "webpublicsuffixlist_impl.cc", |
| 383 "webpublicsuffixlist_impl.h", | 385 "webpublicsuffixlist_impl.h", |
| 384 "webscrollbarbehavior_impl_aura.cc", | 386 "webscrollbarbehavior_impl_aura.cc", |
| 385 "webscrollbarbehavior_impl_aura.h", | 387 "webscrollbarbehavior_impl_aura.h", |
| 386 "webscrollbarbehavior_impl_mac.h", | 388 "webscrollbarbehavior_impl_mac.h", |
| 387 "webscrollbarbehavior_impl_mac.mm", | 389 "webscrollbarbehavior_impl_mac.mm", |
| 388 ] | 390 ] |
| 389 | 391 |
| 392 if (!is_component_build) { |
| 393 if (is_win && is_official_build) { |
| 394 split_count = 2 # In certain configurations a full renderer.lib can |
| 395 # be 2+ GB which breaks some Windows tools. |
| 396 } else { |
| 397 split_count = 1 |
| 398 } |
| 399 } |
| 400 |
| 390 configs += [ | 401 configs += [ |
| 391 "//content:content_implementation", | 402 "//content:content_implementation", |
| 392 "//build/config/compiler:no_size_t_to_int_warning", | 403 "//build/config/compiler:no_size_t_to_int_warning", |
| 393 ] | 404 ] |
| 394 defines = [] | 405 defines = [] |
| 395 | 406 |
| 396 public_deps = [] | 407 public_deps = [] |
| 397 deps = [ | 408 deps = [ |
| 398 "//base:i18n", | 409 "//base:i18n", |
| 399 "//cc", | 410 "//cc", |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 923 # For the defines in mojo_media_config. | 934 # For the defines in mojo_media_config. |
| 924 public_configs = [ "//media/mojo/services:mojo_media_config" ] | 935 public_configs = [ "//media/mojo/services:mojo_media_config" ] |
| 925 } | 936 } |
| 926 | 937 |
| 927 if (!is_component_build) { | 938 if (!is_component_build) { |
| 928 public_deps = [ | 939 public_deps = [ |
| 929 ":renderer", | 940 ":renderer", |
| 930 ] | 941 ] |
| 931 } | 942 } |
| 932 } | 943 } |
| OLD | NEW |