[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1 | # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
| 6 | 'variables': { |
| 7 | 'chromium_code': 1, |
| 8 | }, |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 9 | 'targets': [ |
| 10 | { |
| 11 | 'target_name': 'base', |
[email protected] | 653bd5f03 | 2009-04-08 12:55:49 | [diff] [blame] | 12 | 'type': '<(library)', |
[email protected] | 0d54d2e | 2009-03-10 22:25:54 | [diff] [blame] | 13 | 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 14 | 'sources': [ |
| 15 | '../build/build_config.h', |
[email protected] | db7286d | 2009-04-10 16:36:34 | [diff] [blame] | 16 | 'crypto/cssm_init.cc', |
| 17 | 'crypto/cssm_init.h', |
[email protected] | 28ae8fe | 2009-06-05 18:25:06 | [diff] [blame] | 18 | 'crypto/rsa_private_key.h', |
[email protected] | 308379a5 | 2009-10-07 02:46:31 | [diff] [blame] | 19 | 'crypto/rsa_private_key.cc', |
[email protected] | 0691bdf4 | 2009-10-02 21:05:01 | [diff] [blame] | 20 | 'crypto/rsa_private_key_mac.cc', |
[email protected] | 71a9f84 | 2009-09-24 01:21:12 | [diff] [blame] | 21 | 'crypto/rsa_private_key_nss.cc', |
[email protected] | 28ae8fe | 2009-06-05 18:25:06 | [diff] [blame] | 22 | 'crypto/rsa_private_key_win.cc', |
| 23 | 'crypto/signature_creator.h', |
[email protected] | e90ed8a | 2009-10-06 18:55:35 | [diff] [blame] | 24 | 'crypto/signature_creator_mac.cc', |
[email protected] | 71a9f84 | 2009-09-24 01:21:12 | [diff] [blame] | 25 | 'crypto/signature_creator_nss.cc', |
[email protected] | 28ae8fe | 2009-06-05 18:25:06 | [diff] [blame] | 26 | 'crypto/signature_creator_win.cc', |
[email protected] | db7286d | 2009-04-10 16:36:34 | [diff] [blame] | 27 | 'crypto/signature_verifier.h', |
| 28 | 'crypto/signature_verifier_mac.cc', |
| 29 | 'crypto/signature_verifier_nss.cc', |
| 30 | 'crypto/signature_verifier_win.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 31 | 'third_party/dmg_fp/dmg_fp.h', |
| 32 | 'third_party/dmg_fp/dtoa.cc', |
| 33 | 'third_party/dmg_fp/g_fmt.cc', |
[email protected] | 047a03f | 2009-10-07 02:10:20 | [diff] [blame] | 34 | 'third_party/icu/icu_utf.cc', |
| 35 | 'third_party/icu/icu_utf.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 36 | 'third_party/nspr/prcpucfg.h', |
| 37 | 'third_party/nspr/prcpucfg_win.h', |
| 38 | 'third_party/nspr/prtime.cc', |
| 39 | 'third_party/nspr/prtime.h', |
| 40 | 'third_party/nspr/prtypes.h', |
| 41 | 'third_party/nss/blapi.h', |
| 42 | 'third_party/nss/blapit.h', |
| 43 | 'third_party/nss/sha256.h', |
| 44 | 'third_party/nss/sha512.cc', |
| 45 | 'third_party/purify/pure.h', |
| 46 | 'third_party/purify/pure_api.c', |
[email protected] | bff1ddf8 | 2009-05-16 04:30:05 | [diff] [blame] | 47 | 'third_party/xdg_mime/xdgmime.c', |
| 48 | 'third_party/xdg_mime/xdgmime.h', |
| 49 | 'third_party/xdg_mime/xdgmimealias.c', |
| 50 | 'third_party/xdg_mime/xdgmimealias.h', |
| 51 | 'third_party/xdg_mime/xdgmimecache.c', |
| 52 | 'third_party/xdg_mime/xdgmimecache.h', |
| 53 | 'third_party/xdg_mime/xdgmimeglob.c', |
| 54 | 'third_party/xdg_mime/xdgmimeglob.h', |
| 55 | 'third_party/xdg_mime/xdgmimeicon.c', |
| 56 | 'third_party/xdg_mime/xdgmimeicon.h', |
| 57 | 'third_party/xdg_mime/xdgmimeint.c', |
| 58 | 'third_party/xdg_mime/xdgmimeint.h', |
| 59 | 'third_party/xdg_mime/xdgmimemagic.c', |
| 60 | 'third_party/xdg_mime/xdgmimemagic.h', |
| 61 | 'third_party/xdg_mime/xdgmimeparent.c', |
| 62 | 'third_party/xdg_mime/xdgmimeparent.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 63 | 'atomicops_internals_x86_gcc.cc', |
| 64 | 'at_exit.cc', |
| 65 | 'at_exit.h', |
[email protected] | 1c9cc40 | 2009-10-16 13:09:11 | [diff] [blame] | 66 | 'atomic_flag.h', |
| 67 | 'atomic_flag.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 68 | 'atomic_ref_count.h', |
| 69 | 'atomic_sequence_num.h', |
| 70 | 'atomicops.h', |
| 71 | 'atomicops_internals_x86_msvc.h', |
| 72 | 'base_drag_source.cc', |
| 73 | 'base_drag_source.h', |
| 74 | 'base_drop_target.cc', |
| 75 | 'base_drop_target.h', |
| 76 | 'base_paths.cc', |
| 77 | 'base_paths.h', |
[email protected] | 08ef57ce | 2009-03-23 15:54:43 | [diff] [blame] | 78 | 'base_paths_linux.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 79 | 'base_paths_linux.cc', |
[email protected] | 08ef57ce | 2009-03-23 15:54:43 | [diff] [blame] | 80 | 'base_paths_mac.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 81 | 'base_paths_mac.mm', |
| 82 | 'base_paths_win.cc', |
| 83 | 'base_paths_win.h', |
| 84 | 'base_switches.cc', |
| 85 | 'base_switches.h', |
| 86 | 'basictypes.h', |
[email protected] | 6d1729e | 2009-11-18 23:08:39 | [diff] [blame^] | 87 | 'bits.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 88 | 'bzip2_error_handler.cc', |
[email protected] | aaa47ee | 2009-11-05 21:53:01 | [diff] [blame] | 89 | 'chrome_application_mac.h', |
| 90 | 'chrome_application_mac.mm', |
[email protected] | e798e192 | 2009-09-17 20:43:06 | [diff] [blame] | 91 | 'cocoa_protocols_mac.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 92 | 'command_line.cc', |
| 93 | 'command_line.h', |
| 94 | 'compiler_specific.h', |
| 95 | 'condition_variable.h', |
| 96 | 'condition_variable_posix.cc', |
| 97 | 'condition_variable_win.cc', |
| 98 | 'cpu.cc', |
| 99 | 'cpu.h', |
| 100 | 'data_pack.cc', |
| 101 | 'debug_on_start.cc', |
| 102 | 'debug_on_start.h', |
| 103 | 'debug_util.cc', |
| 104 | 'debug_util.h', |
| 105 | 'debug_util_mac.cc', |
| 106 | 'debug_util_posix.cc', |
| 107 | 'debug_util_win.cc', |
| 108 | 'directory_watcher.h', |
[email protected] | 34c70c9f | 2009-03-18 14:35:58 | [diff] [blame] | 109 | 'directory_watcher_inotify.cc', |
[email protected] | e611fd66 | 2009-04-30 19:39:15 | [diff] [blame] | 110 | 'directory_watcher_mac.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 111 | 'directory_watcher_win.cc', |
[email protected] | 001b694 | 2009-06-26 11:28:03 | [diff] [blame] | 112 | 'dynamic_annotations.h', |
| 113 | 'dynamic_annotations.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 114 | 'event_recorder.cc', |
| 115 | 'event_recorder.h', |
| 116 | 'event_recorder_stubs.cc', |
| 117 | 'field_trial.cc', |
| 118 | 'field_trial.h', |
[email protected] | 3f04f2b | 2009-04-30 19:40:03 | [diff] [blame] | 119 | 'file_descriptor_shuffle.cc', |
| 120 | 'file_descriptor_shuffle.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 121 | 'file_path.cc', |
| 122 | 'file_path.h', |
| 123 | 'file_util.cc', |
| 124 | 'file_util.h', |
| 125 | 'file_util_linux.cc', |
| 126 | 'file_util_mac.mm', |
| 127 | 'file_util_posix.cc', |
| 128 | 'file_util_win.cc', |
| 129 | 'file_version_info.cc', |
| 130 | 'file_version_info.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 131 | 'file_version_info_mac.mm', |
| 132 | 'fix_wp64.h', |
| 133 | 'float_util.h', |
[email protected] | 08ef57ce | 2009-03-23 15:54:43 | [diff] [blame] | 134 | 'foundation_utils_mac.h', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 135 | 'gfx/point.cc', |
| 136 | 'gfx/point.h', |
| 137 | 'gfx/rect.cc', |
| 138 | 'gfx/rect.h', |
| 139 | 'gfx/size.cc', |
| 140 | 'gfx/size.h', |
[email protected] | cc8f146 | 2009-06-12 17:36:55 | [diff] [blame] | 141 | 'global_descriptors_posix.h', |
| 142 | 'global_descriptors_posix.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 143 | 'hash_tables.h', |
| 144 | 'histogram.cc', |
| 145 | 'histogram.h', |
| 146 | 'hmac.h', |
| 147 | 'hmac_mac.cc', |
| 148 | 'hmac_nss.cc', |
| 149 | 'hmac_win.cc', |
| 150 | 'iat_patch.cc', |
| 151 | 'iat_patch.h', |
[email protected] | 925d5d60 | 2009-08-19 14:56:38 | [diff] [blame] | 152 | 'id_map.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 153 | 'image_util.cc', |
| 154 | 'image_util.h', |
[email protected] | 93d49d7 | 2009-10-23 20:00:20 | [diff] [blame] | 155 | 'json/json_reader.cc', |
| 156 | 'json/json_reader.h', |
| 157 | 'json/json_writer.cc', |
| 158 | 'json/json_writer.h', |
| 159 | 'json/string_escape.cc', |
| 160 | 'json/string_escape.h', |
[email protected] | 047a03f | 2009-10-07 02:10:20 | [diff] [blame] | 161 | 'keyboard_code_conversion_gtk.cc', |
| 162 | 'keyboard_code_conversion_gtk.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 163 | 'keyboard_codes.h', |
| 164 | 'keyboard_codes_win.h', |
[email protected] | c566c610 | 2009-09-25 23:15:41 | [diff] [blame] | 165 | 'keyboard_codes_posix.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 166 | 'lazy_instance.cc', |
| 167 | 'lazy_instance.h', |
[email protected] | 5ca27443 | 2009-11-11 21:58:28 | [diff] [blame] | 168 | 'leak_annotations.h', |
[email protected] | 48ca901 | 2009-08-11 21:38:54 | [diff] [blame] | 169 | 'leak_tracker.h', |
| 170 | 'linked_list.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 171 | 'linked_ptr.h', |
[email protected] | 75ae542 | 2009-04-21 17:20:10 | [diff] [blame] | 172 | 'linux_util.cc', |
| 173 | 'linux_util.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 174 | 'lock.cc', |
| 175 | 'lock.h', |
| 176 | 'lock_impl.h', |
| 177 | 'lock_impl_posix.cc', |
| 178 | 'lock_impl_win.cc', |
| 179 | 'logging.cc', |
| 180 | 'logging.h', |
[email protected] | 08ef57ce | 2009-03-23 15:54:43 | [diff] [blame] | 181 | 'mac_util.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 182 | 'mac_util.mm', |
| 183 | 'md5.cc', |
| 184 | 'md5.h', |
| 185 | 'memory_debug.cc', |
| 186 | 'memory_debug.h', |
| 187 | 'message_loop.cc', |
| 188 | 'message_loop.h', |
| 189 | 'message_pump.h', |
| 190 | 'message_pump_default.cc', |
| 191 | 'message_pump_default.h', |
| 192 | 'message_pump_glib.cc', |
[email protected] | 08ef57ce | 2009-03-23 15:54:43 | [diff] [blame] | 193 | 'message_pump_glib.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 194 | 'message_pump_libevent.cc', |
[email protected] | 08ef57ce | 2009-03-23 15:54:43 | [diff] [blame] | 195 | 'message_pump_libevent.h', |
| 196 | 'message_pump_mac.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 197 | 'message_pump_mac.mm', |
| 198 | 'message_pump_win.cc', |
| 199 | 'message_pump_win.h', |
[email protected] | bff1ddf8 | 2009-05-16 04:30:05 | [diff] [blame] | 200 | 'mime_util.h', |
| 201 | 'mime_util_linux.cc', |
[email protected] | f38e25f | 2009-04-21 00:56:07 | [diff] [blame] | 202 | 'native_library.h', |
| 203 | 'native_library_linux.cc', |
| 204 | 'native_library_mac.mm', |
| 205 | 'native_library_win.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 206 | 'non_thread_safe.cc', |
| 207 | 'non_thread_safe.h', |
[email protected] | 3075a7f | 2009-10-05 19:07:34 | [diff] [blame] | 208 | 'nsimage_cache_mac.h', |
| 209 | 'nsimage_cache_mac.mm', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 210 | 'nss_init.cc', |
[email protected] | db7286d | 2009-04-10 16:36:34 | [diff] [blame] | 211 | 'nss_init.h', |
[email protected] | 15bf871 | 2009-08-27 00:55:02 | [diff] [blame] | 212 | 'nullable_string16.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 213 | 'object_watcher.cc', |
| 214 | 'object_watcher.h', |
| 215 | 'observer_list.h', |
| 216 | 'observer_list_threadsafe.h', |
| 217 | 'path_service.cc', |
| 218 | 'path_service.h', |
| 219 | 'pe_image.cc', |
| 220 | 'pe_image.h', |
| 221 | 'pickle.cc', |
| 222 | 'pickle.h', |
| 223 | 'platform_file.h', |
| 224 | 'platform_file_win.cc', |
| 225 | 'platform_file_posix.cc', |
| 226 | 'platform_thread.h', |
| 227 | 'platform_thread_mac.mm', |
| 228 | 'platform_thread_posix.cc', |
| 229 | 'platform_thread_win.cc', |
| 230 | 'port.h', |
[email protected] | 9b221756 | 2009-03-09 21:26:28 | [diff] [blame] | 231 | 'profiler.cc', |
| 232 | 'profiler.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 233 | 'process.h', |
[email protected] | 276aa6a | 2009-10-29 17:43:44 | [diff] [blame] | 234 | 'process_linux.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 235 | 'process_posix.cc', |
| 236 | 'process_util.h', |
| 237 | 'process_util_linux.cc', |
| 238 | 'process_util_mac.mm', |
| 239 | 'process_util_posix.cc', |
| 240 | 'process_util_win.cc', |
| 241 | 'process_win.cc', |
| 242 | 'rand_util.cc', |
| 243 | 'rand_util.h', |
| 244 | 'rand_util_posix.cc', |
| 245 | 'rand_util_win.cc', |
| 246 | 'ref_counted.cc', |
| 247 | 'ref_counted.h', |
[email protected] | 6de2799 | 2009-10-19 17:04:46 | [diff] [blame] | 248 | 'ref_counted_memory.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 249 | 'registry.cc', |
| 250 | 'registry.h', |
| 251 | 'resource_util.cc', |
| 252 | 'resource_util.h', |
[email protected] | d8617a6 | 2009-10-09 23:52:20 | [diff] [blame] | 253 | 'safe_strerror_posix.cc', |
| 254 | 'safe_strerror_posix.h', |
[email protected] | fd220e60 | 2009-11-14 01:02:37 | [diff] [blame] | 255 | 'scoped_bool.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 256 | 'scoped_bstr_win.cc', |
| 257 | 'scoped_bstr_win.h', |
[email protected] | 08ef57ce | 2009-03-23 15:54:43 | [diff] [blame] | 258 | 'scoped_cftyperef.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 259 | 'scoped_comptr_win.h', |
| 260 | 'scoped_handle.h', |
[email protected] | a340697 | 2009-11-04 05:05:48 | [diff] [blame] | 261 | 'scoped_handle_gtk.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 262 | 'scoped_handle_win.h', |
| 263 | 'scoped_nsautorelease_pool.h', |
| 264 | 'scoped_nsautorelease_pool.mm', |
[email protected] | 9a556e3 | 2009-06-09 17:39:34 | [diff] [blame] | 265 | 'scoped_nsdisable_screen_updates.h', |
[email protected] | 08ef57ce | 2009-03-23 15:54:43 | [diff] [blame] | 266 | 'scoped_nsobject.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 267 | 'scoped_ptr.h', |
| 268 | 'scoped_temp_dir.cc', |
| 269 | 'scoped_temp_dir.h', |
[email protected] | e00d3919 | 2009-03-19 04:22:28 | [diff] [blame] | 270 | 'scoped_variant_win.cc', |
| 271 | 'scoped_variant_win.h', |
[email protected] | 80720414 | 2009-05-05 03:31:44 | [diff] [blame] | 272 | 'scoped_vector.h', |
[email protected] | 7f113f3 | 2009-09-10 18:02:17 | [diff] [blame] | 273 | 'setproctitle_linux.c', |
| 274 | 'setproctitle_linux.h', |
[email protected] | c2ad1e3 | 2009-11-04 19:29:58 | [diff] [blame] | 275 | 'sha1.cc', |
| 276 | 'sha1.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 277 | 'sha2.cc', |
| 278 | 'sha2.h', |
| 279 | 'shared_memory.h', |
| 280 | 'shared_memory_posix.cc', |
| 281 | 'shared_memory_win.cc', |
| 282 | 'simple_thread.cc', |
| 283 | 'simple_thread.h', |
| 284 | 'singleton.h', |
| 285 | 'spin_wait.h', |
| 286 | 'stack_container.h', |
| 287 | 'stats_counters.h', |
| 288 | 'stats_table.cc', |
| 289 | 'stats_table.h', |
[email protected] | 80720414 | 2009-05-05 03:31:44 | [diff] [blame] | 290 | 'stl_util-inl.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 291 | 'string16.cc', |
| 292 | 'string16.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 293 | 'string_piece.cc', |
| 294 | 'string_piece.h', |
| 295 | 'string_tokenizer.h', |
| 296 | 'string_util.cc', |
| 297 | 'string_util.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 298 | 'string_util_win.h', |
| 299 | 'sys_info.h', |
[email protected] | 61b8ad7 | 2009-07-22 00:35:18 | [diff] [blame] | 300 | 'sys_info_chromeos.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 301 | 'sys_info_mac.cc', |
| 302 | 'sys_info_posix.cc', |
| 303 | 'sys_info_win.cc', |
| 304 | 'sys_string_conversions.h', |
| 305 | 'sys_string_conversions_linux.cc', |
| 306 | 'sys_string_conversions_mac.mm', |
| 307 | 'sys_string_conversions_win.cc', |
| 308 | 'system_monitor.cc', |
| 309 | 'system_monitor.h', |
| 310 | 'system_monitor_posix.cc', |
| 311 | 'system_monitor_win.cc', |
| 312 | 'task.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 313 | 'thread.cc', |
| 314 | 'thread.h', |
| 315 | 'thread_collision_warner.cc', |
| 316 | 'thread_collision_warner.h', |
| 317 | 'thread_local.h', |
| 318 | 'thread_local_posix.cc', |
| 319 | 'thread_local_storage.h', |
| 320 | 'thread_local_storage_posix.cc', |
| 321 | 'thread_local_storage_win.cc', |
| 322 | 'thread_local_win.cc', |
| 323 | 'time.cc', |
| 324 | 'time.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 325 | 'time_mac.cc', |
| 326 | 'time_posix.cc', |
| 327 | 'time_win.cc', |
| 328 | 'timer.cc', |
| 329 | 'timer.h', |
| 330 | 'trace_event.cc', |
| 331 | 'trace_event.h', |
| 332 | 'tracked.cc', |
| 333 | 'tracked.h', |
| 334 | 'tracked_objects.cc', |
| 335 | 'tracked_objects.h', |
| 336 | 'tuple.h', |
[email protected] | b9f9383 | 2009-11-13 19:27:48 | [diff] [blame] | 337 | 'utf_offset_string_conversions.cc', |
| 338 | 'utf_offset_string_conversions.h', |
| 339 | 'utf_string_conversion_utils.cc', |
| 340 | 'utf_string_conversion_utils.h', |
[email protected] | 047a03f | 2009-10-07 02:10:20 | [diff] [blame] | 341 | 'utf_string_conversions.cc', |
| 342 | 'utf_string_conversions.h', |
[email protected] | cc8f146 | 2009-06-12 17:36:55 | [diff] [blame] | 343 | 'unix_domain_socket_posix.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 344 | 'values.cc', |
| 345 | 'values.h', |
| 346 | 'version.cc', |
| 347 | 'version.h', |
| 348 | 'waitable_event.h', |
| 349 | 'waitable_event_posix.cc', |
| 350 | 'waitable_event_watcher.h', |
| 351 | 'waitable_event_watcher_posix.cc', |
| 352 | 'waitable_event_watcher_win.cc', |
| 353 | 'waitable_event_win.cc', |
| 354 | 'watchdog.cc', |
| 355 | 'watchdog.h', |
[email protected] | 3125d646 | 2009-09-01 20:50:17 | [diff] [blame] | 356 | 'weak_ptr.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 357 | 'win_util.cc', |
| 358 | 'win_util.h', |
| 359 | 'windows_message_list.h', |
| 360 | 'wmi_util.cc', |
| 361 | 'wmi_util.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 362 | 'worker_pool.h', |
[email protected] | 5846da0 | 2009-03-06 20:35:45 | [diff] [blame] | 363 | 'worker_pool_linux.cc', |
[email protected] | 250103f | 2009-03-24 23:41:53 | [diff] [blame] | 364 | 'worker_pool_linux.h', |
[email protected] | 49aeee5 | 2009-10-26 19:58:13 | [diff] [blame] | 365 | 'worker_pool_mac.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 366 | 'worker_pool_mac.mm', |
[email protected] | 5846da0 | 2009-03-06 20:35:45 | [diff] [blame] | 367 | 'worker_pool_win.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 368 | ], |
| 369 | 'include_dirs': [ |
| 370 | '..', |
| 371 | ], |
| 372 | 'direct_dependent_settings': { |
| 373 | 'include_dirs': [ |
| 374 | '..', |
| 375 | ], |
| 376 | }, |
| 377 | # These warnings are needed for the files in third_party\dmg_fp. |
| 378 | 'msvs_disabled_warnings': [ |
| 379 | 4244, 4554, 4018, 4102, |
| 380 | ], |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 381 | 'mac_framework_dirs': [ |
| 382 | '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks', |
| 383 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 384 | 'conditions': [ |
[email protected] | fb66f9d | 2009-09-07 16:39:46 | [diff] [blame] | 385 | [ 'OS == "linux" or OS == "freebsd"', { |
[email protected] | 61b8ad7 | 2009-07-22 00:35:18 | [diff] [blame] | 386 | 'sources/': [ ['exclude', '_(mac|win|chromeos)\\.cc$'], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 387 | ['exclude', '\\.mm?$' ] ], |
[email protected] | 4535097 | 2009-11-17 06:42:28 | [diff] [blame] | 388 | 'variables' : { |
| 389 | 'linux_use_heapchecker%' : 0, |
| 390 | }, |
[email protected] | 61b8ad7 | 2009-07-22 00:35:18 | [diff] [blame] | 391 | 'conditions': [ |
[email protected] | a678f3f | 2009-10-12 23:58:03 | [diff] [blame] | 392 | [ 'chromeos==1 or toolkit_views==1', { |
[email protected] | 61b8ad7 | 2009-07-22 00:35:18 | [diff] [blame] | 393 | 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
| 394 | }, |
| 395 | ], |
[email protected] | 4535097 | 2009-11-17 06:42:28 | [diff] [blame] | 396 | [ 'linux_use_heapchecker==1', { |
| 397 | 'defines': [ |
| 398 | 'LINUX_USE_HEAPCHECKER', |
| 399 | ], |
| 400 | 'direct_dependent_settings': { |
| 401 | 'defines': [ |
| 402 | 'LINUX_USE_HEAPCHECKER', |
| 403 | ], |
| 404 | }, |
| 405 | }, |
| 406 | ], |
| 407 | # linux_use_heapchecker==1 implies linux_use_tcmalloc=1. |
| 408 | [ 'linux_use_tcmalloc==1 or linux_use_heapchecker==1', { |
| 409 | 'dependencies': [ |
| 410 | '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| 411 | ], |
[email protected] | 5ca27443 | 2009-11-11 21:58:28 | [diff] [blame] | 412 | 'defines': [ |
| 413 | 'LINUX_USE_TCMALLOC', |
| 414 | ], |
| 415 | 'direct_dependent_settings': { |
| 416 | 'defines': [ |
| 417 | 'LINUX_USE_TCMALLOC', |
| 418 | ], |
| 419 | }, |
[email protected] | b7b0676f | 2009-08-26 21:53:46 | [diff] [blame] | 420 | }, |
| 421 | ], |
[email protected] | 61b8ad7 | 2009-07-22 00:35:18 | [diff] [blame] | 422 | ], |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 423 | 'dependencies': [ |
[email protected] | 198d68d | 2009-06-04 16:08:16 | [diff] [blame] | 424 | '../build/util/build_util.gyp:lastchange', |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 425 | '../build/linux/system.gyp:gtk', |
| 426 | '../build/linux/system.gyp:nss', |
| 427 | ], |
| 428 | 'cflags': [ |
| 429 | '-Wno-write-strings', |
| 430 | ], |
[email protected] | 7f113f3 | 2009-09-10 18:02:17 | [diff] [blame] | 431 | 'link_settings': { |
| 432 | 'libraries': [ |
[email protected] | ac594d3 | 2009-09-07 18:29:35 | [diff] [blame] | 433 | # We need rt for clock_gettime(). |
| 434 | '-lrt', |
| 435 | ], |
| 436 | }, |
[email protected] | faabcf4 | 2009-05-18 21:12:34 | [diff] [blame] | 437 | 'export_dependent_settings': [ |
| 438 | '../build/linux/system.gyp:gtk', |
| 439 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 440 | }, |
[email protected] | fb66f9d | 2009-09-07 16:39:46 | [diff] [blame] | 441 | { # else: OS != "linux" && OS != "freebsd" |
[email protected] | bff1ddf8 | 2009-05-16 04:30:05 | [diff] [blame] | 442 | 'sources/': [ |
| 443 | ['exclude', '/xdg_mime/'], |
| 444 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 445 | 'sources!': [ |
[email protected] | 71a9f84 | 2009-09-24 01:21:12 | [diff] [blame] | 446 | 'crypto/rsa_private_key_nss.cc', |
| 447 | 'crypto/signature_creator_nss.cc', |
[email protected] | db7286d | 2009-04-10 16:36:34 | [diff] [blame] | 448 | 'crypto/signature_verifier_nss.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 449 | 'atomicops_internals_x86_gcc.cc', |
[email protected] | 34c70c9f | 2009-03-18 14:35:58 | [diff] [blame] | 450 | 'directory_watcher_inotify.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 451 | 'hmac_nss.cc', |
[email protected] | 75ae542 | 2009-04-21 17:20:10 | [diff] [blame] | 452 | 'linux_util.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 453 | 'message_pump_glib.cc', |
| 454 | 'nss_init.cc', |
[email protected] | db7286d | 2009-04-10 16:36:34 | [diff] [blame] | 455 | 'nss_init.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 456 | 'time_posix.cc', |
| 457 | ], |
[email protected] | 7f113f3 | 2009-09-10 18:02:17 | [diff] [blame] | 458 | }, |
| 459 | ], |
| 460 | [ 'OS != "linux"', { |
| 461 | 'sources!': [ |
| 462 | # Not automatically excluded by the *linux.cc rules. |
| 463 | 'setproctitle_linux.c', |
| 464 | 'setproctitle_linux.h', |
| 465 | ], |
| 466 | }, |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 467 | ], |
[email protected] | 398a316 | 2009-03-18 23:19:10 | [diff] [blame] | 468 | [ 'GENERATOR == "quentin"', { |
| 469 | # Quentin builds don't have a recent enough glibc to include the |
| 470 | # inotify headers |
| 471 | 'sources!': [ |
| 472 | 'directory_watcher_inotify.cc', |
| 473 | ], |
| 474 | 'sources': [ |
| 475 | 'directory_watcher_stub.cc', |
| 476 | ], |
| 477 | }, |
| 478 | ], |
[email protected] | fb66f9d | 2009-09-07 16:39:46 | [diff] [blame] | 479 | [ 'OS == "freebsd"', { |
| 480 | 'sources!': [ |
| 481 | 'directory_watcher_inotify.cc', |
| 482 | ], |
| 483 | 'sources': [ |
| 484 | 'directory_watcher_stub.cc', |
| 485 | ], |
| 486 | }, |
| 487 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 488 | [ 'OS == "mac"', { |
[email protected] | c566c610 | 2009-09-25 23:15:41 | [diff] [blame] | 489 | 'sources/': [ ['exclude', '_(linux|gtk|win|chromeos)\\.cc$'] ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 490 | 'sources!': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 491 | ], |
| 492 | 'link_settings': { |
| 493 | 'libraries': [ |
| 494 | '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
| 495 | '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
| 496 | '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 497 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
[email protected] | a9527c20 | 2009-10-28 14:09:31 | [diff] [blame] | 498 | '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', |
[email protected] | db7286d | 2009-04-10 16:36:34 | [diff] [blame] | 499 | '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 500 | ], |
| 501 | }, |
| 502 | }, |
[email protected] | db7286d | 2009-04-10 16:36:34 | [diff] [blame] | 503 | { # else: OS != "mac" |
| 504 | 'sources!': [ |
| 505 | 'crypto/cssm_init.cc', |
| 506 | 'crypto/cssm_init.h', |
| 507 | ], |
| 508 | } |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 509 | ], |
| 510 | [ 'OS == "win"', { |
[email protected] | f0953deb | 2009-08-07 20:57:16 | [diff] [blame] | 511 | 'include_dirs': [ |
| 512 | '../chrome/third_party/wtl/include', |
| 513 | ], |
[email protected] | c566c610 | 2009-09-25 23:15:41 | [diff] [blame] | 514 | 'sources/': [ ['exclude', '_(linux|gtk|mac|posix|chromeos)\\.cc$'], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 515 | ['exclude', '\\.mm?$' ] ], |
| 516 | 'sources!': [ |
[email protected] | b8e1f95c | 2009-02-26 15:25:44 | [diff] [blame] | 517 | 'data_pack.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 518 | 'event_recorder_stubs.cc', |
[email protected] | 3f04f2b | 2009-04-30 19:40:03 | [diff] [blame] | 519 | 'file_descriptor_shuffle.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 520 | 'message_pump_libevent.cc', |
| 521 | 'string16.cc', |
| 522 | ], |
| 523 | }, |
| 524 | { # else: OS != "win" |
| 525 | 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], |
| 526 | 'sources!': [ |
| 527 | 'third_party/purify/pure_api.c', |
| 528 | 'base_drag_source.cc', |
| 529 | 'base_drop_target.cc', |
| 530 | 'cpu.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 531 | 'debug_on_start.cc', |
| 532 | 'event_recorder.cc', |
| 533 | 'file_version_info.cc', |
| 534 | 'iat_patch.cc', |
| 535 | 'image_util.cc', |
| 536 | 'object_watcher.cc', |
| 537 | 'pe_image.cc', |
| 538 | 'registry.cc', |
| 539 | 'resource_util.cc', |
| 540 | 'win_util.cc', |
| 541 | 'wmi_util.cc', |
| 542 | ], |
| 543 | }, |
| 544 | ], |
| 545 | ], |
| 546 | }, |
| 547 | { |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 548 | 'target_name': 'base_i18n', |
[email protected] | 653bd5f03 | 2009-04-08 12:55:49 | [diff] [blame] | 549 | 'type': '<(library)', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 550 | 'msvs_guid': '968F3222-9798-4D21-BE08-15ECB5EF2994', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 551 | 'dependencies': [ |
| 552 | 'base', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 553 | '../third_party/icu/icu.gyp:icui18n', |
| 554 | '../third_party/icu/icu.gyp:icuuc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 555 | ], |
| 556 | 'export_dependent_settings': [ |
| 557 | 'base', |
| 558 | ], |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 559 | 'sources': [ |
| 560 | 'i18n/file_util_icu.cc', |
| 561 | 'i18n/file_util_icu.h', |
| 562 | 'i18n/icu_string_conversions.cc', |
| 563 | 'i18n/icu_string_conversions.h', |
| 564 | 'i18n/icu_util.cc', |
| 565 | 'i18n/icu_util.h', |
| 566 | 'i18n/number_formatting.cc', |
| 567 | 'i18n/number_formatting.h', |
| 568 | 'i18n/time_formatting.cc', |
| 569 | 'i18n/time_formatting.h', |
| 570 | 'i18n/word_iterator.cc', |
| 571 | 'i18n/word_iterator.h', |
| 572 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 573 | 'conditions': [ |
[email protected] | fb66f9d | 2009-09-07 16:39:46 | [diff] [blame] | 574 | ['OS == "linux" or OS == "freebsd"', { |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 575 | 'dependencies': [ |
| 576 | '../build/linux/system.gyp:gtk', |
| 577 | ], |
| 578 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 579 | ], |
| 580 | }, |
| 581 | { |
| 582 | 'target_name': 'base_unittests', |
| 583 | 'type': 'executable', |
[email protected] | 9e450f2 | 2009-03-10 23:12:16 | [diff] [blame] | 584 | 'msvs_guid': '27A30967-4BBA-48D1-8522-CDE95F7B1CEC', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 585 | 'sources': [ |
[email protected] | c7f475ed | 2009-09-08 17:25:40 | [diff] [blame] | 586 | # Infrastructure files. |
| 587 | 'multiprocess_test.h', |
[email protected] | fb895c6 | 2009-10-09 18:20:30 | [diff] [blame] | 588 | 'test/run_all_unittests.cc', |
| 589 | 'test/test_suite.h', |
[email protected] | c7f475ed | 2009-09-08 17:25:40 | [diff] [blame] | 590 | |
| 591 | # Tests. |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 592 | 'at_exit_unittest.cc', |
[email protected] | 1c9cc40 | 2009-10-16 13:09:11 | [diff] [blame] | 593 | 'atomic_flag_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 594 | 'atomicops_unittest.cc', |
[email protected] | 6d1729e | 2009-11-18 23:08:39 | [diff] [blame^] | 595 | 'bits_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 596 | 'command_line_unittest.cc', |
| 597 | 'condition_variable_unittest.cc', |
[email protected] | 28ae8fe | 2009-06-05 18:25:06 | [diff] [blame] | 598 | 'crypto/rsa_private_key_unittest.cc', |
| 599 | 'crypto/signature_creator_unittest.cc', |
[email protected] | 5290aaa | 2009-05-28 06:02:56 | [diff] [blame] | 600 | 'crypto/signature_verifier_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 601 | 'data_pack_unittest.cc', |
[email protected] | 96fd003 | 2009-04-24 00:13:08 | [diff] [blame] | 602 | 'debug_util_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 603 | 'directory_watcher_unittest.cc', |
| 604 | 'field_trial_unittest.cc', |
[email protected] | 3f04f2b | 2009-04-30 19:40:03 | [diff] [blame] | 605 | 'file_descriptor_shuffle_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 606 | 'file_path_unittest.cc', |
| 607 | 'file_util_unittest.cc', |
| 608 | 'file_version_info_unittest.cc', |
[email protected] | 5290aaa | 2009-05-28 06:02:56 | [diff] [blame] | 609 | 'gfx/rect_unittest.cc', |
[email protected] | d5bb49f | 2009-05-30 14:39:59 | [diff] [blame] | 610 | 'gmock_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 611 | 'histogram_unittest.cc', |
| 612 | 'hmac_unittest.cc', |
[email protected] | 925d5d60 | 2009-08-19 14:56:38 | [diff] [blame] | 613 | 'id_map_unittest.cc', |
[email protected] | d0767cb54 | 2009-10-08 17:38:30 | [diff] [blame] | 614 | 'i18n/file_util_icu_unittest.cc', |
[email protected] | d6e58c6e | 2009-10-10 20:40:50 | [diff] [blame] | 615 | 'i18n/icu_string_conversions_unittest.cc', |
[email protected] | fb895c6 | 2009-10-09 18:20:30 | [diff] [blame] | 616 | 'i18n/word_iterator_unittest.cc', |
[email protected] | 93d49d7 | 2009-10-23 20:00:20 | [diff] [blame] | 617 | 'json/json_reader_unittest.cc', |
| 618 | 'json/json_writer_unittest.cc', |
| 619 | 'json/string_escape_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 620 | 'lazy_instance_unittest.cc', |
[email protected] | 48ca901 | 2009-08-11 21:38:54 | [diff] [blame] | 621 | 'leak_tracker_unittest.cc', |
| 622 | 'linked_list_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 623 | 'linked_ptr_unittest.cc', |
[email protected] | 8b386ced | 2009-10-27 15:55:52 | [diff] [blame] | 624 | 'mac_util_unittest.mm', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 625 | 'message_loop_unittest.cc', |
[email protected] | b44d5cc | 2009-06-15 10:30:44 | [diff] [blame] | 626 | 'message_pump_glib_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 627 | 'object_watcher_unittest.cc', |
| 628 | 'observer_list_unittest.cc', |
| 629 | 'path_service_unittest.cc', |
| 630 | 'pe_image_unittest.cc', |
| 631 | 'pickle_unittest.cc', |
| 632 | 'pr_time_unittest.cc', |
| 633 | 'process_util_unittest.cc', |
| 634 | 'rand_util_unittest.cc', |
| 635 | 'ref_counted_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 636 | 'scoped_bstr_win_unittest.cc', |
| 637 | 'scoped_comptr_win_unittest.cc', |
| 638 | 'scoped_ptr_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 639 | 'scoped_temp_dir_unittest.cc', |
[email protected] | e00d3919 | 2009-03-19 04:22:28 | [diff] [blame] | 640 | 'scoped_variant_win_unittest.cc', |
[email protected] | c2ad1e3 | 2009-11-04 19:29:58 | [diff] [blame] | 641 | 'sha1_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 642 | 'sha2_unittest.cc', |
| 643 | 'shared_memory_unittest.cc', |
| 644 | 'simple_thread_unittest.cc', |
| 645 | 'singleton_unittest.cc', |
| 646 | 'stack_container_unittest.cc', |
| 647 | 'stats_table_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 648 | 'string_piece_unittest.cc', |
| 649 | 'string_tokenizer_unittest.cc', |
| 650 | 'string_util_unittest.cc', |
| 651 | 'sys_info_unittest.cc', |
[email protected] | a2494cb | 2009-11-08 19:04:54 | [diff] [blame] | 652 | 'sys_string_conversions_mac_unittest.mm', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 653 | 'sys_string_conversions_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 654 | 'system_monitor_unittest.cc', |
[email protected] | 5b6c1a80 | 2009-07-17 18:14:47 | [diff] [blame] | 655 | 'task_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 656 | 'thread_collision_warner_unittest.cc', |
| 657 | 'thread_local_storage_unittest.cc', |
| 658 | 'thread_local_unittest.cc', |
| 659 | 'thread_unittest.cc', |
| 660 | 'time_unittest.cc', |
| 661 | 'time_win_unittest.cc', |
| 662 | 'timer_unittest.cc', |
| 663 | 'tracked_objects_unittest.cc', |
| 664 | 'tuple_unittest.cc', |
[email protected] | b9f9383 | 2009-11-13 19:27:48 | [diff] [blame] | 665 | 'utf_offset_string_conversions_unittest.cc', |
[email protected] | ce85f60 | 2009-11-07 01:34:53 | [diff] [blame] | 666 | 'utf_string_conversions_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 667 | 'values_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 668 | 'version_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 669 | 'waitable_event_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 670 | 'waitable_event_watcher_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 671 | 'watchdog_unittest.cc', |
[email protected] | 3125d646 | 2009-09-01 20:50:17 | [diff] [blame] | 672 | 'weak_ptr_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 673 | 'win_util_unittest.cc', |
| 674 | 'wmi_util_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 675 | 'worker_pool_unittest.cc', |
| 676 | ], |
| 677 | 'include_dirs': [ |
| 678 | # word_iterator.h (used by word_iterator_unittest.cc) leaks an ICU |
| 679 | # #include for unicode/uchar.h. This should probably be cleaned up. |
[email protected] | 28062949 | 2009-09-09 06:49:08 | [diff] [blame] | 680 | '../third_party/icu/public/common', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 681 | ], |
| 682 | 'dependencies': [ |
| 683 | 'base', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 684 | 'base_i18n', |
[email protected] | ce315710 | 2009-05-28 07:23:16 | [diff] [blame] | 685 | '../testing/gmock.gyp:gmock', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 686 | '../testing/gtest.gyp:gtest', |
| 687 | ], |
| 688 | 'conditions': [ |
[email protected] | fb66f9d | 2009-09-07 16:39:46 | [diff] [blame] | 689 | ['OS == "linux" or OS == "freebsd"', { |
[email protected] | 8b386ced | 2009-10-27 15:55:52 | [diff] [blame] | 690 | 'sources/': [ ['exclude', '\\.mm?$' ] ], |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 691 | 'sources!': [ |
| 692 | 'file_version_info_unittest.cc', |
[email protected] | 2d4f7b4 | 2009-04-03 20:21:52 | [diff] [blame] | 693 | 'worker_pool_linux_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 694 | ], |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 695 | 'dependencies': [ |
| 696 | '../build/linux/system.gyp:gtk', |
[email protected] | db7286d | 2009-04-10 16:36:34 | [diff] [blame] | 697 | '../build/linux/system.gyp:nss', |
[email protected] | a97488f | 2009-09-17 21:37:19 | [diff] [blame] | 698 | '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 699 | ], |
[email protected] | fb66f9d | 2009-09-07 16:39:46 | [diff] [blame] | 700 | }, { # OS != "linux" and OS != "freebsd" |
[email protected] | b44d5cc | 2009-06-15 10:30:44 | [diff] [blame] | 701 | 'sources!': [ |
| 702 | 'message_pump_glib_unittest.cc', |
| 703 | ] |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 704 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 705 | # This is needed to trigger the dll copy step on windows. |
| 706 | # TODO(mark): This should not be necessary. |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 707 | ['OS == "win"', { |
| 708 | 'dependencies': [ |
[email protected] | 28062949 | 2009-09-09 06:49:08 | [diff] [blame] | 709 | '../third_party/icu/icu.gyp:icudata', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 710 | ], |
| 711 | 'sources!': [ |
| 712 | 'data_pack_unittest.cc', |
[email protected] | 3f04f2b | 2009-04-30 19:40:03 | [diff] [blame] | 713 | 'file_descriptor_shuffle_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 714 | ], |
| 715 | }, { # OS != "win" |
| 716 | 'sources!': [ |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 717 | 'object_watcher_unittest.cc', |
| 718 | 'pe_image_unittest.cc', |
| 719 | 'scoped_bstr_win_unittest.cc', |
| 720 | 'scoped_comptr_win_unittest.cc', |
[email protected] | e00d3919 | 2009-03-19 04:22:28 | [diff] [blame] | 721 | 'scoped_variant_win_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 722 | 'system_monitor_unittest.cc', |
| 723 | 'time_win_unittest.cc', |
| 724 | 'win_util_unittest.cc', |
| 725 | 'wmi_util_unittest.cc', |
| 726 | ], |
| 727 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 728 | ], |
| 729 | }, |
[email protected] | e8ef09a | 2009-03-16 23:46:45 | [diff] [blame] | 730 | { |
| 731 | 'target_name': 'test_support_base', |
[email protected] | 653bd5f03 | 2009-04-08 12:55:49 | [diff] [blame] | 732 | 'type': '<(library)', |
[email protected] | e8ef09a | 2009-03-16 23:46:45 | [diff] [blame] | 733 | 'dependencies': [ |
| 734 | 'base', |
[email protected] | 7d1ba939 | 2009-08-03 18:35:06 | [diff] [blame] | 735 | ], |
| 736 | 'sources': [ |
[email protected] | fb895c6 | 2009-10-09 18:20:30 | [diff] [blame] | 737 | 'test/test_file_util.h', |
| 738 | 'test/test_file_util_linux.cc', |
| 739 | 'test/test_file_util_mac.cc', |
| 740 | 'test/test_file_util_posix.cc', |
| 741 | 'test/test_file_util_win.cc', |
[email protected] | 7d1ba939 | 2009-08-03 18:35:06 | [diff] [blame] | 742 | ], |
| 743 | 'conditions': [ |
[email protected] | fb66f9d | 2009-09-07 16:39:46 | [diff] [blame] | 744 | [ 'OS == "linux" or OS == "freebsd"', { |
[email protected] | 7d1ba939 | 2009-08-03 18:35:06 | [diff] [blame] | 745 | 'sources/': [ ['exclude', '_(mac|win|chromeos)\\.cc$'], |
| 746 | ['exclude', '\\.mm?$' ] ], |
| 747 | 'conditions': [ |
[email protected] | a678f3f | 2009-10-12 23:58:03 | [diff] [blame] | 748 | [ 'chromeos==1 or toolkit_views==1', { |
[email protected] | 7d1ba939 | 2009-08-03 18:35:06 | [diff] [blame] | 749 | 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
| 750 | }, |
| 751 | ], |
| 752 | ], |
| 753 | }, |
| 754 | ], |
| 755 | [ 'OS == "mac"', { |
| 756 | 'sources/': [ ['exclude', '_(linux|win|chromeos)\\.cc$'] ], |
| 757 | }, |
| 758 | ], |
| 759 | [ 'OS == "win"', { |
| 760 | 'sources/': [ ['exclude', '_(linux|mac|posix|chromeos)\\.cc$'], |
| 761 | ['exclude', '\\.mm?$' ] ], |
| 762 | }, |
| 763 | ], |
| 764 | ], |
| 765 | }, |
| 766 | { |
| 767 | 'target_name': 'test_support_perf', |
| 768 | 'type': '<(library)', |
| 769 | 'dependencies': [ |
| 770 | 'base', |
[email protected] | e8ef09a | 2009-03-16 23:46:45 | [diff] [blame] | 771 | '../testing/gtest.gyp:gtest', |
| 772 | ], |
| 773 | 'sources': [ |
| 774 | 'perftimer.cc', |
[email protected] | fb895c6 | 2009-10-09 18:20:30 | [diff] [blame] | 775 | 'test/run_all_perftests.cc', |
[email protected] | e8ef09a | 2009-03-16 23:46:45 | [diff] [blame] | 776 | ], |
| 777 | 'direct_dependent_settings': { |
| 778 | 'defines': [ |
| 779 | 'PERF_TEST', |
| 780 | ], |
| 781 | }, |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 782 | 'conditions': [ |
[email protected] | fb66f9d | 2009-09-07 16:39:46 | [diff] [blame] | 783 | ['OS == "linux" or OS == "freebsd"', { |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 784 | 'dependencies': [ |
| 785 | # Needed to handle the #include chain: |
[email protected] | fb895c6 | 2009-10-09 18:20:30 | [diff] [blame] | 786 | # base/test/perf_test_suite.h |
| 787 | # base/test/test_suite.h |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 788 | # gtk/gtk.h |
| 789 | '../build/linux/system.gyp:gtk', |
| 790 | ], |
| 791 | }], |
| 792 | ], |
[email protected] | e8ef09a | 2009-03-16 23:46:45 | [diff] [blame] | 793 | }, |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 794 | ], |
| 795 | 'conditions': [ |
| 796 | [ 'OS == "win"', { |
| 797 | 'targets': [ |
| 798 | { |
| 799 | 'target_name': 'debug_message', |
| 800 | 'type': 'executable', |
| 801 | 'sources': [ |
| 802 | 'debug_message.cc', |
| 803 | ], |
[email protected] | 3f8bfc36 | 2009-05-22 02:39:14 | [diff] [blame] | 804 | 'msvs_settings': { |
| 805 | 'VCLinkerTool': { |
| 806 | 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 807 | }, |
| 808 | }, |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 809 | }, |
| 810 | ], |
| 811 | }], |
[email protected] | fb66f9d | 2009-09-07 16:39:46 | [diff] [blame] | 812 | [ 'OS == "linux" or OS == "freebsd"', { |
[email protected] | 24a0e29c | 2009-07-29 23:02:55 | [diff] [blame] | 813 | 'targets': [ |
| 814 | { |
| 815 | 'target_name': 'linux_versioninfo', |
| 816 | 'type': '<(library)', |
| 817 | 'sources': [ |
| 818 | 'file_version_info_linux.cc', |
| 819 | ], |
| 820 | 'include_dirs': [ |
| 821 | '..', |
| 822 | '<(SHARED_INTERMEDIATE_DIR)', |
| 823 | ], |
| 824 | 'actions': [ |
| 825 | { |
| 826 | 'action_name': 'linux_version', |
| 827 | 'variables': { |
| 828 | 'lastchange_path': |
| 829 | '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', |
| 830 | 'version_py_path': '../chrome/tools/build/version.py', |
| 831 | 'version_path': '../chrome/VERSION', |
| 832 | 'template_input_path': 'file_version_info_linux.h.version', |
| 833 | }, |
| 834 | 'conditions': [ |
| 835 | [ 'branding == "Chrome"', { |
| 836 | 'variables': { |
| 837 | 'branding_path': |
| 838 | '../chrome/app/theme/google_chrome/BRANDING', |
| 839 | }, |
| 840 | }, { # else branding!="Chrome" |
| 841 | 'variables': { |
| 842 | 'branding_path': |
| 843 | '../chrome/app/theme/chromium/BRANDING', |
| 844 | }, |
| 845 | }], |
| 846 | ], |
| 847 | 'inputs': [ |
| 848 | '<(template_input_path)', |
| 849 | '<(version_path)', |
| 850 | '<(branding_path)', |
| 851 | '<(lastchange_path)', |
| 852 | ], |
| 853 | 'outputs': [ |
| 854 | '<(SHARED_INTERMEDIATE_DIR)/base/file_version_info_linux.h', |
| 855 | ], |
| 856 | 'action': [ |
| 857 | 'python', |
| 858 | '<(version_py_path)', |
| 859 | '-f', '<(version_path)', |
| 860 | '-f', '<(branding_path)', |
| 861 | '-f', '<(lastchange_path)', |
| 862 | '<(template_input_path)', |
| 863 | '<@(_outputs)', |
| 864 | ], |
| 865 | 'message': 'Generating version information', |
| 866 | }, |
| 867 | ], |
| 868 | }, |
| 869 | ], |
| 870 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 871 | ], |
| 872 | } |
[email protected] | f5c990c | 2009-10-06 03:02:38 | [diff] [blame] | 873 | |
| 874 | # Local Variables: |
| 875 | # tab-width:2 |
| 876 | # indent-tabs-mode:nil |
| 877 | # End: |
| 878 | # vim: set expandtab tabstop=2 shiftwidth=2: |