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 | 'sources': [ |
| 18 | 'simple_command_line_parser.h', |
| 19 | 'simple_command_line_parser.cc', |
| 20 | ], |
| 21 | }, # command_line_parser |
| 22 | { |
| 23 | 'target_name': 'video_quality_analysis', |
wjia@webrtc.org | 0a7fc8d | 2013-01-18 17:13:47 +0000 | [diff] [blame] | 24 | 'type': 'static_library', |
andrew@webrtc.org | b015cbe | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 25 | 'dependencies': [ |
| 26 | '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', |
| 27 | ], |
| 28 | 'include_dirs': [ |
| 29 | 'frame_analyzer', |
| 30 | ], |
| 31 | 'direct_dependent_settings': { |
| 32 | 'include_dirs': [ |
| 33 | 'frame_analyzer', |
| 34 | ], |
| 35 | }, |
| 36 | 'export_dependent_settings': [ |
| 37 | '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', |
| 38 | ], |
| 39 | 'sources': [ |
| 40 | 'frame_analyzer/video_quality_analysis.h', |
| 41 | 'frame_analyzer/video_quality_analysis.cc', |
| 42 | ], |
| 43 | }, # video_quality_analysis |
| 44 | { |
| 45 | 'target_name': 'frame_analyzer', |
| 46 | 'type': 'executable', |
| 47 | 'dependencies': [ |
| 48 | 'command_line_parser', |
| 49 | 'video_quality_analysis', |
| 50 | ], |
| 51 | 'sources': [ |
| 52 | 'frame_analyzer/frame_analyzer.cc', |
| 53 | ], |
| 54 | }, # frame_analyzer |
| 55 | { |
| 56 | 'target_name': 'psnr_ssim_analyzer', |
| 57 | 'type': 'executable', |
| 58 | 'dependencies': [ |
| 59 | 'command_line_parser', |
| 60 | 'video_quality_analysis', |
| 61 | ], |
| 62 | 'sources': [ |
| 63 | 'psnr_ssim_analyzer/psnr_ssim_analyzer.cc', |
| 64 | ], |
| 65 | }, # psnr_ssim_analyzer |
| 66 | { |
| 67 | 'target_name': 'rgba_to_i420_converter', |
| 68 | 'type': 'executable', |
| 69 | 'dependencies': [ |
| 70 | 'command_line_parser', |
| 71 | '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', |
| 72 | ], |
| 73 | 'sources': [ |
| 74 | 'converter/converter.h', |
| 75 | 'converter/converter.cc', |
| 76 | 'converter/rgba_to_i420_converter.cc', |
| 77 | ], |
| 78 | }, # rgba_to_i420_converter |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 79 | { |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 80 | 'target_name': 'frame_editing_lib', |
wjia@webrtc.org | 0a7fc8d | 2013-01-18 17:13:47 +0000 | [diff] [blame] | 81 | 'type': 'static_library', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 82 | 'dependencies': [ |
andrew@webrtc.org | ad2a55a | 2012-11-30 02:28:27 +0000 | [diff] [blame] | 83 | '<(webrtc_root)/common_video/common_video.gyp:common_video', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 84 | ], |
| 85 | 'sources': [ |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 86 | 'frame_editing/frame_editing_lib.cc', |
| 87 | 'frame_editing/frame_editing_lib.h', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 88 | ], |
kjellander@webrtc.org | 1e7f77a | 2013-02-04 10:07:17 +0000 | [diff] [blame^] | 89 | # Disable warnings to enable Win64 build, issue 1323. |
| 90 | 'msvs_disabled_warnings': [ |
| 91 | 4267, # size_t to int truncation. |
| 92 | ], |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 93 | }, # frame_editing_lib |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 94 | { |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 95 | 'target_name': 'frame_editor', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 96 | 'type': 'executable', |
| 97 | 'dependencies': [ |
| 98 | 'command_line_parser', |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 99 | 'frame_editing_lib', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 100 | ], |
| 101 | 'sources': [ |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 102 | 'frame_editing/frame_editing.cc', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 103 | ], |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 104 | }, # frame_editing |
andrew@webrtc.org | b015cbe | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 105 | ], |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 106 | 'conditions': [ |
| 107 | ['include_tests==1', { |
| 108 | 'targets' : [ |
| 109 | { |
| 110 | 'target_name': 'tools_unittests', |
| 111 | 'type': 'executable', |
| 112 | 'dependencies': [ |
kjellander@webrtc.org | f6a2efa | 2013-01-26 16:36:40 +0000 | [diff] [blame] | 113 | 'command_line_parser', |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 114 | 'frame_editing_lib', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 115 | '<(webrtc_root)/test/test.gyp:test_support_main', |
| 116 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 117 | ], |
| 118 | 'sources': [ |
kjellander@webrtc.org | f6a2efa | 2013-01-26 16:36:40 +0000 | [diff] [blame] | 119 | 'simple_command_line_parser_unittest.cc', |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 120 | 'frame_editing/frame_editing_unittest.cc', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 121 | ], |
kjellander@webrtc.org | 1e7f77a | 2013-02-04 10:07:17 +0000 | [diff] [blame^] | 122 | # Disable warnings to enable Win64 build, issue 1323. |
| 123 | 'msvs_disabled_warnings': [ |
| 124 | 4267, # size_t to int truncation. |
| 125 | ], |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 126 | }, # tools_unittests |
| 127 | ], # targets |
| 128 | }], # include_tests |
| 129 | ], # conditions |
wjia@webrtc.org | 0a7fc8d | 2013-01-18 17:13:47 +0000 | [diff] [blame] | 130 | } |