| 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("//build/split_static_library.gni") | 
| 9 import("//content/common/features.gni") | 9 import("//content/common/features.gni") | 
| 10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") | 
| 11 import("//ppapi/features/features.gni") | 11 import("//ppapi/features/features.gni") | 
| 12 import("//printing/features/features.gni") | 12 import("//printing/features/features.gni") | 
| 13 import("//third_party/webrtc/webrtc.gni") | 13 import("//third_party/webrtc/webrtc.gni") | 
| 14 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 14 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 
|  | 15 import("//content/content.gni") | 
| 15 | 16 | 
| 16 if (is_component_build) { | 17 content_component("renderer") { | 
| 17   link_target_type = "source_set" |  | 
| 18 } else { |  | 
| 19   link_target_type = "split_static_library" |  | 
| 20 } |  | 
| 21 |  | 
| 22 target(link_target_type, "renderer") { |  | 
| 23   # Only the public target should depend on this. All other targets (even | 18   # Only the public target should depend on this. All other targets (even | 
| 24   # internal content ones) should depend on the public one. | 19   # internal content ones) should depend on the public one. | 
| 25   visibility = [ | 20   visibility = [ | 
| 26     ":for_content_tests", | 21     ":for_content_tests", | 
| 27     "//content/app:*", | 22     "//content/app:*", | 
| 28     "//content/public/renderer:renderer_sources", | 23     "//content/public/renderer:renderer_sources", | 
| 29   ] | 24   ] | 
| 30 | 25 | 
| 31   sources = [ | 26   sources = [ | 
| 32     "accessibility/blink_ax_enum_conversion.cc", | 27     "accessibility/blink_ax_enum_conversion.cc", | 
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 151     "image_downloader/image_downloader_impl.h", | 146     "image_downloader/image_downloader_impl.h", | 
| 152     "image_downloader/single_image_downloader.cc", | 147     "image_downloader/single_image_downloader.cc", | 
| 153     "image_downloader/single_image_downloader.h", | 148     "image_downloader/single_image_downloader.h", | 
| 154     "ime_event_guard.cc", | 149     "ime_event_guard.cc", | 
| 155     "ime_event_guard.h", | 150     "ime_event_guard.h", | 
| 156     "in_process_renderer_thread.cc", | 151     "in_process_renderer_thread.cc", | 
| 157     "in_process_renderer_thread.h", | 152     "in_process_renderer_thread.h", | 
| 158     "input/frame_input_handler_impl.cc", | 153     "input/frame_input_handler_impl.cc", | 
| 159     "input/frame_input_handler_impl.h", | 154     "input/frame_input_handler_impl.h", | 
| 160     "input/input_event_filter.cc", | 155     "input/input_event_filter.cc", | 
|  | 156     "input/input_event_filter_ipc_names.cc", | 
| 161     "input/input_event_filter.h", | 157     "input/input_event_filter.h", | 
| 162     "input/input_handler_manager.cc", | 158     "input/input_handler_manager.cc", | 
| 163     "input/input_handler_manager.h", | 159     "input/input_handler_manager.h", | 
| 164     "input/input_handler_manager_client.h", | 160     "input/input_handler_manager_client.h", | 
| 165     "input/input_handler_wrapper.cc", | 161     "input/input_handler_wrapper.cc", | 
| 166     "input/input_handler_wrapper.h", | 162     "input/input_handler_wrapper.h", | 
| 167     "input/main_thread_event_queue.cc", | 163     "input/main_thread_event_queue.cc", | 
| 168     "input/main_thread_event_queue.h", | 164     "input/main_thread_event_queue.h", | 
| 169     "input/main_thread_event_queue_task.h", | 165     "input/main_thread_event_queue_task.h", | 
| 170     "input/main_thread_event_queue_task_list.cc", | 166     "input/main_thread_event_queue_task_list.cc", | 
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 400     "webgraphicscontext3d_provider_impl.cc", | 396     "webgraphicscontext3d_provider_impl.cc", | 
| 401     "webgraphicscontext3d_provider_impl.h", | 397     "webgraphicscontext3d_provider_impl.h", | 
| 402     "webpublicsuffixlist_impl.cc", | 398     "webpublicsuffixlist_impl.cc", | 
| 403     "webpublicsuffixlist_impl.h", | 399     "webpublicsuffixlist_impl.h", | 
| 404     "webscrollbarbehavior_impl_aura.cc", | 400     "webscrollbarbehavior_impl_aura.cc", | 
| 405     "webscrollbarbehavior_impl_aura.h", | 401     "webscrollbarbehavior_impl_aura.h", | 
| 406     "webscrollbarbehavior_impl_mac.h", | 402     "webscrollbarbehavior_impl_mac.h", | 
| 407     "webscrollbarbehavior_impl_mac.mm", | 403     "webscrollbarbehavior_impl_mac.mm", | 
| 408   ] | 404   ] | 
| 409 | 405 | 
|  | 406   jumbo_excluded_sources = [ | 
|  | 407     # IPC | 
|  | 408     "input/input_event_filter_ipc_names.cc", | 
|  | 409 | 
|  | 410     # Too many IsRunningInMash. | 
|  | 411     "gpu/render_widget_compositor.cc", | 
|  | 412 | 
|  | 413     # Too many InputEventDispositionToAck. | 
|  | 414     "input/widget_input_handler_manager.cc", | 
|  | 415   ] | 
|  | 416 | 
| 410   if (!is_component_build) { | 417   if (!is_component_build) { | 
| 411     if (is_win && is_official_build) { | 418     if (is_win && is_official_build) { | 
| 412       split_count = 2  # In certain configurations a full renderer.lib can | 419       split_count = 2  # In certain configurations a full renderer.lib can | 
| 413                        # be 2+ GB which breaks some Windows tools. | 420                        # be 2+ GB which breaks some Windows tools. | 
| 414     } else { | 421     } else { | 
| 415       split_count = 1 | 422       split_count = 1 | 
| 416     } | 423     } | 
| 417   } | 424   } | 
| 418 | 425 | 
| 419   configs += [ | 426   configs += [ | 
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1001 # See comment at the top of //content/BUILD.gn for how this works. | 1008 # See comment at the top of //content/BUILD.gn for how this works. | 
| 1002 group("for_content_tests") { | 1009 group("for_content_tests") { | 
| 1003   visibility = [ "//content/test/*" ] | 1010   visibility = [ "//content/test/*" ] | 
| 1004 | 1011 | 
| 1005   if (!is_component_build) { | 1012   if (!is_component_build) { | 
| 1006     public_deps = [ | 1013     public_deps = [ | 
| 1007       ":renderer", | 1014       ":renderer", | 
| 1008     ] | 1015     ] | 
| 1009   } | 1016   } | 
| 1010 } | 1017 } | 
| OLD | NEW | 
|---|