OLD | NEW |
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 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 { | 9 { |
10 'includes': [ '../build/common.gypi', ], | 10 'includes': [ '../build/common.gypi', ], |
11 'targets': [ | 11 'targets': [ |
12 { | 12 { |
13 'target_name': 'system_wrappers', | 13 'target_name': 'system_wrappers', |
14 'type': 'static_library', | 14 'type': 'static_library', |
15 'dependencies': [ | 15 'dependencies': [ |
16 '<(webrtc_root)/common.gyp:webrtc_common', | 16 '<(webrtc_root)/common.gyp:webrtc_common', |
17 '../base/base.gyp:rtc_base_approved', | 17 '../base/base.gyp:rtc_base_approved', |
18 ], | 18 ], |
19 'sources': [ | 19 'sources': [ |
20 'interface/aligned_array.h', | 20 'include/aligned_array.h', |
21 'interface/aligned_malloc.h', | 21 'include/aligned_malloc.h', |
22 'interface/atomic32.h', | 22 'include/atomic32.h', |
23 'interface/clock.h', | 23 'include/clock.h', |
24 'interface/condition_variable_wrapper.h', | 24 'include/condition_variable_wrapper.h', |
25 'interface/cpu_info.h', | 25 'include/cpu_info.h', |
26 'interface/cpu_features_wrapper.h', | 26 'include/cpu_features_wrapper.h', |
27 'interface/critical_section_wrapper.h', | 27 'include/critical_section_wrapper.h', |
28 'interface/data_log.h', | 28 'include/data_log.h', |
29 'interface/data_log_c.h', | 29 'include/data_log_c.h', |
30 'interface/data_log_impl.h', | 30 'include/data_log_impl.h', |
31 'interface/event_tracer.h', | 31 'include/event_tracer.h', |
32 'interface/event_wrapper.h', | 32 'include/event_wrapper.h', |
33 'interface/field_trial.h', | 33 'include/field_trial.h', |
34 'interface/file_wrapper.h', | 34 'include/file_wrapper.h', |
35 'interface/fix_interlocked_exchange_pointer_win.h', | 35 'include/fix_interlocked_exchange_pointer_win.h', |
36 'interface/logcat_trace_context.h', | 36 'include/logcat_trace_context.h', |
37 'interface/logging.h', | 37 'include/logging.h', |
38 'interface/metrics.h', | 38 'include/metrics.h', |
39 'interface/ref_count.h', | 39 'include/ref_count.h', |
40 'interface/rtp_to_ntp.h', | 40 'include/rtp_to_ntp.h', |
41 'interface/rw_lock_wrapper.h', | 41 'include/rw_lock_wrapper.h', |
42 'interface/scoped_vector.h', | 42 'include/scoped_vector.h', |
43 'interface/sleep.h', | 43 'include/sleep.h', |
44 'interface/sort.h', | 44 'include/sort.h', |
45 'interface/static_instance.h', | 45 'include/static_instance.h', |
46 'interface/stl_util.h', | 46 'include/stl_util.h', |
47 'interface/stringize_macros.h', | 47 'include/stringize_macros.h', |
48 'interface/thread_wrapper.h', | 48 'include/thread_wrapper.h', |
49 'interface/tick_util.h', | 49 'include/tick_util.h', |
50 'interface/timestamp_extrapolator.h', | 50 'include/timestamp_extrapolator.h', |
51 'interface/trace.h', | 51 'include/trace.h', |
52 'interface/utf_util_win.h', | 52 'include/utf_util_win.h', |
53 'source/aligned_malloc.cc', | 53 'source/aligned_malloc.cc', |
54 'source/atomic32_mac.cc', | 54 'source/atomic32_mac.cc', |
55 'source/atomic32_posix.cc', | 55 'source/atomic32_posix.cc', |
56 'source/atomic32_win.cc', | 56 'source/atomic32_win.cc', |
57 'source/clock.cc', | 57 'source/clock.cc', |
58 'source/condition_variable.cc', | 58 'source/condition_variable.cc', |
59 'source/condition_variable_posix.cc', | 59 'source/condition_variable_posix.cc', |
60 'source/condition_variable_posix.h', | 60 'source/condition_variable_posix.h', |
61 'source/condition_variable_event_win.cc', | 61 'source/condition_variable_event_win.cc', |
62 'source/condition_variable_event_win.h', | 62 'source/condition_variable_event_win.h', |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 ], | 132 ], |
133 }], | 133 }], |
134 ], | 134 ], |
135 'link_settings': { | 135 'link_settings': { |
136 'libraries': [ | 136 'libraries': [ |
137 '-llog', | 137 '-llog', |
138 ], | 138 ], |
139 }, | 139 }, |
140 }, { # OS!="android" | 140 }, { # OS!="android" |
141 'sources!': [ | 141 'sources!': [ |
142 'interface/logcat_trace_context.h', | 142 'include/logcat_trace_context.h', |
143 'source/logcat_trace_context.cc', | 143 'source/logcat_trace_context.cc', |
144 ], | 144 ], |
145 }], | 145 }], |
146 ['OS=="linux"', { | 146 ['OS=="linux"', { |
147 'defines': [ | 147 'defines': [ |
148 'WEBRTC_THREAD_RR', | 148 'WEBRTC_THREAD_RR', |
149 # TODO(andrew): can we select this automatically? | 149 # TODO(andrew): can we select this automatically? |
150 # Define this if the Linux system does not support CLOCK_MONOTONIC. | 150 # Define this if the Linux system does not support CLOCK_MONOTONIC. |
151 #'WEBRTC_CLOCK_TYPE_REALTIME', | 151 #'WEBRTC_CLOCK_TYPE_REALTIME', |
152 ], | 152 ], |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 ], | 190 ], |
191 # Disable warnings to enable Win64 build, issue 1323. | 191 # Disable warnings to enable Win64 build, issue 1323. |
192 'msvs_disabled_warnings': [ | 192 'msvs_disabled_warnings': [ |
193 4267, # size_t to int truncation. | 193 4267, # size_t to int truncation. |
194 4334, # Ignore warning on shift operator promotion. | 194 4334, # Ignore warning on shift operator promotion. |
195 ], | 195 ], |
196 }, { | 196 }, { |
197 'target_name': 'field_trial_default', | 197 'target_name': 'field_trial_default', |
198 'type': 'static_library', | 198 'type': 'static_library', |
199 'sources': [ | 199 'sources': [ |
200 'interface/field_trial_default.h', | 200 'include/field_trial_default.h', |
201 'source/field_trial_default.cc', | 201 'source/field_trial_default.cc', |
202 ] | 202 ] |
203 }, { | 203 }, { |
204 'target_name': 'metrics_default', | 204 'target_name': 'metrics_default', |
205 'type': 'static_library', | 205 'type': 'static_library', |
206 'sources': [ | 206 'sources': [ |
207 'source/metrics_default.cc', | 207 'source/metrics_default.cc', |
208 ], | 208 ], |
209 'dependencies': [ | 209 'dependencies': [ |
210 'system_wrappers', | 210 'system_wrappers', |
211 ] | 211 ] |
212 }, { | 212 }, { |
213 'target_name': 'system_wrappers_default', | 213 'target_name': 'system_wrappers_default', |
214 'type': 'static_library', | 214 'type': 'static_library', |
215 'dependencies': [ | 215 'dependencies': [ |
216 'field_trial_default', | 216 'field_trial_default', |
217 'metrics_default', | 217 'metrics_default', |
218 ] | 218 ] |
219 }, | 219 }, |
220 ], # targets | 220 ], # targets |
221 } | 221 } |
222 | 222 |
OLD | NEW |