| 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': 'system_wrappers_unittests', | |
| 14 'type': '<(gtest_target_type)', | |
| 15 'dependencies': [ | |
| 16 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 17 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default', | |
| 18 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | |
| 19 '<(webrtc_root)/test/test.gyp:test_support_main', | |
| 20 ], | |
| 21 'sources': [ | |
| 22 'source/aligned_array_unittest.cc', | |
| 23 'source/aligned_malloc_unittest.cc', | |
| 24 'source/clock_unittest.cc', | |
| 25 'source/condition_variable_unittest.cc', | |
| 26 'source/critical_section_unittest.cc', | |
| 27 'source/logging_unittest.cc', | |
| 28 'source/data_log_helpers_unittest.cc', | |
| 29 'source/data_log_c_helpers_unittest.c', | |
| 30 'source/data_log_c_helpers_unittest.h', | |
| 31 'source/event_timer_posix_unittest.cc', | |
| 32 'source/metrics_default_unittest.cc', | |
| 33 'source/metrics_unittest.cc', | |
| 34 'source/ntp_time_unittest.cc', | |
| 35 'source/rtp_to_ntp_unittest.cc', | |
| 36 'source/stringize_macros_unittest.cc', | |
| 37 'source/stl_util_unittest.cc', | |
| 38 ], | |
| 39 'conditions': [ | |
| 40 ['enable_data_logging==1', { | |
| 41 'sources': [ 'source/data_log_unittest.cc', ], | |
| 42 }, { | |
| 43 'sources': [ 'source/data_log_unittest_disabled.cc', ], | |
| 44 }], | |
| 45 ['OS=="android"', { | |
| 46 'dependencies': [ | |
| 47 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | |
| 48 ], | |
| 49 }], | |
| 50 ], | |
| 51 # Disable warnings to enable Win64 build, issue 1323. | |
| 52 'msvs_disabled_warnings': [ | |
| 53 4267, # size_t to int truncation. | |
| 54 ], | |
| 55 }, | |
| 56 ], | |
| 57 'conditions': [ | |
| 58 ['OS=="android"', { | |
| 59 'targets': [ | |
| 60 { | |
| 61 'target_name': 'system_wrappers_unittests_apk_target', | |
| 62 'type': 'none', | |
| 63 'dependencies': [ | |
| 64 '<(android_tests_path):system_wrappers_unittests_apk', | |
| 65 ], | |
| 66 }, | |
| 67 ], | |
| 68 'conditions': [ | |
| 69 ['test_isolation_mode != "noop"', | |
| 70 { | |
| 71 'targets': [ | |
| 72 { | |
| 73 'target_name': 'system_wrappers_unittests_apk_run', | |
| 74 'type': 'none', | |
| 75 'dependencies': [ | |
| 76 '<(android_tests_path):system_wrappers_unittests_apk', | |
| 77 ], | |
| 78 'includes': [ | |
| 79 '../build/isolate.gypi', | |
| 80 ], | |
| 81 'sources': [ | |
| 82 'system_wrappers_unittests_apk.isolate', | |
| 83 ], | |
| 84 }, | |
| 85 ], | |
| 86 }, | |
| 87 ], | |
| 88 ], | |
| 89 }], # OS=="android" | |
| 90 ['test_isolation_mode != "noop"', { | |
| 91 'targets': [ | |
| 92 { | |
| 93 'target_name': 'system_wrappers_unittests_run', | |
| 94 'type': 'none', | |
| 95 'dependencies': [ | |
| 96 'system_wrappers_unittests', | |
| 97 ], | |
| 98 'includes': [ | |
| 99 '../build/isolate.gypi', | |
| 100 ], | |
| 101 'sources': [ | |
| 102 'system_wrappers_unittests.isolate', | |
| 103 ], | |
| 104 }, | |
| 105 ], | |
| 106 }], | |
| 107 ], | |
| 108 } | |
| 109 | |
| OLD | NEW |