OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
(...skipping 10 matching lines...) Expand all Loading... |
21 "include/cpu_features_wrapper.h", | 21 "include/cpu_features_wrapper.h", |
22 "include/cpu_info.h", | 22 "include/cpu_info.h", |
23 "include/critical_section_wrapper.h", | 23 "include/critical_section_wrapper.h", |
24 "include/event_wrapper.h", | 24 "include/event_wrapper.h", |
25 "include/field_trial.h", | 25 "include/field_trial.h", |
26 "include/file_wrapper.h", | 26 "include/file_wrapper.h", |
27 "include/fix_interlocked_exchange_pointer_win.h", | 27 "include/fix_interlocked_exchange_pointer_win.h", |
28 "include/logging.h", | 28 "include/logging.h", |
29 "include/metrics.h", | 29 "include/metrics.h", |
30 "include/ntp_time.h", | 30 "include/ntp_time.h", |
31 "include/rtp_to_ntp.h", | 31 "include/rtp_to_ntp_estimator.h", |
32 "include/rw_lock_wrapper.h", | 32 "include/rw_lock_wrapper.h", |
33 "include/sleep.h", | 33 "include/sleep.h", |
34 "include/static_instance.h", | 34 "include/static_instance.h", |
35 "include/stringize_macros.h", | 35 "include/stringize_macros.h", |
36 "include/timestamp_extrapolator.h", | 36 "include/timestamp_extrapolator.h", |
37 "include/trace.h", | 37 "include/trace.h", |
38 "include/utf_util_win.h", | 38 "include/utf_util_win.h", |
39 "source/aligned_malloc.cc", | 39 "source/aligned_malloc.cc", |
40 "source/atomic32_win.cc", | 40 "source/atomic32_win.cc", |
41 "source/clock.cc", | 41 "source/clock.cc", |
42 "source/condition_variable_event_win.cc", | 42 "source/condition_variable_event_win.cc", |
43 "source/condition_variable_event_win.h", | 43 "source/condition_variable_event_win.h", |
44 "source/cpu_features.cc", | 44 "source/cpu_features.cc", |
45 "source/cpu_info.cc", | 45 "source/cpu_info.cc", |
46 "source/event.cc", | 46 "source/event.cc", |
47 "source/event_timer_posix.cc", | 47 "source/event_timer_posix.cc", |
48 "source/event_timer_posix.h", | 48 "source/event_timer_posix.h", |
49 "source/event_timer_win.cc", | 49 "source/event_timer_win.cc", |
50 "source/event_timer_win.h", | 50 "source/event_timer_win.h", |
51 "source/file_impl.cc", | 51 "source/file_impl.cc", |
52 "source/logging.cc", | 52 "source/logging.cc", |
53 "source/rtp_to_ntp.cc", | 53 "source/rtp_to_ntp_estimator.cc", |
54 "source/rw_lock.cc", | 54 "source/rw_lock.cc", |
55 "source/rw_lock_posix.cc", | 55 "source/rw_lock_posix.cc", |
56 "source/rw_lock_posix.h", | 56 "source/rw_lock_posix.h", |
57 "source/rw_lock_win.cc", | 57 "source/rw_lock_win.cc", |
58 "source/rw_lock_win.h", | 58 "source/rw_lock_win.h", |
59 "source/rw_lock_winxp_win.cc", | 59 "source/rw_lock_winxp_win.cc", |
60 "source/rw_lock_winxp_win.h", | 60 "source/rw_lock_winxp_win.h", |
61 "source/sleep.cc", | 61 "source/sleep.cc", |
62 "source/timestamp_extrapolator.cc", | 62 "source/timestamp_extrapolator.cc", |
63 "source/trace_impl.cc", | 63 "source/trace_impl.cc", |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 "source/aligned_array_unittest.cc", | 172 "source/aligned_array_unittest.cc", |
173 "source/aligned_malloc_unittest.cc", | 173 "source/aligned_malloc_unittest.cc", |
174 "source/clock_unittest.cc", | 174 "source/clock_unittest.cc", |
175 "source/condition_variable_unittest.cc", | 175 "source/condition_variable_unittest.cc", |
176 "source/critical_section_unittest.cc", | 176 "source/critical_section_unittest.cc", |
177 "source/event_timer_posix_unittest.cc", | 177 "source/event_timer_posix_unittest.cc", |
178 "source/logging_unittest.cc", | 178 "source/logging_unittest.cc", |
179 "source/metrics_default_unittest.cc", | 179 "source/metrics_default_unittest.cc", |
180 "source/metrics_unittest.cc", | 180 "source/metrics_unittest.cc", |
181 "source/ntp_time_unittest.cc", | 181 "source/ntp_time_unittest.cc", |
182 "source/rtp_to_ntp_unittest.cc", | 182 "source/rtp_to_ntp_estimator_unittest.cc", |
183 "source/stringize_macros_unittest.cc", | 183 "source/stringize_macros_unittest.cc", |
184 ] | 184 ] |
185 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 185 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
186 | 186 |
187 if (!build_with_chromium && is_clang) { | 187 if (!build_with_chromium && is_clang) { |
188 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 188 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
189 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 189 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
190 } | 190 } |
191 | 191 |
192 deps = [ | 192 deps = [ |
193 ":metrics_default", | 193 ":metrics_default", |
194 ":system_wrappers", | 194 ":system_wrappers", |
195 "../test:test_main", | 195 "../test:test_main", |
196 "//testing/gtest", | 196 "//testing/gtest", |
197 ] | 197 ] |
198 | 198 |
199 if (is_android) { | 199 if (is_android) { |
200 deps += [ "//testing/android/native_test:native_test_support" ] | 200 deps += [ "//testing/android/native_test:native_test_support" ] |
201 | 201 |
202 shard_timeout = 900 | 202 shard_timeout = 900 |
203 } | 203 } |
204 } | 204 } |
205 } | 205 } |
OLD | NEW |