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 | ], |
andrew@webrtc.org | b015cbe | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 20 | 'export_dependent_settings': [ |
| 21 | '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', |
| 22 | ], |
| 23 | 'sources': [ |
| 24 | 'frame_analyzer/video_quality_analysis.h', |
| 25 | 'frame_analyzer/video_quality_analysis.cc', |
| 26 | ], |
| 27 | }, # video_quality_analysis |
| 28 | { |
| 29 | 'target_name': 'frame_analyzer', |
| 30 | 'type': 'executable', |
| 31 | 'dependencies': [ |
phoglund@webrtc.org | de93f2c | 2013-05-17 11:52:08 +0000 | [diff] [blame] | 32 | '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser', |
andrew@webrtc.org | b015cbe | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 33 | 'video_quality_analysis', |
| 34 | ], |
| 35 | 'sources': [ |
| 36 | 'frame_analyzer/frame_analyzer.cc', |
| 37 | ], |
| 38 | }, # frame_analyzer |
| 39 | { |
| 40 | 'target_name': 'psnr_ssim_analyzer', |
| 41 | 'type': 'executable', |
| 42 | 'dependencies': [ |
phoglund@webrtc.org | de93f2c | 2013-05-17 11:52:08 +0000 | [diff] [blame] | 43 | '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser', |
andrew@webrtc.org | b015cbe | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 44 | 'video_quality_analysis', |
| 45 | ], |
| 46 | 'sources': [ |
| 47 | 'psnr_ssim_analyzer/psnr_ssim_analyzer.cc', |
| 48 | ], |
| 49 | }, # psnr_ssim_analyzer |
| 50 | { |
| 51 | 'target_name': 'rgba_to_i420_converter', |
| 52 | 'type': 'executable', |
| 53 | 'dependencies': [ |
phoglund@webrtc.org | de93f2c | 2013-05-17 11:52:08 +0000 | [diff] [blame] | 54 | '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser', |
andrew@webrtc.org | b015cbe | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 55 | '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', |
| 56 | ], |
| 57 | 'sources': [ |
| 58 | 'converter/converter.h', |
| 59 | 'converter/converter.cc', |
| 60 | 'converter/rgba_to_i420_converter.cc', |
| 61 | ], |
| 62 | }, # rgba_to_i420_converter |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 63 | { |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 64 | 'target_name': 'frame_editing_lib', |
wjia@webrtc.org | 0a7fc8d | 2013-01-18 17:13:47 +0000 | [diff] [blame] | 65 | 'type': 'static_library', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 66 | 'dependencies': [ |
andrew@webrtc.org | ad2a55a | 2012-11-30 02:28:27 +0000 | [diff] [blame] | 67 | '<(webrtc_root)/common_video/common_video.gyp:common_video', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 68 | ], |
| 69 | 'sources': [ |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 70 | 'frame_editing/frame_editing_lib.cc', |
| 71 | 'frame_editing/frame_editing_lib.h', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 72 | ], |
kjellander@webrtc.org | 1e7f77a | 2013-02-04 10:07:17 +0000 | [diff] [blame] | 73 | # Disable warnings to enable Win64 build, issue 1323. |
| 74 | 'msvs_disabled_warnings': [ |
| 75 | 4267, # size_t to int truncation. |
| 76 | ], |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 77 | }, # frame_editing_lib |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 78 | { |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 79 | 'target_name': 'frame_editor', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 80 | 'type': 'executable', |
| 81 | 'dependencies': [ |
phoglund@webrtc.org | de93f2c | 2013-05-17 11:52:08 +0000 | [diff] [blame] | 82 | '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser', |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 83 | 'frame_editing_lib', |
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.cc', |
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 | }, # frame_editing |
phoglund@webrtc.org | de93f2c | 2013-05-17 11:52:08 +0000 | [diff] [blame] | 89 | { |
| 90 | 'target_name': 'force_mic_volume_max', |
| 91 | 'type': 'executable', |
| 92 | 'dependencies': [ |
andrew@webrtc.org | 5221d1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 93 | '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine', |
andresp@webrtc.org | 0b8a1c4 | 2014-05-14 12:24:04 +0000 | [diff] [blame] | 94 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:field_trial_default', |
phoglund@webrtc.org | de93f2c | 2013-05-17 11:52:08 +0000 | [diff] [blame] | 95 | ], |
| 96 | 'sources': [ |
| 97 | 'force_mic_volume_max/force_mic_volume_max.cc', |
| 98 | ], |
| 99 | }, # force_mic_volume_max |
andrew@webrtc.org | b015cbe | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 100 | ], |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 101 | 'conditions': [ |
| 102 | ['include_tests==1', { |
| 103 | 'targets' : [ |
| 104 | { |
kjellander@webrtc.org | 50edafc | 2013-10-21 08:40:56 +0000 | [diff] [blame] | 105 | 'target_name': 'audio_e2e_harness', |
| 106 | 'type': 'executable', |
| 107 | 'dependencies': [ |
| 108 | '<(webrtc_root)/test/test.gyp:channel_transport', |
| 109 | '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine', |
andresp@webrtc.org | 0b8a1c4 | 2014-05-14 12:24:04 +0000 | [diff] [blame] | 110 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:field_trial_default', |
kjellander@webrtc.org | 50edafc | 2013-10-21 08:40:56 +0000 | [diff] [blame] | 111 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 112 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
| 113 | ], |
| 114 | 'sources': [ |
| 115 | 'e2e_quality/audio/audio_e2e_harness.cc', |
| 116 | ], |
| 117 | }, # audio_e2e_harness |
| 118 | { |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 119 | 'target_name': 'tools_unittests', |
henrike@webrtc.org | acb00f5 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 120 | 'type': '<(gtest_target_type)', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 121 | 'dependencies': [ |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 122 | 'frame_editing_lib', |
kjellander@webrtc.org | 3524ade | 2013-09-10 12:10:01 +0000 | [diff] [blame] | 123 | 'video_quality_analysis', |
phoglund@webrtc.org | de93f2c | 2013-05-17 11:52:08 +0000 | [diff] [blame] | 124 | '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 125 | '<(webrtc_root)/test/test.gyp:test_support_main', |
| 126 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 127 | ], |
| 128 | 'sources': [ |
kjellander@webrtc.org | f6a2efa | 2013-01-26 16:36:40 +0000 | [diff] [blame] | 129 | 'simple_command_line_parser_unittest.cc', |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 130 | 'frame_editing/frame_editing_unittest.cc', |
kjellander@webrtc.org | 3524ade | 2013-09-10 12:10:01 +0000 | [diff] [blame] | 131 | 'frame_analyzer/video_quality_analysis_unittest.cc', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 132 | ], |
kjellander@webrtc.org | 1e7f77a | 2013-02-04 10:07:17 +0000 | [diff] [blame] | 133 | # Disable warnings to enable Win64 build, issue 1323. |
| 134 | 'msvs_disabled_warnings': [ |
| 135 | 4267, # size_t to int truncation. |
| 136 | ], |
henrike@webrtc.org | acb00f5 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 137 | 'conditions': [ |
| 138 | # TODO(henrike): remove build_with_chromium==1 when the bots are |
| 139 | # using Chromium's buildbots. |
henrike@webrtc.org | 00d9c49 | 2014-06-04 20:46:50 +0000 | [diff] [blame] | 140 | ['build_with_chromium==1 and OS=="android"', { |
henrike@webrtc.org | acb00f5 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 141 | 'dependencies': [ |
| 142 | '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
| 143 | ], |
| 144 | }], |
| 145 | ], |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 146 | }, # tools_unittests |
| 147 | ], # targets |
henrike@webrtc.org | acb00f5 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 148 | # TODO(henrike): remove build_with_chromium==1 when the bots are using |
| 149 | # Chromium's buildbots. |
| 150 | 'conditions': [ |
henrike@webrtc.org | 00d9c49 | 2014-06-04 20:46:50 +0000 | [diff] [blame] | 151 | ['build_with_chromium==1 and OS=="android"', { |
henrike@webrtc.org | acb00f5 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 152 | 'targets': [ |
| 153 | { |
| 154 | 'target_name': 'tools_unittests_apk_target', |
| 155 | 'type': 'none', |
| 156 | 'dependencies': [ |
| 157 | '<(apk_tests_path):tools_unittests_apk', |
| 158 | ], |
| 159 | }, |
| 160 | ], |
| 161 | }], |
kjellander@webrtc.org | 3540c82 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 162 | ['test_isolation_mode != "noop"', { |
| 163 | 'targets': [ |
| 164 | { |
| 165 | 'target_name': 'tools_unittests_run', |
| 166 | 'type': 'none', |
| 167 | 'dependencies': [ |
kjellander@webrtc.org | 3540c82 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 168 | 'tools_unittests', |
| 169 | ], |
| 170 | 'includes': [ |
kjellander@webrtc.org | 22a2893 | 2013-10-02 19:31:16 +0000 | [diff] [blame] | 171 | '../build/isolate.gypi', |
kjellander@webrtc.org | 3540c82 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 172 | 'tools_unittests.isolate', |
| 173 | ], |
| 174 | 'sources': [ |
| 175 | 'tools_unittests.isolate', |
| 176 | ], |
| 177 | }, |
| 178 | ], |
| 179 | }], |
henrike@webrtc.org | acb00f5 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 180 | ], |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 181 | }], # include_tests |
| 182 | ], # conditions |
wjia@webrtc.org | 0a7fc8d | 2013-01-18 17:13:47 +0000 | [diff] [blame] | 183 | } |