OLD | NEW |
1 # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2013 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 'includes': [ '../build/common.gypi', ], | 9 'includes': [ '../build/common.gypi', ], |
10 'targets': [ | 10 'targets': [ |
(...skipping 22 matching lines...) Expand all Loading... |
33 ], | 33 ], |
34 'direct_dependent_settings': { | 34 'direct_dependent_settings': { |
35 'defines': [ | 35 'defines': [ |
36 'GTEST_RELATIVE_PATH', | 36 'GTEST_RELATIVE_PATH', |
37 ], | 37 ], |
38 }, | 38 }, |
39 'export_dependent_settings': [ | 39 'export_dependent_settings': [ |
40 '<(DEPTH)/testing/gtest.gyp:gtest', | 40 '<(DEPTH)/testing/gtest.gyp:gtest', |
41 ], | 41 ], |
42 }, | 42 }, |
43 { | |
44 'target_name': 'rtc_base_tests', | |
45 'type': 'none', | |
46 'direct_dependent_settings': { | |
47 'sources': [ | |
48 'array_view_unittest.cc', | |
49 'atomicops_unittest.cc', | |
50 'autodetectproxy_unittest.cc', | |
51 'bandwidthsmoother_unittest.cc', | |
52 'base64_unittest.cc', | |
53 'basictypes_unittest.cc', | |
54 'bind_unittest.cc', | |
55 'bitbuffer_unittest.cc', | |
56 'buffer_unittest.cc', | |
57 'bufferqueue_unittest.cc', | |
58 'bytebuffer_unittest.cc', | |
59 'byteorder_unittest.cc', | |
60 'callback_unittest.cc', | |
61 'copyonwritebuffer_unittest.cc', | |
62 'crc32_unittest.cc', | |
63 'criticalsection_unittest.cc', | |
64 'event_tracer_unittest.cc', | |
65 'event_unittest.cc', | |
66 'exp_filter_unittest.cc', | |
67 'fakeclock.cc', | |
68 'fakeclock.h', | |
69 'filerotatingstream_unittest.cc', | |
70 'fileutils_unittest.cc', | |
71 'helpers_unittest.cc', | |
72 'httpbase_unittest.cc', | |
73 'httpcommon_unittest.cc', | |
74 'httpserver_unittest.cc', | |
75 'ipaddress_unittest.cc', | |
76 'logging_unittest.cc', | |
77 'md5digest_unittest.cc', | |
78 'messagedigest_unittest.cc', | |
79 'messagequeue_unittest.cc', | |
80 'mod_ops_unittest.cc', | |
81 'multipart_unittest.cc', | |
82 'nat_unittest.cc', | |
83 'network_unittest.cc', | |
84 'onetimeevent_unittest.cc', | |
85 'optional_unittest.cc', | |
86 'optionsfile_unittest.cc', | |
87 'pathutils_unittest.cc', | |
88 'platform_thread_unittest.cc', | |
89 'profiler_unittest.cc', | |
90 'proxy_unittest.cc', | |
91 'proxydetect_unittest.cc', | |
92 'random_unittest.cc', | |
93 'rate_statistics_unittest.cc', | |
94 'ratelimiter_unittest.cc', | |
95 'ratetracker_unittest.cc', | |
96 'referencecountedsingletonfactory_unittest.cc', | |
97 'rollingaccumulator_unittest.cc', | |
98 'rtccertificate_unittest.cc', | |
99 'rtccertificategenerator_unittest.cc', | |
100 'scopedptrcollection_unittest.cc', | |
101 'sha1digest_unittest.cc', | |
102 'sharedexclusivelock_unittest.cc', | |
103 'signalthread_unittest.cc', | |
104 'sigslot_unittest.cc', | |
105 'sigslottester.h', | |
106 'sigslottester.h.pump', | |
107 'stream_unittest.cc', | |
108 'stringencode_unittest.cc', | |
109 'stringutils_unittest.cc', | |
110 'swap_queue_unittest.cc', | |
111 # TODO(ronghuawu): Reenable this test. | |
112 # 'systeminfo_unittest.cc', | |
113 'task_queue_unittest.cc', | |
114 'task_unittest.cc', | |
115 'testclient_unittest.cc', | |
116 'thread_checker_unittest.cc', | |
117 'thread_unittest.cc', | |
118 'timedelta.h', | |
119 'timeutils_unittest.cc', | |
120 'urlencode_unittest.cc', | |
121 'versionparsing_unittest.cc', | |
122 # TODO(ronghuawu): Reenable this test. | |
123 # 'windowpicker_unittest.cc', | |
124 ], | |
125 'conditions': [ | |
126 ['OS=="linux"', { | |
127 'sources': [ | |
128 'latebindingsymboltable_unittest.cc', | |
129 # TODO(ronghuawu): Reenable this test. | |
130 # 'linux_unittest.cc', | |
131 'linuxfdwalk_unittest.cc', | |
132 ], | |
133 }], | |
134 ['OS=="win"', { | |
135 'sources': [ | |
136 'win32_unittest.cc', | |
137 'win32regkey_unittest.cc', | |
138 'win32window_unittest.cc', | |
139 'win32windowpicker_unittest.cc', | |
140 'winfirewall_unittest.cc', | |
141 ], | |
142 'sources!': [ | |
143 # TODO(pbos): Reenable this test. | |
144 'win32windowpicker_unittest.cc', | |
145 ], | |
146 }], | |
147 ['OS=="win" and clang==1', { | |
148 'msvs_settings': { | |
149 'VCCLCompilerTool': { | |
150 'AdditionalOptions': [ | |
151 # Disable warnings failing when compiling with Clang on Window
s. | |
152 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 | |
153 '-Wno-missing-braces', | |
154 '-Wno-sign-compare', | |
155 '-Wno-unused-const-variable', | |
156 ], | |
157 }, | |
158 }, | |
159 }], | |
160 ['OS=="mac"', { | |
161 'sources': [ | |
162 'macutils_unittest.cc', | |
163 ], | |
164 }], | |
165 ['os_posix==1', { | |
166 'sources': [ | |
167 'ssladapter_unittest.cc', | |
168 'sslidentity_unittest.cc', | |
169 'sslstreamadapter_unittest.cc', | |
170 ], | |
171 }], | |
172 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', { | |
173 'defines': [ | |
174 'CARBON_DEPRECATED=YES', | |
175 ], | |
176 }], | |
177 ], # conditions | |
178 }, | |
179 }, | |
180 ], | 43 ], |
181 } | 44 } |
OLD | NEW |