| 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 = [ |
| 29 ":renderer_features", |
| 27 "//base:i18n", | 30 "//base:i18n", |
| 28 "//cc", | 31 "//cc", |
| 29 "//cc/blink", | 32 "//cc/blink", |
| 30 "//cc/proto", | 33 "//cc/proto", |
| 31 "//cc/surfaces", | 34 "//cc/surfaces", |
| 32 "//cc/surfaces:surface_id", | 35 "//cc/surfaces:surface_id", |
| 33 "//components/scheduler:scheduler", | 36 "//components/scheduler:scheduler", |
| 34 "//components/url_formatter", | 37 "//components/url_formatter", |
| 35 "//components/webusb", | 38 "//components/webusb", |
| 36 "//content:resources", | 39 "//content:resources", |
| 37 "//content/common:mojo_bindings", | 40 "//content/common:mojo_bindings", |
| 38 "//content/public/child:child_sources", | 41 "//content/public/child:child_sources", |
| 39 "//content/public/common:common_features", | |
| 40 "//content/public/common:common_sources", | 42 "//content/public/common:common_sources", |
| 41 "//content/public/common:feature_h264_with_openh264_ffmpeg", | |
| 42 "//content/public/common:mojo_bindings", | 43 "//content/public/common:mojo_bindings", |
| 43 "//crypto:platform", | 44 "//crypto:platform", |
| 44 "//device/battery:mojo_bindings", | 45 "//device/battery:mojo_bindings", |
| 45 "//device/bluetooth", | 46 "//device/bluetooth", |
| 46 "//device/usb/public/interfaces", | 47 "//device/usb/public/interfaces", |
| 47 "//device/vibration:mojo_bindings", | 48 "//device/vibration:mojo_bindings", |
| 48 "//gin", | 49 "//gin", |
| 49 "//gpu", | 50 "//gpu", |
| 50 "//gpu/blink", | 51 "//gpu/blink", |
| 51 "//gpu/command_buffer/client:gles2_interface", | 52 "//gpu/command_buffer/client:gles2_interface", |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 } | 237 } |
| 237 | 238 |
| 238 if (use_seccomp_bpf) { | 239 if (use_seccomp_bpf) { |
| 239 defines += [ "USE_SECCOMP_BPF" ] | 240 defines += [ "USE_SECCOMP_BPF" ] |
| 240 } | 241 } |
| 241 | 242 |
| 242 if (use_ozone) { | 243 if (use_ozone) { |
| 243 deps += [ "//ui/ozone" ] | 244 deps += [ "//ui/ozone" ] |
| 244 } | 245 } |
| 245 } | 246 } |
| 247 |
| 248 buildflag_header("renderer_features") { |
| 249 header = "renderer_features.h" |
| 250 |
| 251 flags = [ "RTC_USE_H264=$rtc_use_h264" ] |
| 252 } |
| OLD | NEW |