| 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("//content/renderer/renderer.gni") | 6 import("//content/renderer/renderer.gni") |
| 7 | 7 |
| 8 # See //content/BUILD.gn for how this works. | 8 # See //content/BUILD.gn for how this works. |
| 9 group("renderer") { | 9 group("renderer") { |
| 10 if (is_component_build) { | 10 if (is_component_build) { |
| 11 public_deps = [ | 11 public_deps = [ |
| 12 "//content", | 12 "//content", |
| 13 ] | 13 ] |
| 14 } else { | 14 } else { |
| 15 public_deps = [ | 15 public_deps = [ |
| 16 ":renderer_sources", | 16 ":renderer_sources", |
| 17 ] | 17 ] |
| 18 } | 18 } |
| 19 } | 19 } |
| 20 | 20 |
| 21 source_set("renderer_sources") { | 21 source_set("renderer_sources") { |
| 22 visibility = [ "//content/*" ] | 22 visibility = [ "//content/*" ] |
| 23 | 23 |
| 24 sources = rebase_path(content_renderer_gypi_values.public_renderer_sources, | 24 sources = rebase_path(content_renderer_gypi_values.public_renderer_sources, |
| 25 ".", | 25 ".", |
| 26 "//content") | 26 "//content") |
| 27 | 27 |
| 28 configs += [ | 28 configs += [ "//content:content_implementation" ] |
| 29 "//content:content_implementation", | |
| 30 "//content/public/common:mojo_shell_client", | |
| 31 ] | |
| 32 | 29 |
| 33 deps = [ | 30 deps = [ |
| 34 "//content/public/common:common_sources", | 31 "//content/public/common:common_sources", |
| 35 "//content/renderer", | 32 "//content/renderer", |
| 36 "//skia", | 33 "//skia", |
| 37 "//third_party/libjingle", | 34 "//third_party/libjingle", |
| 38 "//third_party/WebKit/public:blink_headers", | 35 "//third_party/WebKit/public:blink_headers", |
| 39 "//third_party/widevine/cdm:version_h", | 36 "//third_party/widevine/cdm:version_h", |
| 40 "//ui/gfx", | 37 "//ui/gfx", |
| 41 "//v8", | 38 "//v8", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 55 deps += [ "//third_party/webrtc" ] | 52 deps += [ "//third_party/webrtc" ] |
| 56 } | 53 } |
| 57 | 54 |
| 58 if (enable_plugins) { | 55 if (enable_plugins) { |
| 59 sources += | 56 sources += |
| 60 rebase_path(content_renderer_gypi_values.public_renderer_plugin_sources, | 57 rebase_path(content_renderer_gypi_values.public_renderer_plugin_sources, |
| 61 ".", | 58 ".", |
| 62 "//content") | 59 "//content") |
| 63 } | 60 } |
| 64 } | 61 } |
| OLD | NEW |