blob: fd1db254010b33784c18f087c3468c4cafe26f8b [file] [log] [blame]
andrew@webrtc.orgc1ffd332013-03-22 17:13:23 +00001# 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': 'executable',
15 'dependencies': [
16 '<(DEPTH)/testing/gtest.gyp:gtest',
17 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
18 '<(webrtc_root)/test/test.gyp:test_support_main',
19 ],
20 'sources': [
21 'aligned_malloc_unittest.cc',
22 'condition_variable_unittest.cc',
andrew@webrtc.orgc1ffd332013-03-22 17:13:23 +000023 'critical_section_unittest.cc',
24 'event_tracer_unittest.cc',
25 'list_unittest.cc',
26 'logging_unittest.cc',
27 'map_unittest.cc',
28 'data_log_unittest.cc',
29 'data_log_unittest_disabled.cc',
30 'data_log_helpers_unittest.cc',
31 'data_log_c_helpers_unittest.c',
32 'data_log_c_helpers_unittest.h',
33 'stringize_macros_unittest.cc',
34 'thread_unittest.cc',
35 'thread_posix_unittest.cc',
andrew@webrtc.orgc1ffd332013-03-22 17:13:23 +000036 'unittest_utilities_unittest.cc',
37 ],
38 'conditions': [
39 ['enable_data_logging==1', {
40 'sources!': [ 'data_log_unittest_disabled.cc', ],
41 }, {
42 'sources!': [ 'data_log_unittest.cc', ],
43 }],
44 ['os_posix==0', {
45 'sources!': [ 'thread_posix_unittest.cc', ],
46 }],
47 ],
48 # Disable warnings to enable Win64 build, issue 1323.
49 'msvs_disabled_warnings': [
50 4267, # size_t to int truncation.
51 ],
52 },
53 ],
54}
55