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

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

Issue 1673183002: 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: Renamed stuff, removing references to 'finch' 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..fc20435e8437ec1b472aefc266577ab0298a066f 100644
--- a/content/public/common/BUILD.gn
+++ b/content/public/common/BUILD.gn
@@ -2,10 +2,12 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/buildflag_header.gni")
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 +121,19 @@ mojom("mojo_bindings") {
"service_worker_event_status.mojom",
]
}
+
+buildflag_header("common_features") {
+ header = "common_features.h"
+
+ flags = [ "RTC_USE_H264=$rtc_use_h264" ]
+}
+
+source_set("feature_h264_with_openh264_ffmpeg") {
+ deps = [
+ ":common_features",
+ ]
+ 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