| OLD | NEW |
| 1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2011 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 # TODO(andrew): consider moving test_support to src/base/test. | 9 # TODO(andrew): consider moving test_support to src/base/test. |
| 10 { | 10 { |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 'type': 'static_library', | 143 'type': 'static_library', |
| 144 'dependencies': [ | 144 'dependencies': [ |
| 145 'test_support', | 145 'test_support', |
| 146 ], | 146 ], |
| 147 'sources': [ | 147 'sources': [ |
| 148 'testsupport/mac/run_threaded_main_mac.h', | 148 'testsupport/mac/run_threaded_main_mac.h', |
| 149 'testsupport/mac/run_threaded_main_mac.mm', | 149 'testsupport/mac/run_threaded_main_mac.mm', |
| 150 ], | 150 ], |
| 151 }, | 151 }, |
| 152 { | 152 { |
| 153 'target_name': 'test_support_unittests', | |
| 154 'type': '<(gtest_target_type)', | |
| 155 'dependencies': [ | |
| 156 'test_common', | |
| 157 'test_support_main', | |
| 158 '<(webrtc_root)/modules/modules.gyp:video_capture', | |
| 159 '<(DEPTH)/testing/gmock.gyp:gmock', | |
| 160 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 161 ], | |
| 162 'sources': [ | |
| 163 'fake_network_pipe_unittest.cc', | |
| 164 'frame_generator_unittest.cc', | |
| 165 'rtp_file_reader_unittest.cc', | |
| 166 'rtp_file_writer_unittest.cc', | |
| 167 'testsupport/always_passing_unittest.cc', | |
| 168 'testsupport/unittest_utils.h', | |
| 169 'testsupport/fileutils_unittest.cc', | |
| 170 'testsupport/frame_reader_unittest.cc', | |
| 171 'testsupport/frame_writer_unittest.cc', | |
| 172 'testsupport/metrics/video_metrics_unittest.cc', | |
| 173 'testsupport/packet_reader_unittest.cc', | |
| 174 'testsupport/perf_test_unittest.cc', | |
| 175 ], | |
| 176 # Disable warnings to enable Win64 build, issue 1323. | |
| 177 'msvs_disabled_warnings': [ | |
| 178 4267, # size_t to int truncation. | |
| 179 ], | |
| 180 'conditions': [ | |
| 181 ['OS=="android"', { | |
| 182 'dependencies': [ | |
| 183 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | |
| 184 ], | |
| 185 }], | |
| 186 ], | |
| 187 }, | |
| 188 { | |
| 189 'target_name': 'test_common', | 153 'target_name': 'test_common', |
| 190 'type': 'static_library', | 154 'type': 'static_library', |
| 191 'sources': [ | 155 'sources': [ |
| 192 'call_test.cc', | 156 'call_test.cc', |
| 193 'call_test.h', | 157 'call_test.h', |
| 194 'configurable_frame_size_encoder.cc', | 158 'configurable_frame_size_encoder.cc', |
| 195 'configurable_frame_size_encoder.h', | 159 'configurable_frame_size_encoder.h', |
| 196 'constants.cc', | 160 'constants.cc', |
| 197 'constants.h', | 161 'constants.h', |
| 198 'direct_transport.cc', | 162 'direct_transport.cc', |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 '-framework Cocoa', | 283 '-framework Cocoa', |
| 320 '-framework OpenGL', | 284 '-framework OpenGL', |
| 321 '-framework CoreVideo', | 285 '-framework CoreVideo', |
| 322 ], | 286 ], |
| 323 }, | 287 }, |
| 324 }], | 288 }], |
| 325 ], | 289 ], |
| 326 }, | 290 }, |
| 327 }, | 291 }, |
| 328 ], | 292 ], |
| 329 'conditions': [ | |
| 330 ['OS=="android"', { | |
| 331 'targets': [ | |
| 332 { | |
| 333 'target_name': 'test_support_unittests_apk_target', | |
| 334 'type': 'none', | |
| 335 'dependencies': [ | |
| 336 '<(android_tests_path):test_support_unittests_apk', | |
| 337 ], | |
| 338 }, | |
| 339 ], | |
| 340 'conditions': [ | |
| 341 ['test_isolation_mode != "noop"', | |
| 342 { | |
| 343 'targets': [ | |
| 344 { | |
| 345 'target_name': 'test_support_unittests_apk_run', | |
| 346 'type': 'none', | |
| 347 'dependencies': [ | |
| 348 '<(android_tests_path):test_support_unittests_apk', | |
| 349 ], | |
| 350 'includes': [ | |
| 351 '../build/isolate.gypi', | |
| 352 ], | |
| 353 'sources': [ | |
| 354 'test_support_unittests_apk.isolate', | |
| 355 ], | |
| 356 }, | |
| 357 ], | |
| 358 }, | |
| 359 ], | |
| 360 ], | |
| 361 }], # OS=="android" | |
| 362 ['test_isolation_mode != "noop"', { | |
| 363 'targets': [ | |
| 364 { | |
| 365 'target_name': 'test_support_unittests_run', | |
| 366 'type': 'none', | |
| 367 'dependencies': [ | |
| 368 'test_support_unittests', | |
| 369 ], | |
| 370 'includes': [ | |
| 371 '../build/isolate.gypi', | |
| 372 ], | |
| 373 'sources': [ | |
| 374 'test_support_unittests.isolate', | |
| 375 ], | |
| 376 }, | |
| 377 ], | |
| 378 }], | |
| 379 ], | |
| 380 } | 293 } |
| OLD | NEW |