Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Unified Diff: content/renderer/BUILD.gn

Issue 1641163002: Preparation CL for H264 support in WebRTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created bug crbug.com/584219 and updated comment Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/media/webrtc/peer_connection_dependency_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/BUILD.gn
diff --git a/content/renderer/BUILD.gn b/content/renderer/BUILD.gn
index 6ae63c3ba54e9e9d8a4a1d19bedf488fabe01489..3b51c5747e97333aafa91a6a1cee42fca812fecf 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 @@ source_set("renderer") {
defines = []
deps = [
+ ":renderer_features",
"//base:i18n",
"//cc",
"//cc/blink",
@@ -163,6 +166,7 @@ source_set("renderer") {
"//third_party/webrtc/common_video",
"//third_party/webrtc/modules/audio_device",
"//third_party/webrtc/modules/audio_processing",
+ "//third_party/webrtc/modules/video_coding:webrtc_h264",
"//third_party/webrtc/system_wrappers",
]
} else {
@@ -240,3 +244,9 @@ source_set("renderer") {
deps += [ "//ui/ozone" ]
}
}
+
+buildflag_header("renderer_features") {
+ header = "renderer_features.h"
+
+ flags = [ "RTC_USE_H264=$rtc_use_h264" ]
+}
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/media/webrtc/peer_connection_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698