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

Unified Diff: content/public/common/BUILD.gn

Issue 1728453002: Enable H.264 video WebRTC behind run-time flag and add WebRtcBrowserTest for H.264 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: #define macro instead of BUILDFLAG. common_features (aka renderer_features) deleted. 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/public/common/feature_h264_with_openh264_ffmpeg.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/BUILD.gn
diff --git a/content/public/common/BUILD.gn b/content/public/common/BUILD.gn
index b8a7cd1f699f2847747ef23ae29c509a19fe9a11..6198eb9a613c0b9ca80058321aeaf44181606f09 100644
--- a/content/public/common/BUILD.gn
+++ b/content/public/common/BUILD.gn
@@ -6,6 +6,7 @@ import("//build/config/chromecast_build.gni")
import("//build/config/features.gni")
import("//content/common/common.gni")
import("//mojo/public/tools/bindings/mojom.gni")
+import("//third_party/webrtc/build/webrtc.gni")
# See //content/BUILD.gn for how this works.
group("common") {
@@ -119,3 +120,13 @@ mojom("mojo_bindings") {
"service_worker_event_status.mojom",
]
}
+
+source_set("feature_h264_with_openh264_ffmpeg") {
+ if (rtc_use_h264) {
+ defines = [ "BUILDFLAG_RTC_USE_H264" ]
+ }
+ sources = [
+ "feature_h264_with_openh264_ffmpeg.cc",
+ "feature_h264_with_openh264_ffmpeg.h",
+ ]
+}
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/common/feature_h264_with_openh264_ffmpeg.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698