| 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("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//content/renderer/renderer.gni") | 7 import("//content/renderer/renderer.gni") |
| 8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
| 9 | 9 |
| 10 source_set("renderer") { | 10 source_set("renderer") { |
| 11 # Only the public target should depend on this. All other targets (even | 11 # Only the public target should depend on this. All other targets (even |
| 12 # internal content ones) should depend on the public one. | 12 # internal content ones) should depend on the public one. |
| 13 visibility = [ "//content/public/renderer:renderer_sources" ] | 13 visibility = [ "//content/public/renderer:renderer_sources" ] |
| 14 | 14 |
| 15 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, | 15 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, |
| 16 ".", | 16 ".", |
| 17 "//content") | 17 "//content") |
| 18 | 18 |
| 19 configs += [ "//content:content_implementation" ] | 19 configs += [ |
| 20 "//content:content_implementation", |
| 21 "//build/config/compiler:no_size_t_to_int_warning", |
| 22 ] |
| 20 | 23 |
| 21 deps = [ | 24 deps = [ |
| 22 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but | 25 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but |
| 23 # those don't cross component boundaries. | 26 # those don't cross component boundaries. |
| 24 "//crypto:platform", | 27 "//crypto:platform", |
| 25 "//base/allocator", | 28 "//base/allocator", |
| 26 "//cc", | 29 "//cc", |
| 27 "//cc/blink", | 30 "//cc/blink", |
| 28 "//content:resources", | 31 "//content:resources", |
| 29 "//content/common:mojo_bindings", | 32 "//content/common:mojo_bindings", |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 } | 192 } |
| 190 | 193 |
| 191 if (enable_media_mojo_renderer) { | 194 if (enable_media_mojo_renderer) { |
| 192 sources += [ | 195 sources += [ |
| 193 "media/media_renderer_service_provider.cc", | 196 "media/media_renderer_service_provider.cc", |
| 194 "media/media_renderer_service_provider.h", | 197 "media/media_renderer_service_provider.h", |
| 195 ] | 198 ] |
| 196 deps += [ "//media/mojo/services:renderer_proxy" ] | 199 deps += [ "//media/mojo/services:renderer_proxy" ] |
| 197 } | 200 } |
| 198 } | 201 } |
| OLD | NEW |