| 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/features.gni") | 5 import("//build/config/features.gni") | 
| 6 import("//media/media_options.gni") | 6 import("//media/media_options.gni") | 
| 7 import("//ppapi/features/features.gni") | 7 import("//ppapi/features/features.gni") | 
|  | 8 import("//content/content.gni") | 
| 8 | 9 | 
| 9 # See //content/BUILD.gn for how this works. | 10 # See //content/BUILD.gn for how this works. | 
| 10 group("renderer") { | 11 group("renderer") { | 
| 11   if (is_component_build) { | 12   if (is_component_build) { | 
| 12     public_deps = [ | 13     public_deps = [ | 
| 13       "//content", | 14       "//content", | 
| 14     ] | 15     ] | 
| 15   } else { | 16   } else { | 
| 16     public_deps = [ | 17     public_deps = [ | 
| 17       ":renderer_sources", | 18       ":renderer_sources", | 
| 18     ] | 19     ] | 
| 19   } | 20   } | 
| 20 } | 21 } | 
| 21 | 22 | 
| 22 if (is_component_build) { | 23 content_component("renderer_sources") { | 
| 23   link_target_type = "source_set" |  | 
| 24 } else { |  | 
| 25   link_target_type = "static_library" |  | 
| 26 } |  | 
| 27 target(link_target_type, "renderer_sources") { |  | 
| 28   # External code should depend on via ":renderer" above. | 24   # External code should depend on via ":renderer" above. | 
| 29   visibility = [ "//content/*" ] | 25   visibility = [ "//content/*" ] | 
| 30 | 26 | 
| 31   sources = [ | 27   sources = [ | 
| 32     "associated_resource_fetcher.h", | 28     "associated_resource_fetcher.h", | 
| 33     "browser_plugin_delegate.cc", | 29     "browser_plugin_delegate.cc", | 
| 34     "browser_plugin_delegate.h", | 30     "browser_plugin_delegate.h", | 
| 35     "chrome_object_extensions_utils.cc", | 31     "chrome_object_extensions_utils.cc", | 
| 36     "chrome_object_extensions_utils.h", | 32     "chrome_object_extensions_utils.h", | 
| 37     "content_renderer_client.cc", | 33     "content_renderer_client.cc", | 
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 123       "//content/public/common:feature_h264_with_openh264_ffmpeg", | 119       "//content/public/common:feature_h264_with_openh264_ffmpeg", | 
| 124       "//content/public/common:features", | 120       "//content/public/common:features", | 
| 125       "//third_party/webrtc_overrides", | 121       "//third_party/webrtc_overrides", | 
| 126     ] | 122     ] | 
| 127   } | 123   } | 
| 128 | 124 | 
| 129   if (enable_plugins) { | 125   if (enable_plugins) { | 
| 130     sources += [ "plugin_instance_throttler.h" ] | 126     sources += [ "plugin_instance_throttler.h" ] | 
| 131   } | 127   } | 
| 132 } | 128 } | 
| OLD | NEW | 
|---|