| 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 = [ "//content" ] | 11 public_deps = [ |
| 12 "//content", |
| 13 ] |
| 12 } else { | 14 } else { |
| 13 public_deps = [ ":renderer_sources" ] | 15 public_deps = [ |
| 16 ":renderer_sources", |
| 17 ] |
| 14 } | 18 } |
| 15 } | 19 } |
| 16 | 20 |
| 17 source_set("renderer_sources") { | 21 source_set("renderer_sources") { |
| 18 visibility = [ "//content/*" ] | 22 visibility = [ "//content/*" ] |
| 19 | 23 |
| 20 sources = rebase_path(content_renderer_gypi_values.public_renderer_sources, | 24 sources = rebase_path(content_renderer_gypi_values.public_renderer_sources, |
| 21 ".", "//content") | 25 ".", |
| 26 "//content") |
| 22 | 27 |
| 23 configs += [ | 28 configs += [ "//content:content_implementation" ] |
| 24 "//content:content_implementation", | |
| 25 ] | |
| 26 | 29 |
| 27 deps = [ | 30 deps = [ |
| 28 "//content/public/common:common_sources", | 31 "//content/public/common:common_sources", |
| 29 "//content/renderer", | 32 "//content/renderer", |
| 30 "//skia", | 33 "//skia", |
| 31 "//third_party/libjingle", | 34 "//third_party/libjingle", |
| 32 "//third_party/WebKit/public:blink_headers", | 35 "//third_party/WebKit/public:blink_headers", |
| 33 "//third_party/widevine/cdm:version_h", | 36 "//third_party/widevine/cdm:version_h", |
| 34 "//ui/gfx", | 37 "//ui/gfx", |
| 35 "//v8", | 38 "//v8", |
| 36 ] | 39 ] |
| 37 | 40 |
| 38 allow_circular_includes_from = [ | 41 allow_circular_includes_from = [ |
| 39 # This target is a pair with content/renderer. They always go together and | 42 # This target is a pair with content/renderer. They always go together and |
| 40 # include headers from each other. | 43 # include headers from each other. |
| 41 "//content/renderer", | 44 "//content/renderer", |
| 42 ] | 45 ] |
| 43 | 46 |
| 44 if (enable_webrtc) { | 47 if (enable_webrtc) { |
| 45 sources += rebase_path( | 48 sources += |
| 46 content_renderer_gypi_values.public_renderer_webrtc_sources, | 49 rebase_path(content_renderer_gypi_values.public_renderer_webrtc_sources, |
| 47 ".", "//content") | 50 ".", |
| 51 "//content") |
| 48 } | 52 } |
| 49 } | 53 } |
| OLD | NEW |