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", |
+ ] |
+} |