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