andrew@webrtc.org | b015cbe | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 1 | # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license |
| 4 | # that can be found in the LICENSE file in the root of the source |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | |
| 9 | { |
| 10 | 'includes': [ |
| 11 | '../build/common.gypi', |
| 12 | ], |
| 13 | 'targets': [ |
| 14 | { |
| 15 | 'target_name': 'command_line_parser', |
wjia@webrtc.org | 0a7fc8d | 2013-01-18 17:13:47 +0000 | [diff] [blame^] | 16 | 'type': 'static_library', |
andrew@webrtc.org | b015cbe | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 17 | 'include_dirs': [ |
| 18 | '.', |
| 19 | ], |
| 20 | 'direct_dependent_settings': { |
| 21 | 'include_dirs': [ |
| 22 | '.', |
| 23 | ], |
| 24 | }, |
| 25 | 'sources': [ |
| 26 | 'simple_command_line_parser.h', |
| 27 | 'simple_command_line_parser.cc', |
| 28 | ], |
| 29 | }, # command_line_parser |
| 30 | { |
| 31 | 'target_name': 'video_quality_analysis', |
wjia@webrtc.org | 0a7fc8d | 2013-01-18 17:13:47 +0000 | [diff] [blame^] | 32 | 'type': 'static_library', |
andrew@webrtc.org | b015cbe | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 33 | 'dependencies': [ |
| 34 | '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', |
| 35 | ], |
| 36 | 'include_dirs': [ |
| 37 | 'frame_analyzer', |
| 38 | ], |
| 39 | 'direct_dependent_settings': { |
| 40 | 'include_dirs': [ |
| 41 | 'frame_analyzer', |
| 42 | ], |
| 43 | }, |
| 44 | 'export_dependent_settings': [ |
| 45 | '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', |
| 46 | ], |
| 47 | 'sources': [ |
| 48 | 'frame_analyzer/video_quality_analysis.h', |
| 49 | 'frame_analyzer/video_quality_analysis.cc', |
| 50 | ], |
| 51 | }, # video_quality_analysis |
| 52 | { |
| 53 | 'target_name': 'frame_analyzer', |
| 54 | 'type': 'executable', |
| 55 | 'dependencies': [ |
| 56 | 'command_line_parser', |
| 57 | 'video_quality_analysis', |
| 58 | ], |
| 59 | 'sources': [ |
| 60 | 'frame_analyzer/frame_analyzer.cc', |
| 61 | ], |
| 62 | }, # frame_analyzer |
| 63 | { |
| 64 | 'target_name': 'psnr_ssim_analyzer', |
| 65 | 'type': 'executable', |
| 66 | 'dependencies': [ |
| 67 | 'command_line_parser', |
| 68 | 'video_quality_analysis', |
| 69 | ], |
| 70 | 'sources': [ |
| 71 | 'psnr_ssim_analyzer/psnr_ssim_analyzer.cc', |
| 72 | ], |
| 73 | }, # psnr_ssim_analyzer |
| 74 | { |
| 75 | 'target_name': 'rgba_to_i420_converter', |
| 76 | 'type': 'executable', |
| 77 | 'dependencies': [ |
| 78 | 'command_line_parser', |
| 79 | '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', |
| 80 | ], |
| 81 | 'sources': [ |
| 82 | 'converter/converter.h', |
| 83 | 'converter/converter.cc', |
| 84 | 'converter/rgba_to_i420_converter.cc', |
| 85 | ], |
| 86 | }, # rgba_to_i420_converter |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 87 | { |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 88 | 'target_name': 'frame_editing_lib', |
wjia@webrtc.org | 0a7fc8d | 2013-01-18 17:13:47 +0000 | [diff] [blame^] | 89 | 'type': 'static_library', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 90 | 'dependencies': [ |
andrew@webrtc.org | ad2a55a | 2012-11-30 02:28:27 +0000 | [diff] [blame] | 91 | '<(webrtc_root)/common_video/common_video.gyp:common_video', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 92 | ], |
| 93 | 'sources': [ |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 94 | 'frame_editing/frame_editing_lib.cc', |
| 95 | 'frame_editing/frame_editing_lib.h', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 96 | ], |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 97 | }, # frame_editing_lib |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 98 | { |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 99 | 'target_name': 'frame_editor', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 100 | 'type': 'executable', |
| 101 | 'dependencies': [ |
| 102 | 'command_line_parser', |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 103 | 'frame_editing_lib', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 104 | ], |
| 105 | 'sources': [ |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 106 | 'frame_editing/frame_editing.cc', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 107 | ], |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 108 | }, # frame_editing |
andrew@webrtc.org | b015cbe | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 109 | ], |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 110 | 'conditions': [ |
| 111 | ['include_tests==1', { |
| 112 | 'targets' : [ |
| 113 | { |
| 114 | 'target_name': 'tools_unittests', |
| 115 | 'type': 'executable', |
| 116 | 'dependencies': [ |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 117 | 'frame_editing_lib', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 118 | '<(webrtc_root)/test/test.gyp:test_support_main', |
| 119 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 120 | ], |
| 121 | 'sources': [ |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 122 | 'frame_editing/frame_editing_unittest.cc', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 123 | ], |
| 124 | }, # tools_unittests |
| 125 | ], # targets |
| 126 | }], # include_tests |
| 127 | ], # conditions |
wjia@webrtc.org | 0a7fc8d | 2013-01-18 17:13:47 +0000 | [diff] [blame^] | 128 | } |