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

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

Issue 2840453004: Reland of Enable GN check for webrtc/base (Closed)
Patch Set: Rebasing again Created 3 years, 7 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
« no previous file with comments | « webrtc/modules/audio_coding/BUILD.gn ('k') | webrtc/system_wrappers/include/stringize_macros.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_info.h", 21 "include/cpu_info.h",
22 "include/event_wrapper.h", 22 "include/event_wrapper.h",
23 "include/file_wrapper.h", 23 "include/file_wrapper.h",
24 "include/fix_interlocked_exchange_pointer_win.h", 24 "include/fix_interlocked_exchange_pointer_win.h",
25 "include/ntp_time.h", 25 "include/ntp_time.h",
26 "include/rtp_to_ntp_estimator.h", 26 "include/rtp_to_ntp_estimator.h",
27 "include/rw_lock_wrapper.h", 27 "include/rw_lock_wrapper.h",
28 "include/sleep.h", 28 "include/sleep.h",
29 "include/static_instance.h", 29 "include/static_instance.h",
30 "include/stringize_macros.h",
31 "include/timestamp_extrapolator.h", 30 "include/timestamp_extrapolator.h",
32 "include/trace.h", 31 "include/trace.h",
33 "source/aligned_malloc.cc", 32 "source/aligned_malloc.cc",
34 "source/atomic32_win.cc", 33 "source/atomic32_win.cc",
35 "source/clock.cc", 34 "source/clock.cc",
36 "source/cpu_features.cc", 35 "source/cpu_features.cc",
37 "source/cpu_info.cc", 36 "source/cpu_info.cc",
38 "source/event.cc", 37 "source/event.cc",
39 "source/event_timer_posix.cc", 38 "source/event_timer_posix.cc",
40 "source/event_timer_posix.h", 39 "source/event_timer_posix.h",
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 testonly = true 203 testonly = true
205 sources = [ 204 sources = [
206 "source/aligned_array_unittest.cc", 205 "source/aligned_array_unittest.cc",
207 "source/aligned_malloc_unittest.cc", 206 "source/aligned_malloc_unittest.cc",
208 "source/clock_unittest.cc", 207 "source/clock_unittest.cc",
209 "source/event_timer_posix_unittest.cc", 208 "source/event_timer_posix_unittest.cc",
210 "source/metrics_default_unittest.cc", 209 "source/metrics_default_unittest.cc",
211 "source/metrics_unittest.cc", 210 "source/metrics_unittest.cc",
212 "source/ntp_time_unittest.cc", 211 "source/ntp_time_unittest.cc",
213 "source/rtp_to_ntp_estimator_unittest.cc", 212 "source/rtp_to_ntp_estimator_unittest.cc",
214 "source/stringize_macros_unittest.cc",
215 ] 213 ]
216 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 214 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
217 215
218 if (!build_with_chromium && is_clang) { 216 if (!build_with_chromium && is_clang) {
219 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 217 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
220 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 218 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
221 } 219 }
222 220
223 deps = [ 221 deps = [
224 ":metrics_default", 222 ":metrics_default",
225 ":system_wrappers", 223 ":system_wrappers",
226 "..:webrtc_common", 224 "..:webrtc_common",
227 "../base:rtc_base_approved", 225 "../base:rtc_base_approved",
228 "../test:test_main", 226 "../test:test_main",
229 "//testing/gtest", 227 "//testing/gtest",
230 ] 228 ]
231 229
232 if (is_android) { 230 if (is_android) {
233 deps += [ "//testing/android/native_test:native_test_support" ] 231 deps += [ "//testing/android/native_test:native_test_support" ]
234 232
235 shard_timeout = 900 233 shard_timeout = 900
236 } 234 }
237 } 235 }
238 } 236 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/BUILD.gn ('k') | webrtc/system_wrappers/include/stringize_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698