| Index: content/renderer/BUILD.gn
|
| diff --git a/content/renderer/BUILD.gn b/content/renderer/BUILD.gn
|
| index 84f19f1c9e2bccd1652929c0dbf1c50ee62f19e0..c3044904c994fece734e3fb04d77f6e0213e42ca 100644
|
| --- a/content/renderer/BUILD.gn
|
| +++ b/content/renderer/BUILD.gn
|
| @@ -4,8 +4,10 @@
|
|
|
| import("//build/config/features.gni")
|
| import("//build/config/ui.gni")
|
| +import("//build/buildflag_header.gni")
|
| import("//content/renderer/renderer.gni")
|
| import("//media/media_options.gni")
|
| +import("//third_party/webrtc/build/webrtc.gni")
|
|
|
| source_set("renderer") {
|
| # Only the public target should depend on this. All other targets (even
|
| @@ -24,6 +26,7 @@
|
| defines = []
|
|
|
| deps = [
|
| + ":renderer_features",
|
| "//base:i18n",
|
| "//cc",
|
| "//cc/blink",
|
| @@ -36,9 +39,7 @@
|
| "//content:resources",
|
| "//content/common:mojo_bindings",
|
| "//content/public/child:child_sources",
|
| - "//content/public/common:common_features",
|
| "//content/public/common:common_sources",
|
| - "//content/public/common:feature_h264_with_openh264_ffmpeg",
|
| "//content/public/common:mojo_bindings",
|
| "//crypto:platform",
|
| "//device/battery:mojo_bindings",
|
| @@ -243,3 +244,9 @@
|
| deps += [ "//ui/ozone" ]
|
| }
|
| }
|
| +
|
| +buildflag_header("renderer_features") {
|
| + header = "renderer_features.h"
|
| +
|
| + flags = [ "RTC_USE_H264=$rtc_use_h264" ]
|
| +}
|
|
|