Tool for editing of yuv-files. Specify a path to the clip that should be edited, the height and width of the clip, one set of frames that should be removed from the clip, and a path to where the result should be written. There is a executable created that make use of the library where the functionality is implemented. There is also a unittest added for the library.
BUG=
Review URL: https://webrtc-codereview.appspot.com/929021
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3174 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/tools/tools.gyp b/tools/tools.gyp
index bff24a5..8c2d100 100644
--- a/tools/tools.gyp
+++ b/tools/tools.gyp
@@ -84,5 +84,45 @@
'converter/rgba_to_i420_converter.cc',
],
}, # rgba_to_i420_converter
+ {
+ 'target_name': 'frame_cutter_lib',
+ 'type': '<(library)',
+ 'dependencies': [
+ '<(DEPTH)/webrtc/common_video/common_video.gyp:common_video',
+ ],
+ 'sources': [
+ 'frame_cutter/frame_cutter_lib.cc',
+ 'frame_cutter/frame_cutter_lib.h',
+ ],
+ }, # frame_cutter_lib
+ {
+ 'target_name': 'frame_cutter',
+ 'type': 'executable',
+ 'dependencies': [
+ 'command_line_parser',
+ 'frame_cutter_lib',
+ ],
+ 'sources': [
+ 'frame_cutter/frame_cutter.cc',
+ ],
+ }, # frame_cutter
],
+ 'conditions': [
+ ['include_tests==1', {
+ 'targets' : [
+ {
+ 'target_name': 'tools_unittests',
+ 'type': 'executable',
+ 'dependencies': [
+ 'frame_cutter_lib',
+ '<(webrtc_root)/test/test.gyp:test_support_main',
+ '<(DEPTH)/testing/gtest.gyp:gtest',
+ ],
+ 'sources': [
+ 'frame_cutter/frame_cutter_unittest.cc',
+ ],
+ }, # tools_unittests
+ ], # targets
+ }], # include_tests
+ ], # conditions
}