blob: 66939e99c4c28bf13c5efc2f2f5092f563bc6a3c [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',
23 'cpu_wrapper_unittest.cc',
24 'cpu_measurement_harness.h',
25 'cpu_measurement_harness.cc',
26 'critical_section_unittest.cc',
27 'event_tracer_unittest.cc',
28 'list_unittest.cc',
29 'logging_unittest.cc',
30 'map_unittest.cc',
31 'data_log_unittest.cc',
32 'data_log_unittest_disabled.cc',
33 'data_log_helpers_unittest.cc',
34 'data_log_c_helpers_unittest.c',
35 'data_log_c_helpers_unittest.h',
36 'stringize_macros_unittest.cc',
37 'thread_unittest.cc',
38 'thread_posix_unittest.cc',
39 'trace_unittest.cc',
40 'unittest_utilities_unittest.cc',
41 ],
42 'conditions': [
43 ['enable_data_logging==1', {
44 'sources!': [ 'data_log_unittest_disabled.cc', ],
45 }, {
46 'sources!': [ 'data_log_unittest.cc', ],
47 }],
48 ['os_posix==0', {
49 'sources!': [ 'thread_posix_unittest.cc', ],
50 }],
51 ],
52 # Disable warnings to enable Win64 build, issue 1323.
53 'msvs_disabled_warnings': [
54 4267, # size_t to int truncation.
55 ],
56 },
57 ],
58}
59