tommi@webrtc.org | e84373c | 2012-04-19 14:28:45 +0000 | [diff] [blame] | 1 | # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
andrew@webrtc.org | a3c6d61 | 2011-09-13 17:17:49 +0000 | [diff] [blame] | 2 | # |
| 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 |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 8 | |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 9 | { |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 10 | 'includes': [ '../../build/common.gypi', ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 11 | 'targets': [ |
| 12 | { |
| 13 | 'target_name': 'system_wrappers', |
wjia@webrtc.org | a3c82bf | 2013-01-18 23:42:21 +0000 | [diff] [blame] | 14 | 'type': 'static_library', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 15 | 'include_dirs': [ |
| 16 | 'spreadsortlib', |
| 17 | '../interface', |
| 18 | ], |
| 19 | 'direct_dependent_settings': { |
| 20 | 'include_dirs': [ |
| 21 | '../interface', |
| 22 | ], |
| 23 | }, |
| 24 | 'sources': [ |
| 25 | '../interface/aligned_malloc.h', |
tommi@webrtc.org | e84373c | 2012-04-19 14:28:45 +0000 | [diff] [blame] | 26 | '../interface/atomic32.h', |
stefan@webrtc.org | 20ed36d | 2013-01-17 14:01:20 +0000 | [diff] [blame] | 27 | '../interface/clock.h', |
tommi@webrtc.org | 98ad0ff | 2012-04-10 11:53:07 +0000 | [diff] [blame] | 28 | '../interface/compile_assert.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 29 | '../interface/condition_variable_wrapper.h', |
henrikg@webrtc.org | c58ef08 | 2011-11-08 08:44:17 +0000 | [diff] [blame] | 30 | '../interface/cpu_info.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 31 | '../interface/cpu_wrapper.h', |
| 32 | '../interface/cpu_features_wrapper.h', |
| 33 | '../interface/critical_section_wrapper.h', |
stefan@webrtc.org | c9cff24 | 2011-08-29 07:39:02 +0000 | [diff] [blame] | 34 | '../interface/data_log.h', |
henrik.lundin@webrtc.org | d855bd4 | 2011-10-10 08:06:17 +0000 | [diff] [blame] | 35 | '../interface/data_log_c.h', |
stefan@webrtc.org | c9cff24 | 2011-08-29 07:39:02 +0000 | [diff] [blame] | 36 | '../interface/data_log_impl.h', |
hclam@chromium.org | ad7efa6 | 2012-12-11 21:19:08 +0000 | [diff] [blame] | 37 | '../interface/event_tracer.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 38 | '../interface/event_wrapper.h', |
| 39 | '../interface/file_wrapper.h', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 40 | '../interface/fix_interlocked_exchange_pointer_win.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 41 | '../interface/list_wrapper.h', |
andrew@webrtc.org | 50419b0 | 2012-11-14 19:07:54 +0000 | [diff] [blame] | 42 | '../interface/logging.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 43 | '../interface/map_wrapper.h', |
perkj@google.com | 88a0da8 | 2011-09-02 12:51:35 +0000 | [diff] [blame] | 44 | '../interface/ref_count.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 45 | '../interface/rw_lock_wrapper.h', |
stefan@webrtc.org | c9cff24 | 2011-08-29 07:39:02 +0000 | [diff] [blame] | 46 | '../interface/scoped_ptr.h', |
andrew@webrtc.org | a3c6d61 | 2011-09-13 17:17:49 +0000 | [diff] [blame] | 47 | '../interface/scoped_refptr.h', |
hta@webrtc.org | 41adcdb | 2012-06-18 11:24:57 +0000 | [diff] [blame] | 48 | '../interface/sleep.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 49 | '../interface/sort.h', |
andrew@webrtc.org | 6d609b5 | 2011-12-14 02:36:33 +0000 | [diff] [blame] | 50 | '../interface/static_instance.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 51 | '../interface/thread_wrapper.h', |
| 52 | '../interface/tick_util.h', |
| 53 | '../interface/trace.h', |
hclam@chromium.org | ad7efa6 | 2012-12-11 21:19:08 +0000 | [diff] [blame] | 54 | '../interface/trace_event.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 55 | 'aligned_malloc.cc', |
tommi@webrtc.org | e84373c | 2012-04-19 14:28:45 +0000 | [diff] [blame] | 56 | 'atomic32_mac.cc', |
tommi@webrtc.org | 9018c9f | 2012-04-19 15:38:10 +0000 | [diff] [blame] | 57 | 'atomic32_posix.cc', |
tommi@webrtc.org | e84373c | 2012-04-19 14:28:45 +0000 | [diff] [blame] | 58 | 'atomic32_win.cc', |
stefan@webrtc.org | 20ed36d | 2013-01-17 14:01:20 +0000 | [diff] [blame] | 59 | 'clock.cc', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 60 | 'condition_variable.cc', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 61 | 'condition_variable_posix.cc', |
ajm@google.com | b5c49ff | 2011-08-01 17:04:04 +0000 | [diff] [blame] | 62 | 'condition_variable_posix.h', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 63 | 'condition_variable_win.cc', |
| 64 | 'condition_variable_win.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 65 | 'cpu.cc', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 66 | 'cpu_no_op.cc', |
henrikg@webrtc.org | c58ef08 | 2011-11-08 08:44:17 +0000 | [diff] [blame] | 67 | 'cpu_info.cc', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 68 | 'cpu_linux.cc', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 69 | 'cpu_linux.h', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 70 | 'cpu_mac.cc', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 71 | 'cpu_mac.h', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 72 | 'cpu_win.cc', |
| 73 | 'cpu_win.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 74 | 'cpu_features.cc', |
| 75 | 'critical_section.cc', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 76 | 'critical_section_posix.cc', |
ajm@google.com | b5c49ff | 2011-08-01 17:04:04 +0000 | [diff] [blame] | 77 | 'critical_section_posix.h', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 78 | 'critical_section_win.cc', |
| 79 | 'critical_section_win.h', |
| 80 | 'data_log.cc', |
henrik.lundin@webrtc.org | d855bd4 | 2011-10-10 08:06:17 +0000 | [diff] [blame] | 81 | 'data_log_c.cc', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 82 | 'data_log_no_op.cc', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 83 | 'event.cc', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 84 | 'event_posix.cc', |
ajm@google.com | b5c49ff | 2011-08-01 17:04:04 +0000 | [diff] [blame] | 85 | 'event_posix.h', |
hclam@chromium.org | ad7efa6 | 2012-12-11 21:19:08 +0000 | [diff] [blame] | 86 | 'event_tracer.cc', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 87 | 'event_win.cc', |
| 88 | 'event_win.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 89 | 'file_impl.cc', |
| 90 | 'file_impl.h', |
| 91 | 'list_no_stl.cc', |
andrew@webrtc.org | 50419b0 | 2012-11-14 19:07:54 +0000 | [diff] [blame] | 92 | 'logging.cc', |
andrew@webrtc.org | c3e5d34 | 2012-11-23 19:30:59 +0000 | [diff] [blame] | 93 | 'logging_no_op.cc', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 94 | 'map.cc', |
| 95 | 'rw_lock.cc', |
henrike@webrtc.org | 9f84723 | 2012-09-25 20:27:51 +0000 | [diff] [blame] | 96 | 'rw_lock_generic.cc', |
| 97 | 'rw_lock_generic.h', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 98 | 'rw_lock_posix.cc', |
ajm@google.com | b5c49ff | 2011-08-01 17:04:04 +0000 | [diff] [blame] | 99 | 'rw_lock_posix.h', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 100 | 'rw_lock_win.cc', |
| 101 | 'rw_lock_win.h', |
phoglund@webrtc.org | 4cebe6c | 2012-11-07 13:37:19 +0000 | [diff] [blame] | 102 | 'set_thread_name_win.h', |
hta@webrtc.org | 41adcdb | 2012-06-18 11:24:57 +0000 | [diff] [blame] | 103 | 'sleep.cc', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 104 | 'sort.cc', |
phoglund@webrtc.org | 4cebe6c | 2012-11-07 13:37:19 +0000 | [diff] [blame] | 105 | 'tick_util.cc', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 106 | 'thread.cc', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 107 | 'thread_posix.cc', |
ajm@google.com | b5c49ff | 2011-08-01 17:04:04 +0000 | [diff] [blame] | 108 | 'thread_posix.h', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 109 | 'thread_win.cc', |
| 110 | 'thread_win.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 111 | 'trace_impl.cc', |
| 112 | 'trace_impl.h', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 113 | 'trace_impl_no_op.cc', |
| 114 | 'trace_posix.cc', |
ajm@google.com | b5c49ff | 2011-08-01 17:04:04 +0000 | [diff] [blame] | 115 | 'trace_posix.h', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 116 | 'trace_win.cc', |
| 117 | 'trace_win.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 118 | ], |
| 119 | 'conditions': [ |
stefan@webrtc.org | c9cff24 | 2011-08-29 07:39:02 +0000 | [diff] [blame] | 120 | ['enable_data_logging==1', { |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 121 | 'sources!': [ 'data_log_no_op.cc', ], |
andrew@webrtc.org | 50419b0 | 2012-11-14 19:07:54 +0000 | [diff] [blame] | 122 | }, { |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 123 | 'sources!': [ 'data_log.cc', ], |
stefan@webrtc.org | c9cff24 | 2011-08-29 07:39:02 +0000 | [diff] [blame] | 124 | },], |
andrew@webrtc.org | 50419b0 | 2012-11-14 19:07:54 +0000 | [diff] [blame] | 125 | ['enable_tracing==1', { |
| 126 | 'sources!': [ |
andrew@webrtc.org | c3e5d34 | 2012-11-23 19:30:59 +0000 | [diff] [blame] | 127 | 'logging_no_op.cc', |
andrew@webrtc.org | 50419b0 | 2012-11-14 19:07:54 +0000 | [diff] [blame] | 128 | 'trace_impl_no_op.cc', |
| 129 | ], |
| 130 | }, { |
| 131 | 'sources!': [ |
andrew@webrtc.org | c3e5d34 | 2012-11-23 19:30:59 +0000 | [diff] [blame] | 132 | 'logging.cc', |
andrew@webrtc.org | 50419b0 | 2012-11-14 19:07:54 +0000 | [diff] [blame] | 133 | 'trace_impl.cc', |
| 134 | 'trace_impl.h', |
| 135 | 'trace_posix.cc', |
| 136 | 'trace_posix.h', |
| 137 | 'trace_win.cc', |
| 138 | 'trace_win.h', |
| 139 | ], |
| 140 | }], |
leozwang@webrtc.org | f5fe100 | 2012-05-08 15:20:02 +0000 | [diff] [blame] | 141 | ['OS=="android"', { |
| 142 | 'dependencies': [ 'cpu_features_android', ], |
| 143 | }], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 144 | ['OS=="linux"', { |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 145 | 'link_settings': { |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 146 | 'libraries': [ '-lrt', ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 147 | }, |
| 148 | }], |
| 149 | ['OS=="mac"', { |
zakkhoyt@google.com | 59af6f1 | 2011-08-25 20:30:25 +0000 | [diff] [blame] | 150 | 'link_settings': { |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 151 | 'libraries': [ '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework', ], |
zakkhoyt@google.com | 59af6f1 | 2011-08-25 20:30:25 +0000 | [diff] [blame] | 152 | }, |
tommi@webrtc.org | 9018c9f | 2012-04-19 15:38:10 +0000 | [diff] [blame] | 153 | 'sources!': [ |
| 154 | 'atomic32_posix.cc', |
| 155 | ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 156 | }], |
| 157 | ['OS=="win"', { |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 158 | 'link_settings': { |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 159 | 'libraries': [ '-lwinmm.lib', ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 160 | }, |
| 161 | }], |
henrikg@webrtc.org | c58ef08 | 2011-11-08 08:44:17 +0000 | [diff] [blame] | 162 | ['build_with_chromium==1', { |
| 163 | 'sources!': [ |
| 164 | 'cpu.cc', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 165 | 'cpu_linux.h', |
| 166 | 'cpu_mac.h', |
| 167 | 'cpu_win.h', |
henrikg@webrtc.org | c58ef08 | 2011-11-08 08:44:17 +0000 | [diff] [blame] | 168 | ], |
| 169 | }, { |
| 170 | 'sources!': [ |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 171 | 'cpu_no_op.cc', |
henrikg@webrtc.org | c58ef08 | 2011-11-08 08:44:17 +0000 | [diff] [blame] | 172 | ], |
andrew@webrtc.org | 50419b0 | 2012-11-14 19:07:54 +0000 | [diff] [blame] | 173 | }], |
sjlee@webrtc.org | 4b42508 | 2012-09-10 17:58:21 +0000 | [diff] [blame] | 174 | ], # conditions |
| 175 | 'target_conditions': [ |
| 176 | # We need to do this in a target_conditions block to override the |
| 177 | # filename_rules filters. |
| 178 | ['OS=="ios"', { |
| 179 | # Pull in specific Mac files for iOS (which have been filtered out |
| 180 | # by file name rules). |
| 181 | 'sources/': [ |
| 182 | ['include', '^atomic32_mac\\.'], |
| 183 | ['include', '^cpu_mac\\.'], |
| 184 | ], |
| 185 | 'sources!': [ |
| 186 | 'atomic32_posix.cc', |
| 187 | ], |
| 188 | }], |
| 189 | ], |
kjellander@webrtc.org | fa53d87 | 2013-02-04 10:07:17 +0000 | [diff] [blame^] | 190 | # Disable warnings to enable Win64 build, issue 1323. |
| 191 | 'msvs_disabled_warnings': [ |
| 192 | 4267, # size_t to int truncation. |
| 193 | 4334, # Ignore warning on shift operator promotion. |
| 194 | ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 195 | }, |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 196 | ], # targets |
kjellander@webrtc.org | 177bb52 | 2011-10-31 17:10:01 +0000 | [diff] [blame] | 197 | 'conditions': [ |
leozwang@webrtc.org | f5fe100 | 2012-05-08 15:20:02 +0000 | [diff] [blame] | 198 | ['OS=="android"', { |
| 199 | 'targets': [ |
| 200 | { |
| 201 | 'variables': { |
| 202 | # Treat this as third-party code. |
| 203 | 'chromium_code': 0, |
| 204 | }, |
| 205 | 'target_name': 'cpu_features_android', |
wjia@webrtc.org | a3c82bf | 2013-01-18 23:42:21 +0000 | [diff] [blame] | 206 | 'type': 'static_library', |
leozwang@webrtc.org | f5fe100 | 2012-05-08 15:20:02 +0000 | [diff] [blame] | 207 | 'sources': [ |
leozwang@webrtc.org | d63cf71 | 2012-05-08 21:33:04 +0000 | [diff] [blame] | 208 | # TODO(leozwang): Ideally we want to audomatically exclude .c files |
| 209 | # as with .cc files, gyp currently only excludes .cc files. |
| 210 | 'cpu_features_android.c', |
leozwang@webrtc.org | f5fe100 | 2012-05-08 15:20:02 +0000 | [diff] [blame] | 211 | ], |
wjia@webrtc.org | 815653b | 2012-11-19 04:04:10 +0000 | [diff] [blame] | 212 | 'conditions': [ |
| 213 | ['build_with_chromium==1', { |
wjia@webrtc.org | df94329 | 2012-12-05 22:54:52 +0000 | [diff] [blame] | 214 | 'conditions': [ |
| 215 | ['android_build_type != 0', { |
| 216 | 'libraries': [ |
| 217 | 'cpufeatures.a' |
| 218 | ], |
| 219 | }, { |
| 220 | 'dependencies': [ |
| 221 | '<(android_ndk_root)/android_tools_ndk.gyp:cpu_features', |
| 222 | ], |
| 223 | }], |
wjia@webrtc.org | 815653b | 2012-11-19 04:04:10 +0000 | [diff] [blame] | 224 | ], |
| 225 | }, { |
| 226 | 'sources': [ |
| 227 | 'android/cpu-features.c', |
| 228 | 'android/cpu-features.h', |
| 229 | ], |
| 230 | }], |
| 231 | ], |
leozwang@webrtc.org | f5fe100 | 2012-05-08 15:20:02 +0000 | [diff] [blame] | 232 | }, |
| 233 | ], |
| 234 | }], |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 235 | ['include_tests==1', { |
xians@google.com | 8706256 | 2011-08-08 12:08:15 +0000 | [diff] [blame] | 236 | 'targets': [ |
| 237 | { |
kjellander@webrtc.org | 177bb52 | 2011-10-31 17:10:01 +0000 | [diff] [blame] | 238 | 'target_name': 'system_wrappers_unittests', |
xians@google.com | 8706256 | 2011-08-08 12:08:15 +0000 | [diff] [blame] | 239 | 'type': 'executable', |
| 240 | 'dependencies': [ |
kjellander@webrtc.org | 177bb52 | 2011-10-31 17:10:01 +0000 | [diff] [blame] | 241 | 'system_wrappers', |
andrew@webrtc.org | 81cf5e4 | 2012-06-27 01:41:54 +0000 | [diff] [blame] | 242 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 243 | '<(webrtc_root)/test/test.gyp:test_support_main', |
xians@google.com | 8706256 | 2011-08-08 12:08:15 +0000 | [diff] [blame] | 244 | ], |
| 245 | 'sources': [ |
henrike@webrtc.org | cd9adf7 | 2012-09-29 03:49:36 +0000 | [diff] [blame] | 246 | 'aligned_malloc_unittest.cc', |
hta@webrtc.org | 72e3a89 | 2012-06-19 13:49:48 +0000 | [diff] [blame] | 247 | 'condition_variable_unittest.cc', |
kjellander@webrtc.org | 177bb52 | 2011-10-31 17:10:01 +0000 | [diff] [blame] | 248 | 'cpu_wrapper_unittest.cc', |
henrike@webrtc.org | 0e7c060 | 2012-02-08 18:53:50 +0000 | [diff] [blame] | 249 | 'cpu_measurement_harness.h', |
| 250 | 'cpu_measurement_harness.cc', |
hta@webrtc.org | 3168e53 | 2012-06-20 06:45:56 +0000 | [diff] [blame] | 251 | 'critical_section_unittest.cc', |
hclam@chromium.org | ad7efa6 | 2012-12-11 21:19:08 +0000 | [diff] [blame] | 252 | 'event_tracer_unittest.cc', |
kjellander@webrtc.org | 177bb52 | 2011-10-31 17:10:01 +0000 | [diff] [blame] | 253 | 'list_unittest.cc', |
andrew@webrtc.org | 50419b0 | 2012-11-14 19:07:54 +0000 | [diff] [blame] | 254 | 'logging_unittest.cc', |
kjellander@webrtc.org | 177bb52 | 2011-10-31 17:10:01 +0000 | [diff] [blame] | 255 | 'map_unittest.cc', |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 256 | 'data_log_unittest.cc', |
| 257 | 'data_log_unittest_disabled.cc', |
kjellander@webrtc.org | 177bb52 | 2011-10-31 17:10:01 +0000 | [diff] [blame] | 258 | 'data_log_helpers_unittest.cc', |
| 259 | 'data_log_c_helpers_unittest.c', |
| 260 | 'data_log_c_helpers_unittest.h', |
hta@webrtc.org | e1919f4 | 2012-05-22 15:57:34 +0000 | [diff] [blame] | 261 | 'thread_unittest.cc', |
henrike@webrtc.org | 5ba4411 | 2012-10-05 14:36:54 +0000 | [diff] [blame] | 262 | 'thread_posix_unittest.cc', |
henrike@webrtc.org | 0e7c060 | 2012-02-08 18:53:50 +0000 | [diff] [blame] | 263 | 'trace_unittest.cc', |
hta@webrtc.org | 86a6aac | 2012-06-18 13:22:08 +0000 | [diff] [blame] | 264 | 'unittest_utilities_unittest.cc', |
kjellander@webrtc.org | 177bb52 | 2011-10-31 17:10:01 +0000 | [diff] [blame] | 265 | ], |
| 266 | 'conditions': [ |
| 267 | ['enable_data_logging==1', { |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 268 | 'sources!': [ 'data_log_unittest_disabled.cc', ], |
kjellander@webrtc.org | 177bb52 | 2011-10-31 17:10:01 +0000 | [diff] [blame] | 269 | }, { |
andrew@webrtc.org | 59ccd5c | 2011-12-15 00:17:43 +0000 | [diff] [blame] | 270 | 'sources!': [ 'data_log_unittest.cc', ], |
kjellander@webrtc.org | 177bb52 | 2011-10-31 17:10:01 +0000 | [diff] [blame] | 271 | }], |
henrike@webrtc.org | fdb1fef | 2012-10-17 18:03:49 +0000 | [diff] [blame] | 272 | ['os_posix==0', { |
henrike@webrtc.org | 5ba4411 | 2012-10-05 14:36:54 +0000 | [diff] [blame] | 273 | 'sources!': [ 'thread_posix_unittest.cc', ], |
| 274 | }], |
xians@google.com | 8706256 | 2011-08-08 12:08:15 +0000 | [diff] [blame] | 275 | ], |
kjellander@webrtc.org | fa53d87 | 2013-02-04 10:07:17 +0000 | [diff] [blame^] | 276 | # Disable warnings to enable Win64 build, issue 1323. |
| 277 | 'msvs_disabled_warnings': [ |
| 278 | 4267, # size_t to int truncation. |
| 279 | ], |
xians@google.com | 8706256 | 2011-08-08 12:08:15 +0000 | [diff] [blame] | 280 | }, |
| 281 | ], # targets |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 282 | }], # include_tests |
xians@google.com | 8706256 | 2011-08-08 12:08:15 +0000 | [diff] [blame] | 283 | ], # conditions |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 284 | } |
| 285 | |
| 286 | # Local Variables: |
| 287 | # tab-width:2 |
| 288 | # indent-tabs-mode:nil |
| 289 | # End: |
| 290 | # vim: set expandtab tabstop=2 shiftwidth=2: |