Index: webrtc/modules/video_coding/BUILD.gn |
diff --git a/webrtc/modules/video_coding/BUILD.gn b/webrtc/modules/video_coding/BUILD.gn |
index 88f9bbaaa7830d5d9469ac66d079cf86f8450b1e..e05ab855e8c4699a145b9470d687302a0c59a042 100644 |
--- a/webrtc/modules/video_coding/BUILD.gn |
+++ b/webrtc/modules/video_coding/BUILD.gn |
@@ -81,6 +81,7 @@ source_set("video_coding") { |
deps = [ |
":video_coding_utility", |
+ ":webrtc_h264", |
":webrtc_i420", |
":webrtc_vp8", |
":webrtc_vp9", |
@@ -115,6 +116,29 @@ source_set("video_coding_utility") { |
] |
} |
+source_set("webrtc_h264") { |
+ sources = [ |
+ "codecs/h264/h264.cc", |
+ "codecs/h264/include/h264.h", |
+ ] |
+ |
+ configs += [ "../..:common_config" ] |
+ public_configs = [ "../..:common_inherited_config" ] |
+ |
+ if (is_clang) { |
+ # Suppress warnings from Chrome's Clang plugins. |
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
+ configs -= [ "//build/config/clang:find_bad_constructs" ] |
+ } |
+ |
+ deps = [ |
+ "../../system_wrappers", |
+ ] |
+} |
+ |
+# TODO(tkchin): Source set for webrtc_h264_video_toolbox. Currently not |
+# possible to add, see https://crbug.com/297668. |
+ |
source_set("webrtc_i420") { |
sources = [ |
"codecs/i420/main/interface/i420.h", |