| 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 deps = [ "//content" ] | 11 public_deps = [ "//content" ] |
| 12 } else { | 12 } else { |
| 13 deps = [ ":renderer_sources" ] | 13 public_deps = [ ":renderer_sources" ] |
| 14 } | 14 } |
| 15 forward_dependent_configs_from = deps | |
| 16 } | 15 } |
| 17 | 16 |
| 18 source_set("renderer_sources") { | 17 source_set("renderer_sources") { |
| 19 visibility = [ "//content/*" ] | 18 visibility = [ "//content/*" ] |
| 20 | 19 |
| 21 sources = rebase_path(content_renderer_gypi_values.public_renderer_sources, | 20 sources = rebase_path(content_renderer_gypi_values.public_renderer_sources, |
| 22 ".", "//content") | 21 ".", "//content") |
| 23 | 22 |
| 24 configs += [ | 23 configs += [ |
| 25 "//content:content_implementation", | 24 "//content:content_implementation", |
| (...skipping 15 matching lines...) Expand all Loading... |
| 41 # include headers from each other. | 40 # include headers from each other. |
| 42 "//content/renderer", | 41 "//content/renderer", |
| 43 ] | 42 ] |
| 44 | 43 |
| 45 if (enable_webrtc) { | 44 if (enable_webrtc) { |
| 46 sources += rebase_path( | 45 sources += rebase_path( |
| 47 content_renderer_gypi_values.public_renderer_webrtc_sources, | 46 content_renderer_gypi_values.public_renderer_webrtc_sources, |
| 48 ".", "//content") | 47 ".", "//content") |
| 49 } | 48 } |
| 50 } | 49 } |
| OLD | NEW |