Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: webrtc/system_wrappers/BUILD.gn

Issue 2790533002: Remove ALL usage of CriticalSectionWrapper. (Closed)
Patch Set: remove winXP rw_lock include Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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")
11 import("//build/config/android/rules.gni") 11 import("//build/config/android/rules.gni")
12 } 12 }
13 import("../webrtc.gni") 13 import("../webrtc.gni")
14 14
15 rtc_static_library("system_wrappers") { 15 rtc_static_library("system_wrappers") {
16 sources = [ 16 sources = [
17 "include/aligned_array.h", 17 "include/aligned_array.h",
18 "include/aligned_malloc.h", 18 "include/aligned_malloc.h",
19 "include/atomic32.h", 19 "include/atomic32.h",
20 "include/clock.h", 20 "include/clock.h",
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",
24 "include/event_wrapper.h", 23 "include/event_wrapper.h",
25 "include/field_trial.h", 24 "include/field_trial.h",
26 "include/file_wrapper.h", 25 "include/file_wrapper.h",
27 "include/fix_interlocked_exchange_pointer_win.h", 26 "include/fix_interlocked_exchange_pointer_win.h",
28 "include/logging.h", 27 "include/logging.h",
29 "include/metrics.h", 28 "include/metrics.h",
30 "include/ntp_time.h", 29 "include/ntp_time.h",
31 "include/rtp_to_ntp_estimator.h", 30 "include/rtp_to_ntp_estimator.h",
32 "include/rw_lock_wrapper.h", 31 "include/rw_lock_wrapper.h",
33 "include/sleep.h", 32 "include/sleep.h",
34 "include/static_instance.h", 33 "include/static_instance.h",
35 "include/stringize_macros.h", 34 "include/stringize_macros.h",
36 "include/timestamp_extrapolator.h", 35 "include/timestamp_extrapolator.h",
37 "include/trace.h", 36 "include/trace.h",
38 "source/aligned_malloc.cc", 37 "source/aligned_malloc.cc",
39 "source/atomic32_win.cc", 38 "source/atomic32_win.cc",
40 "source/clock.cc", 39 "source/clock.cc",
41 "source/condition_variable_event_win.cc",
42 "source/condition_variable_event_win.h",
43 "source/cpu_features.cc", 40 "source/cpu_features.cc",
44 "source/cpu_info.cc", 41 "source/cpu_info.cc",
45 "source/event.cc", 42 "source/event.cc",
46 "source/event_timer_posix.cc", 43 "source/event_timer_posix.cc",
47 "source/event_timer_posix.h", 44 "source/event_timer_posix.h",
48 "source/event_timer_win.cc", 45 "source/event_timer_win.cc",
49 "source/event_timer_win.h", 46 "source/event_timer_win.h",
50 "source/file_impl.cc", 47 "source/file_impl.cc",
51 "source/logging.cc", 48 "source/logging.cc",
52 "source/rtp_to_ntp_estimator.cc", 49 "source/rtp_to_ntp_estimator.cc",
53 "source/rw_lock.cc", 50 "source/rw_lock.cc",
54 "source/rw_lock_posix.cc", 51 "source/rw_lock_posix.cc",
55 "source/rw_lock_posix.h", 52 "source/rw_lock_posix.h",
56 "source/rw_lock_win.cc", 53 "source/rw_lock_win.cc",
57 "source/rw_lock_win.h", 54 "source/rw_lock_win.h",
58 "source/rw_lock_winxp_win.cc",
59 "source/rw_lock_winxp_win.h",
60 "source/sleep.cc", 55 "source/sleep.cc",
61 "source/timestamp_extrapolator.cc", 56 "source/timestamp_extrapolator.cc",
62 "source/trace_impl.cc", 57 "source/trace_impl.cc",
63 "source/trace_impl.h", 58 "source/trace_impl.h",
64 "source/trace_posix.cc", 59 "source/trace_posix.cc",
65 "source/trace_posix.h", 60 "source/trace_posix.h",
66 "source/trace_win.cc", 61 "source/trace_win.cc",
67 "source/trace_win.h", 62 "source/trace_win.h",
68 ] 63 ]
69 64
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 } 159 }
165 } 160 }
166 161
167 if (rtc_include_tests) { 162 if (rtc_include_tests) {
168 rtc_test("system_wrappers_unittests") { 163 rtc_test("system_wrappers_unittests") {
169 testonly = true 164 testonly = true
170 sources = [ 165 sources = [
171 "source/aligned_array_unittest.cc", 166 "source/aligned_array_unittest.cc",
172 "source/aligned_malloc_unittest.cc", 167 "source/aligned_malloc_unittest.cc",
173 "source/clock_unittest.cc", 168 "source/clock_unittest.cc",
174 "source/condition_variable_unittest.cc",
175 "source/critical_section_unittest.cc",
176 "source/event_timer_posix_unittest.cc", 169 "source/event_timer_posix_unittest.cc",
177 "source/logging_unittest.cc", 170 "source/logging_unittest.cc",
178 "source/metrics_default_unittest.cc", 171 "source/metrics_default_unittest.cc",
179 "source/metrics_unittest.cc", 172 "source/metrics_unittest.cc",
180 "source/ntp_time_unittest.cc", 173 "source/ntp_time_unittest.cc",
181 "source/rtp_to_ntp_estimator_unittest.cc", 174 "source/rtp_to_ntp_estimator_unittest.cc",
182 "source/stringize_macros_unittest.cc", 175 "source/stringize_macros_unittest.cc",
183 ] 176 ]
184 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 177 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
185 178
186 if (!build_with_chromium && is_clang) { 179 if (!build_with_chromium && is_clang) {
187 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 180 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
188 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 181 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
189 } 182 }
190 183
191 deps = [ 184 deps = [
192 ":metrics_default", 185 ":metrics_default",
193 ":system_wrappers", 186 ":system_wrappers",
194 "../test:test_main", 187 "../test:test_main",
195 "//testing/gtest", 188 "//testing/gtest",
196 ] 189 ]
197 190
198 if (is_android) { 191 if (is_android) {
199 deps += [ "//testing/android/native_test:native_test_support" ] 192 deps += [ "//testing/android/native_test:native_test_support" ]
200 193
201 shard_timeout = 900 194 shard_timeout = 900
202 } 195 }
203 } 196 }
204 } 197 }
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/jitter_buffer.cc ('k') | webrtc/system_wrappers/include/critical_section_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698