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