GN: Implement video_engine, video_capture and video_render. Also add more from common.gypi to webrtc.gni. These GN configs are based on GYP files in r6997. BUG=3441 TEST=Trybots and local compile using: gn gen out/Default --args="build_with_chromium=false" && ninja -C out/Default gn gen out/Default --args="build_with_chromium=false is_debug=true" && ninja -C out/Default Passed compile from a Chromium checkout with src/third_party/webrtc linked to the webrtc/ dir of a checkout with this patch applied. R=brettw@chromium.org, glaznev@webrtc.org, mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/18709004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6999 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/video/BUILD.gn b/webrtc/video/BUILD.gn index 18c43f9..121e754 100644 --- a/webrtc/video/BUILD.gn +++ b/webrtc/video/BUILD.gn
@@ -9,6 +9,28 @@ import("../build/webrtc.gni") source_set("video") { - # TODO(pbos): Implement when video_engine_core is done. + sources = [ + "call.cc", + "encoded_frame_callback_adapter.cc", + "encoded_frame_callback_adapter.h", + "receive_statistics_proxy.cc", + "receive_statistics_proxy.h", + "send_statistics_proxy.cc", + "send_statistics_proxy.h", + "transport_adapter.cc", + "transport_adapter.h", + "video_receive_stream.cc", + "video_receive_stream.h", + "video_send_stream.cc", + "video_send_stream.h", + ] + + 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 = [ "../video_engine:video_engine_core" ] }