Chromium Code Reviews| 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("//build/buildflag_header.gni") | |
| 7 import("//content/renderer/renderer.gni") | 8 import("//content/renderer/renderer.gni") |
| 8 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
| 10 import("//third_party/webrtc/build/webrtc.gni") | |
| 9 | 11 |
| 10 source_set("renderer") { | 12 source_set("renderer") { |
| 11 # Only the public target should depend on this. All other targets (even | 13 # Only the public target should depend on this. All other targets (even |
| 12 # internal content ones) should depend on the public one. | 14 # internal content ones) should depend on the public one. |
| 13 visibility = [ "//content/public/renderer:renderer_sources" ] | 15 visibility = [ "//content/public/renderer:renderer_sources" ] |
| 14 | 16 |
| 15 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, | 17 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, |
| 16 ".", | 18 ".", |
| 17 "//content") | 19 "//content") |
| 18 | 20 |
| 19 configs += [ | 21 configs += [ |
| 20 "//content:content_implementation", | 22 "//content:content_implementation", |
| 21 "//build/config/compiler:no_size_t_to_int_warning", | 23 "//build/config/compiler:no_size_t_to_int_warning", |
| 22 "//content/public/common:mojo_shell_client", | 24 "//content/public/common:mojo_shell_client", |
| 23 ] | 25 ] |
| 24 defines = [] | 26 defines = [] |
| 25 | 27 |
| 26 deps = [ | 28 deps = [ |
| 27 "//base:i18n", | 29 "//base:i18n", |
| 28 | 30 |
| 29 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but | 31 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but |
|
brettw
2016/02/03 22:19:56
Can you delete this comment? It looks like it appl
hbos_chromium
2016/02/04 10:47:32
Merging got rid of it.
| |
| 30 # those don't cross component boundaries. | 32 # those don't cross component boundaries. |
| 33 ":renderer_features", | |
| 31 "//base/allocator", | 34 "//base/allocator", |
| 32 "//cc", | 35 "//cc", |
| 33 "//cc/blink", | 36 "//cc/blink", |
| 34 "//cc/proto", | 37 "//cc/proto", |
| 35 "//cc/surfaces", | 38 "//cc/surfaces", |
| 36 "//cc/surfaces:surface_id", | 39 "//cc/surfaces:surface_id", |
| 37 "//components/scheduler:scheduler", | 40 "//components/scheduler:scheduler", |
| 38 "//components/startup_metric_utils/common", | 41 "//components/startup_metric_utils/common", |
| 39 "//components/url_formatter", | 42 "//components/url_formatter", |
| 40 "//components/webusb", | 43 "//components/webusb", |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 238 } | 241 } |
| 239 | 242 |
| 240 if (use_seccomp_bpf) { | 243 if (use_seccomp_bpf) { |
| 241 defines += [ "USE_SECCOMP_BPF" ] | 244 defines += [ "USE_SECCOMP_BPF" ] |
| 242 } | 245 } |
| 243 | 246 |
| 244 if (use_ozone) { | 247 if (use_ozone) { |
| 245 deps += [ "//ui/ozone" ] | 248 deps += [ "//ui/ozone" ] |
| 246 } | 249 } |
| 247 } | 250 } |
| 251 | |
| 252 buildflag_header("renderer_features") { | |
| 253 header = "renderer_features.h" | |
| 254 | |
| 255 flags = [ "RTC_USE_H264=$rtc_use_h264" ] | |
| 256 } | |
| OLD | NEW |