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', |
henrike@webrtc.org | acb00f5 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 113 | 'type': '<(gtest_target_type)', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 114 | 'dependencies': [ |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 115 | 'frame_editing_lib', |
kjellander@webrtc.org | 3524ade | 2013-09-10 12:10:01 +0000 | [diff] [blame^] | 116 | 'video_quality_analysis', |
phoglund@webrtc.org | de93f2c | 2013-05-17 11:52:08 +0000 | [diff] [blame] | 117 | '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser', |
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': [ |
kjellander@webrtc.org | f6a2efa | 2013-01-26 16:36:40 +0000 | [diff] [blame] | 122 | 'simple_command_line_parser_unittest.cc', |
brykt@google.com | f8b1da2 | 2012-12-20 11:42:45 +0000 | [diff] [blame] | 123 | 'frame_editing/frame_editing_unittest.cc', |
kjellander@webrtc.org | 3524ade | 2013-09-10 12:10:01 +0000 | [diff] [blame^] | 124 | 'frame_analyzer/video_quality_analysis_unittest.cc', |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 125 | ], |
kjellander@webrtc.org | 1e7f77a | 2013-02-04 10:07:17 +0000 | [diff] [blame] | 126 | # Disable warnings to enable Win64 build, issue 1323. |
| 127 | 'msvs_disabled_warnings': [ |
| 128 | 4267, # size_t to int truncation. |
| 129 | ], |
henrike@webrtc.org | acb00f5 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 130 | 'conditions': [ |
| 131 | # TODO(henrike): remove build_with_chromium==1 when the bots are |
| 132 | # using Chromium's buildbots. |
| 133 | ['build_with_chromium==1 and OS=="android" and gtest_target_type=="shared_library"', { |
| 134 | 'dependencies': [ |
| 135 | '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
| 136 | ], |
| 137 | }], |
| 138 | ], |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 139 | }, # tools_unittests |
| 140 | ], # targets |
henrike@webrtc.org | acb00f5 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 141 | # TODO(henrike): remove build_with_chromium==1 when the bots are using |
| 142 | # Chromium's buildbots. |
| 143 | 'conditions': [ |
| 144 | ['build_with_chromium==1 and OS=="android" and gtest_target_type=="shared_library"', { |
| 145 | 'targets': [ |
| 146 | { |
| 147 | 'target_name': 'tools_unittests_apk_target', |
| 148 | 'type': 'none', |
| 149 | 'dependencies': [ |
| 150 | '<(apk_tests_path):tools_unittests_apk', |
| 151 | ], |
| 152 | }, |
| 153 | ], |
| 154 | }], |
kjellander@webrtc.org | 3540c82 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 155 | ['test_isolation_mode != "noop"', { |
| 156 | 'targets': [ |
| 157 | { |
| 158 | 'target_name': 'tools_unittests_run', |
| 159 | 'type': 'none', |
| 160 | 'dependencies': [ |
| 161 | '<(import_isolate_path):import_isolate_gypi', |
| 162 | 'tools_unittests', |
| 163 | ], |
| 164 | 'includes': [ |
| 165 | 'tools_unittests.isolate', |
| 166 | ], |
| 167 | 'sources': [ |
| 168 | 'tools_unittests.isolate', |
| 169 | ], |
| 170 | }, |
| 171 | ], |
| 172 | }], |
henrike@webrtc.org | acb00f5 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 173 | ], |
brykt@google.com | d9b18e9 | 2012-11-27 13:44:07 +0000 | [diff] [blame] | 174 | }], # include_tests |
| 175 | ], # conditions |
wjia@webrtc.org | 0a7fc8d | 2013-01-18 17:13:47 +0000 | [diff] [blame] | 176 | } |