| OLD | NEW |
| 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 { | 9 { |
| 10 'includes': [ | 10 'includes': [ |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 'event_log_visualizer/plot_python.cc', | 135 'event_log_visualizer/plot_python.cc', |
| 136 'event_log_visualizer/plot_python.h', | 136 'event_log_visualizer/plot_python.h', |
| 137 ], | 137 ], |
| 138 'export_dependent_settings': [ | 138 'export_dependent_settings': [ |
| 139 '<(webrtc_root)/webrtc.gyp:rtc_event_log_parser', | 139 '<(webrtc_root)/webrtc.gyp:rtc_event_log_parser', |
| 140 ':chart_proto', | 140 ':chart_proto', |
| 141 ], | 141 ], |
| 142 }, | 142 }, |
| 143 ], | 143 ], |
| 144 }], | 144 }], |
| 145 ['enable_protobuf==1 and include_tests==1', { | |
| 146 # TODO(terelius): This tool requires the include_test condition to | |
| 147 # prevent build errors when gflags isn't found in downstream projects. | |
| 148 # There should be a cleaner way to do this. The tool is not test related. | |
| 149 'targets': [ | |
| 150 { | |
| 151 # Command line tool for RTC event log visualization | |
| 152 'target_name': 'event_log_visualizer', | |
| 153 'type': 'executable', | |
| 154 'dependencies': [ | |
| 155 'event_log_visualizer_utils', | |
| 156 '<(webrtc_root)/test/test.gyp:field_trial', | |
| 157 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 158 ], | |
| 159 'sources': [ | |
| 160 'event_log_visualizer/main.cc', | |
| 161 ], | |
| 162 }, | |
| 163 ], | |
| 164 }], | |
| 165 ['include_tests==1', { | |
| 166 'targets' : [ | |
| 167 { | |
| 168 'target_name': 'activity_metric', | |
| 169 'type': 'executable', | |
| 170 'dependencies': [ | |
| 171 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 172 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 173 '<(webrtc_root)/modules/modules.gyp:audio_processing', | |
| 174 ], | |
| 175 'sources': [ | |
| 176 'agc/activity_metric.cc', | |
| 177 ], | |
| 178 }, # activity_metric | |
| 179 { | |
| 180 'target_name': 'tools_unittests', | |
| 181 'type': '<(gtest_target_type)', | |
| 182 'dependencies': [ | |
| 183 'frame_editing_lib', | |
| 184 'video_quality_analysis', | |
| 185 '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser', | |
| 186 '<(webrtc_root)/test/test.gyp:test_support_main', | |
| 187 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 188 ], | |
| 189 'sources': [ | |
| 190 'simple_command_line_parser_unittest.cc', | |
| 191 'frame_editing/frame_editing_unittest.cc', | |
| 192 'frame_analyzer/video_quality_analysis_unittest.cc', | |
| 193 ], | |
| 194 # Disable warnings to enable Win64 build, issue 1323. | |
| 195 'msvs_disabled_warnings': [ | |
| 196 4267, # size_t to int truncation. | |
| 197 ], | |
| 198 'conditions': [ | |
| 199 ['OS=="android"', { | |
| 200 'dependencies': [ | |
| 201 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_cod
e', | |
| 202 ], | |
| 203 }], | |
| 204 ], | |
| 205 }, # tools_unittests | |
| 206 { | |
| 207 'target_name': 'rtp_analyzer', | |
| 208 'type': 'none', | |
| 209 'variables': { | |
| 210 'copy_output_dir%': '<(PRODUCT_DIR)', | |
| 211 }, | |
| 212 'copies': [ | |
| 213 { | |
| 214 'destination': '<(copy_output_dir)/', | |
| 215 'files': [ | |
| 216 'py_event_log_analyzer/misc.py', | |
| 217 'py_event_log_analyzer/pb_parse.py', | |
| 218 'py_event_log_analyzer/rtp_analyzer.py', | |
| 219 'py_event_log_analyzer/rtp_analyzer.sh', | |
| 220 ] | |
| 221 }, | |
| 222 ], | |
| 223 'dependencies': [ '<(webrtc_root)/webrtc.gyp:rtc_event_log_proto' ], | |
| 224 'process_outputs_as_sources': 1, | |
| 225 }, # rtp_analyzer | |
| 226 ], # targets | |
| 227 'conditions': [ | |
| 228 ['OS=="android"', { | |
| 229 'targets': [ | |
| 230 { | |
| 231 'target_name': 'tools_unittests_apk_target', | |
| 232 'type': 'none', | |
| 233 'dependencies': [ | |
| 234 '<(android_tests_path):tools_unittests_apk', | |
| 235 ], | |
| 236 }, | |
| 237 ], | |
| 238 'conditions': [ | |
| 239 ['test_isolation_mode != "noop"', | |
| 240 { | |
| 241 'targets': [ | |
| 242 { | |
| 243 'target_name': 'tools_unittests_apk_run', | |
| 244 'type': 'none', | |
| 245 'dependencies': [ | |
| 246 '<(android_tests_path):tools_unittests_apk', | |
| 247 ], | |
| 248 'includes': [ | |
| 249 '../build/isolate.gypi', | |
| 250 ], | |
| 251 'sources': [ | |
| 252 'tools_unittests_apk.isolate', | |
| 253 ], | |
| 254 }, | |
| 255 ], | |
| 256 }, | |
| 257 ], | |
| 258 ], | |
| 259 }], | |
| 260 ['test_isolation_mode != "noop"', { | |
| 261 'targets': [ | |
| 262 { | |
| 263 'target_name': 'tools_unittests_run', | |
| 264 'type': 'none', | |
| 265 'dependencies': [ | |
| 266 'tools_unittests', | |
| 267 ], | |
| 268 'includes': [ | |
| 269 '../build/isolate.gypi', | |
| 270 ], | |
| 271 'sources': [ | |
| 272 'tools_unittests.isolate', | |
| 273 ], | |
| 274 }, | |
| 275 ], | |
| 276 }], | |
| 277 ], | |
| 278 }], # include_tests | |
| 279 ], # conditions | 145 ], # conditions |
| 280 } | 146 } |
| OLD | NEW |