| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2013 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': ['../build/common.gypi'], | |
| 11 'targets': [ | |
| 12 { | |
| 13 'target_name': 'common_video_unittests', | |
| 14 'type': '<(gtest_target_type)', | |
| 15 'dependencies': [ | |
| 16 '<(webrtc_root)/common_video/common_video.gyp:common_video', | |
| 17 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 18 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | |
| 19 '<(webrtc_root)/test/test.gyp:test_support_main', | |
| 20 '<(webrtc_root)/test/test.gyp:video_test_common', | |
| 21 ], | |
| 22 'sources': [ | |
| 23 'bitrate_adjuster_unittest.cc', | |
| 24 'h264/pps_parser_unittest.cc', | |
| 25 'h264/sps_parser_unittest.cc', | |
| 26 'h264/sps_vui_rewriter_unittest.cc', | |
| 27 'i420_buffer_pool_unittest.cc', | |
| 28 'i420_video_frame_unittest.cc', | |
| 29 'libyuv/libyuv_unittest.cc', | |
| 30 ], | |
| 31 # Disable warnings to enable Win64 build, issue 1323. | |
| 32 'msvs_disabled_warnings': [ | |
| 33 4267, # size_t to int truncation. | |
| 34 ], | |
| 35 'conditions': [ | |
| 36 ['OS=="android"', { | |
| 37 'dependencies': [ | |
| 38 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | |
| 39 ], | |
| 40 }], | |
| 41 ['OS=="ios"', { | |
| 42 'mac_bundle_resources': [ | |
| 43 '<(DEPTH)/resources/foreman_cif.yuv', | |
| 44 ], | |
| 45 }], | |
| 46 ], | |
| 47 }, | |
| 48 ], # targets | |
| 49 'conditions': [ | |
| 50 ['OS=="android"', { | |
| 51 'targets': [ | |
| 52 { | |
| 53 'target_name': 'common_video_unittests_apk_target', | |
| 54 'type': 'none', | |
| 55 'dependencies': [ | |
| 56 '<(android_tests_path):common_video_unittests_apk', | |
| 57 ], | |
| 58 }, | |
| 59 ], | |
| 60 'conditions': [ | |
| 61 ['test_isolation_mode != "noop"', | |
| 62 { | |
| 63 'targets': [ | |
| 64 { | |
| 65 'target_name': 'common_video_unittests_apk_run', | |
| 66 'type': 'none', | |
| 67 'dependencies': [ | |
| 68 '<(android_tests_path):common_video_unittests_apk', | |
| 69 ], | |
| 70 'includes': [ | |
| 71 '../build/isolate.gypi', | |
| 72 ], | |
| 73 'sources': [ | |
| 74 'common_video_unittests_apk.isolate', | |
| 75 ], | |
| 76 }, | |
| 77 ], | |
| 78 }, | |
| 79 ], | |
| 80 ], | |
| 81 }], # OS=="android" | |
| 82 ['test_isolation_mode != "noop"', { | |
| 83 'targets': [ | |
| 84 { | |
| 85 'target_name': 'common_video_unittests_run', | |
| 86 'type': 'none', | |
| 87 'dependencies': [ | |
| 88 'common_video_unittests', | |
| 89 ], | |
| 90 'includes': [ | |
| 91 '../build/isolate.gypi', | |
| 92 ], | |
| 93 'sources': [ | |
| 94 'common_video_unittests.isolate', | |
| 95 ], | |
| 96 }, | |
| 97 ], | |
| 98 }], | |
| 99 ], | |
| 100 } | |
| OLD | NEW |