[email protected] | 225c8f5 | 2010-02-05 22:23:20 | [diff] [blame] | 1 | # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 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 | 'target_defaults': { |
| 7 | 'variables': { |
| 8 | 'base_target': 0, |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 9 | 'base_extra_target': 0, |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 10 | }, |
| 11 | 'target_conditions': [ |
[email protected] | 0ea5482 | 2010-07-01 20:14:50 | [diff] [blame] | 12 | # This part is shared between the targets defined below. |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 13 | ['base_target==1', { |
| 14 | 'sources': [ |
| 15 | '../build/build_config.h', |
| 16 | 'third_party/dmg_fp/dmg_fp.h', |
| 17 | 'third_party/dmg_fp/dtoa.cc', |
| 18 | 'third_party/dmg_fp/g_fmt.cc', |
| 19 | 'third_party/icu/icu_utf.cc', |
| 20 | 'third_party/icu/icu_utf.h', |
| 21 | 'third_party/nspr/prtime.cc', |
| 22 | 'third_party/nspr/prtime.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 23 | 'at_exit.cc', |
| 24 | 'at_exit.h', |
| 25 | 'atomic_ref_count.h', |
| 26 | 'atomic_sequence_num.h', |
| 27 | 'atomicops.h', |
[email protected] | 9bc8cff | 2010-04-03 01:05:39 | [diff] [blame] | 28 | 'atomicops_internals_x86_gcc.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 29 | 'atomicops_internals_x86_msvc.h', |
| 30 | 'base_paths.cc', |
| 31 | 'base_paths.h', |
| 32 | 'base_paths_mac.h', |
| 33 | 'base_paths_mac.mm', |
[email protected] | 6b0349ef | 2010-10-16 04:56:06 | [diff] [blame] | 34 | 'base_paths_linux.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 35 | 'base_paths_win.cc', |
| 36 | 'base_paths_win.h', |
| 37 | 'base_switches.cc', |
| 38 | 'base_switches.h', |
| 39 | 'basictypes.h', |
| 40 | 'bits.h', |
| 41 | 'bzip2_error_handler.cc', |
[email protected] | 2041cf34 | 2010-02-19 03:15:59 | [diff] [blame] | 42 | 'callback.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 43 | 'cancellation_flag.cc', |
[email protected] | 9bc8cff | 2010-04-03 01:05:39 | [diff] [blame] | 44 | 'cancellation_flag.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 45 | 'chrome_application_mac.h', |
| 46 | 'chrome_application_mac.mm', |
| 47 | 'cocoa_protocols_mac.h', |
| 48 | 'command_line.cc', |
| 49 | 'command_line.h', |
| 50 | 'compiler_specific.h', |
| 51 | 'condition_variable.h', |
| 52 | 'condition_variable_posix.cc', |
| 53 | 'condition_variable_win.cc', |
| 54 | 'cpu.cc', |
| 55 | 'cpu.h', |
| 56 | 'debug_on_start.cc', |
| 57 | 'debug_on_start.h', |
| 58 | 'debug_util.cc', |
| 59 | 'debug_util.h', |
| 60 | 'debug_util_mac.cc', |
[email protected] | 5858035 | 2010-10-26 04:07:50 | [diff] [blame] | 61 | 'debug/debugger.cc', |
| 62 | 'debug/debugger.h', |
| 63 | 'debug/debugger_posix.cc', |
| 64 | 'debug/debugger_win.cc', |
| 65 | 'debug/leak_annotations.h', |
| 66 | 'debug/leak_tracker.h', |
| 67 | 'debug/stack_trace.cc', |
| 68 | 'debug/stack_trace.h', |
| 69 | 'debug/stack_trace_posix.cc', |
| 70 | 'debug/stack_trace_win.cc', |
| 71 | 'debug/trace_event_win.cc', |
| 72 | 'debug/trace_event.cc', |
| 73 | 'debug/trace_event.h', |
[email protected] | ef73044e | 2010-03-11 15:25:54 | [diff] [blame] | 74 | 'dir_reader_fallback.h', |
| 75 | 'dir_reader_linux.h', |
| 76 | 'dir_reader_posix.h', |
[email protected] | 76b90d31 | 2010-08-03 03:00:50 | [diff] [blame] | 77 | 'environment.cc', |
| 78 | 'environment.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 79 | 'file_path.cc', |
| 80 | 'file_path.h', |
| 81 | 'file_util.cc', |
| 82 | 'file_util.h', |
[email protected] | a84ab95 | 2010-02-23 11:34:54 | [diff] [blame] | 83 | 'file_util_deprecated.h', |
[email protected] | 1d01d41 | 2010-08-20 00:36:01 | [diff] [blame] | 84 | 'file_util_linux.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 85 | 'file_util_mac.mm', |
| 86 | 'file_util_posix.cc', |
| 87 | 'file_util_win.cc', |
[email protected] | b90c93ff | 2010-08-20 22:42:50 | [diff] [blame] | 88 | 'file_util_proxy.cc', |
| 89 | 'file_util_proxy.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 90 | 'file_version_info.h', |
[email protected] | bcff05a | 2010-04-14 01:46:43 | [diff] [blame] | 91 | 'file_version_info_mac.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 92 | 'file_version_info_mac.mm', |
[email protected] | bcff05a | 2010-04-14 01:46:43 | [diff] [blame] | 93 | 'file_version_info_win.cc', |
| 94 | 'file_version_info_win.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 95 | 'fix_wp64.h', |
| 96 | 'float_util.h', |
| 97 | 'foundation_utils_mac.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 98 | 'global_descriptors_posix.cc', |
[email protected] | 9bc8cff | 2010-04-03 01:05:39 | [diff] [blame] | 99 | 'global_descriptors_posix.h', |
[email protected] | a918f87 | 2010-06-01 14:30:51 | [diff] [blame] | 100 | 'gtest_prod_util.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 101 | 'hash_tables.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 102 | 'id_map.h', |
[email protected] | 252cad6 | 2010-08-18 18:33:57 | [diff] [blame] | 103 | 'json/json_reader.cc', |
| 104 | 'json/json_reader.h', |
| 105 | 'json/json_writer.cc', |
| 106 | 'json/json_writer.h', |
| 107 | 'json/string_escape.cc', |
| 108 | 'json/string_escape.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 109 | 'lazy_instance.cc', |
| 110 | 'lazy_instance.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 111 | 'linked_list.h', |
| 112 | 'linked_ptr.h', |
| 113 | 'lock.cc', |
| 114 | 'lock.h', |
| 115 | 'lock_impl.h', |
| 116 | 'lock_impl_posix.cc', |
| 117 | 'lock_impl_win.cc', |
| 118 | 'logging.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 119 | 'logging.h', |
[email protected] | 9bc8cff | 2010-04-03 01:05:39 | [diff] [blame] | 120 | 'logging_win.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 121 | 'mac_util.h', |
| 122 | 'mac_util.mm', |
[email protected] | c2818d4 | 2010-10-18 02:47:39 | [diff] [blame] | 123 | 'mac/scoped_aedesc.h', |
[email protected] | ac0f8be | 2010-11-12 12:03:54 | [diff] [blame^] | 124 | 'mac/scoped_cftyperef.h', |
[email protected] | c2818d4 | 2010-10-18 02:47:39 | [diff] [blame] | 125 | 'mac/scoped_nsautorelease_pool.h', |
| 126 | 'mac/scoped_nsautorelease_pool.mm', |
[email protected] | c002879 | 2010-01-12 00:39:15 | [diff] [blame] | 127 | 'mach_ipc_mac.h', |
| 128 | 'mach_ipc_mac.mm', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 129 | 'memory_debug.cc', |
| 130 | 'memory_debug.h', |
| 131 | 'message_loop.cc', |
| 132 | 'message_loop.h', |
[email protected] | d4799a3 | 2010-09-28 22:54:58 | [diff] [blame] | 133 | 'message_loop_proxy.cc', |
[email protected] | 2cbac9e | 2010-04-29 03:31:34 | [diff] [blame] | 134 | 'message_loop_proxy.h', |
[email protected] | 656475d | 2010-05-06 18:34:24 | [diff] [blame] | 135 | 'message_loop_proxy_impl.cc', |
| 136 | 'message_loop_proxy_impl.h', |
[email protected] | d4799a3 | 2010-09-28 22:54:58 | [diff] [blame] | 137 | 'message_pump.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 138 | 'message_pump.h', |
| 139 | 'message_pump_default.cc', |
| 140 | 'message_pump_default.h', |
| 141 | 'message_pump_win.cc', |
| 142 | 'message_pump_win.h', |
[email protected] | 835d7c8 | 2010-10-14 04:38:38 | [diff] [blame] | 143 | 'metrics/histogram.cc', |
| 144 | 'metrics/histogram.h', |
[email protected] | 9ec7446 | 2010-10-28 16:48:05 | [diff] [blame] | 145 | 'metrics/nacl_histogram.cc', |
| 146 | 'metrics/nacl_histogram.h', |
[email protected] | 835d7c8 | 2010-10-14 04:38:38 | [diff] [blame] | 147 | 'metrics/stats_counters.cc', |
| 148 | 'metrics/stats_counters.h', |
| 149 | 'metrics/stats_table.cc', |
| 150 | 'metrics/stats_table.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 151 | 'mime_util.h', |
[email protected] | 1c65785 | 2010-04-22 23:28:05 | [diff] [blame] | 152 | 'mime_util_xdg.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 153 | 'native_library.h', |
| 154 | 'native_library_linux.cc', |
| 155 | 'native_library_mac.mm', |
| 156 | 'native_library_win.cc', |
| 157 | 'non_thread_safe.cc', |
| 158 | 'non_thread_safe.h', |
| 159 | 'nullable_string16.h', |
| 160 | 'object_watcher.cc', |
| 161 | 'object_watcher.h', |
| 162 | 'observer_list.h', |
| 163 | 'observer_list_threadsafe.h', |
| 164 | 'path_service.cc', |
| 165 | 'path_service.h', |
| 166 | 'pickle.cc', |
| 167 | 'pickle.h', |
| 168 | 'platform_file.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 169 | 'platform_file_posix.cc', |
[email protected] | 9bc8cff | 2010-04-03 01:05:39 | [diff] [blame] | 170 | 'platform_file_win.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 171 | 'platform_thread.h', |
| 172 | 'platform_thread_mac.mm', |
| 173 | 'platform_thread_posix.cc', |
| 174 | 'platform_thread_win.cc', |
| 175 | 'port.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 176 | 'process.h', |
| 177 | 'process_linux.cc', |
| 178 | 'process_posix.cc', |
[email protected] | b6128aa | 2010-04-29 17:44:42 | [diff] [blame] | 179 | 'process_util.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 180 | 'process_util.h', |
| 181 | 'process_util_linux.cc', |
| 182 | 'process_util_mac.mm', |
| 183 | 'process_util_posix.cc', |
| 184 | 'process_util_win.cc', |
| 185 | 'process_win.cc', |
| 186 | 'rand_util.cc', |
| 187 | 'rand_util.h', |
| 188 | 'rand_util_posix.cc', |
| 189 | 'rand_util_win.cc', |
| 190 | 'raw_scoped_refptr_mismatch_checker.h', |
| 191 | 'ref_counted.cc', |
| 192 | 'ref_counted.h', |
[email protected] | 307175443 | 2010-07-28 00:09:54 | [diff] [blame] | 193 | 'ref_counted_memory.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 194 | 'ref_counted_memory.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 195 | 'resource_util.cc', |
| 196 | 'resource_util.h', |
| 197 | 'safe_strerror_posix.cc', |
| 198 | 'safe_strerror_posix.h', |
[email protected] | 21ae1f9 | 2010-07-30 23:05:15 | [diff] [blame] | 199 | 'scoped_callback_factory.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 200 | 'scoped_handle.h', |
[email protected] | 709a847e | 2010-11-10 01:16:11 | [diff] [blame] | 201 | 'scoped_native_library.cc', |
| 202 | 'scoped_native_library.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 203 | 'scoped_nsobject.h', |
[email protected] | 8ceb44c | 2010-02-24 22:27:04 | [diff] [blame] | 204 | 'scoped_open_process.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 205 | 'scoped_ptr.h', |
| 206 | 'scoped_temp_dir.cc', |
| 207 | 'scoped_temp_dir.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 208 | 'scoped_vector.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 209 | 'sha1.h', |
[email protected] | 94d557e | 2010-06-23 21:41:40 | [diff] [blame] | 210 | 'sha1_portable.cc', |
| 211 | 'sha1_win.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 212 | 'shared_memory.h', |
| 213 | 'shared_memory_posix.cc', |
| 214 | 'shared_memory_win.cc', |
| 215 | 'simple_thread.cc', |
| 216 | 'simple_thread.h', |
| 217 | 'singleton.h', |
| 218 | 'spin_wait.h', |
| 219 | 'stack_container.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 220 | 'stl_util-inl.h', |
[email protected] | 528c56d | 2010-07-30 19:28:44 | [diff] [blame] | 221 | 'string_number_conversions.cc', |
| 222 | 'string_number_conversions.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 223 | 'string_piece.cc', |
| 224 | 'string_piece.h', |
[email protected] | 0477554f | 2010-01-21 19:29:25 | [diff] [blame] | 225 | 'string_split.cc', |
| 226 | 'string_split.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 227 | 'string_tokenizer.h', |
| 228 | 'string_util.cc', |
| 229 | 'string_util.h', |
| 230 | 'string_util_win.h', |
[email protected] | e6811ed5 | 2010-08-17 03:45:37 | [diff] [blame] | 231 | 'stringprintf.cc', |
| 232 | 'stringprintf.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 233 | 'sys_info.h', |
| 234 | 'sys_info_chromeos.cc', |
| 235 | 'sys_info_freebsd.cc', |
| 236 | 'sys_info_linux.cc', |
| 237 | 'sys_info_mac.cc', |
| 238 | 'sys_info_openbsd.cc', |
| 239 | 'sys_info_posix.cc', |
| 240 | 'sys_info_win.cc', |
| 241 | 'sys_string_conversions.h', |
| 242 | 'sys_string_conversions_linux.cc', |
| 243 | 'sys_string_conversions_mac.mm', |
| 244 | 'sys_string_conversions_win.cc', |
[email protected] | 3a3d4747 | 2010-07-15 21:03:54 | [diff] [blame] | 245 | 'task.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 246 | 'task.h', |
[email protected] | 6fd0ca5 | 2010-08-26 06:09:38 | [diff] [blame] | 247 | 'task_queue.cc', |
| 248 | 'task_queue.h', |
[email protected] | 951269b | 2010-06-15 19:39:24 | [diff] [blame] | 249 | 'template_util.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 250 | 'thread.cc', |
| 251 | 'thread.h', |
[email protected] | d9ddc96 | 2010-08-24 04:29:56 | [diff] [blame] | 252 | 'thread_checker.cc', |
| 253 | 'thread_checker.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 254 | 'thread_collision_warner.cc', |
| 255 | 'thread_collision_warner.h', |
| 256 | 'thread_local.h', |
| 257 | 'thread_local_posix.cc', |
| 258 | 'thread_local_storage.h', |
| 259 | 'thread_local_storage_posix.cc', |
| 260 | 'thread_local_storage_win.cc', |
| 261 | 'thread_local_win.cc', |
[email protected] | 45446a5 | 2010-11-04 17:41:00 | [diff] [blame] | 262 | 'thread_restrictions.h', |
| 263 | 'thread_restrictions.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 264 | 'time.cc', |
| 265 | 'time.h', |
| 266 | 'time_win.cc', |
| 267 | 'timer.cc', |
| 268 | 'timer.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 269 | 'tracked.cc', |
| 270 | 'tracked.h', |
| 271 | 'tracked_objects.cc', |
| 272 | 'tracked_objects.h', |
| 273 | 'tuple.h', |
[email protected] | 9bc8cff | 2010-04-03 01:05:39 | [diff] [blame] | 274 | 'unix_domain_socket_posix.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 275 | 'utf_offset_string_conversions.cc', |
| 276 | 'utf_offset_string_conversions.h', |
| 277 | 'utf_string_conversion_utils.cc', |
| 278 | 'utf_string_conversion_utils.h', |
| 279 | 'utf_string_conversions.cc', |
| 280 | 'utf_string_conversions.h', |
[email protected] | c604a55 | 2010-03-22 20:12:50 | [diff] [blame] | 281 | 'values.cc', |
| 282 | 'values.h', |
[email protected] | 6dc910c | 2010-11-10 17:02:19 | [diff] [blame] | 283 | 'version.cc', |
| 284 | 'version.h', |
[email protected] | 99b7c57f | 2010-09-29 19:26:36 | [diff] [blame] | 285 | 'vlog.cc', |
| 286 | 'vlog.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 287 | 'waitable_event.h', |
| 288 | 'waitable_event_posix.cc', |
| 289 | 'waitable_event_watcher.h', |
| 290 | 'waitable_event_watcher_posix.cc', |
| 291 | 'waitable_event_watcher_win.cc', |
| 292 | 'waitable_event_win.cc', |
| 293 | 'watchdog.cc', |
| 294 | 'watchdog.h', |
[email protected] | 3a3d4747 | 2010-07-15 21:03:54 | [diff] [blame] | 295 | 'weak_ptr.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 296 | 'weak_ptr.h', |
[email protected] | 2d650398 | 2010-10-17 04:41:54 | [diff] [blame] | 297 | 'win/pe_image.cc', |
[email protected] | ba50d192 | 2010-11-06 15:39:40 | [diff] [blame] | 298 | 'win/event_trace_consumer.h', |
| 299 | 'win/event_trace_controller.cc', |
| 300 | 'win/event_trace_controller.h', |
| 301 | 'win/event_trace_provider.cc', |
| 302 | 'win/event_trace_provider.h', |
[email protected] | 2d650398 | 2010-10-17 04:41:54 | [diff] [blame] | 303 | 'win/pe_image.h', |
| 304 | 'win/registry.cc', |
| 305 | 'win/registry.h', |
[email protected] | ce0e7246 | 2010-10-16 03:46:05 | [diff] [blame] | 306 | 'win/scoped_bstr.cc', |
| 307 | 'win/scoped_bstr.h', |
| 308 | 'win/scoped_comptr.h', |
| 309 | 'win/scoped_gdi_object.h', |
| 310 | 'win/scoped_handle.h', |
| 311 | 'win/scoped_hdc.h', |
| 312 | 'win/scoped_hglobal.h', |
| 313 | 'win/scoped_variant.cc', |
| 314 | 'win/scoped_variant.h', |
[email protected] | 935aa54 | 2010-10-15 01:59:15 | [diff] [blame] | 315 | 'win/windows_version.cc', |
| 316 | 'win/windows_version.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 317 | 'win_util.cc', |
| 318 | 'win_util.h', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 319 | 'worker_pool.h', |
| 320 | 'worker_pool_linux.cc', |
| 321 | 'worker_pool_linux.h', |
| 322 | 'worker_pool_mac.h', |
| 323 | 'worker_pool_mac.mm', |
| 324 | 'worker_pool_win.cc', |
[email protected] | 6b0349ef | 2010-10-16 04:56:06 | [diff] [blame] | 325 | 'nix/xdg_util.h', |
| 326 | 'nix/xdg_util.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 327 | ], |
| 328 | 'include_dirs': [ |
| 329 | '..', |
| 330 | ], |
| 331 | # These warnings are needed for the files in third_party\dmg_fp. |
| 332 | 'msvs_disabled_warnings': [ |
| 333 | 4244, 4554, 4018, 4102, |
| 334 | ], |
| 335 | 'mac_framework_dirs': [ |
| 336 | '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks', |
| 337 | ], |
| 338 | 'conditions': [ |
[email protected] | 93f21e4 | 2010-04-01 00:35:15 | [diff] [blame] | 339 | [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"', { |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 340 | 'sources/': [ |
[email protected] | 6b0349ef | 2010-10-16 04:56:06 | [diff] [blame] | 341 | ['exclude', '^nix/'], |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 342 | ], |
| 343 | 'sources!': [ |
| 344 | 'atomicops_internals_x86_gcc.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 345 | 'message_pump_glib.cc', |
[email protected] | 71ad9c6f | 2010-10-22 16:17:47 | [diff] [blame] | 346 | 'message_pump_glib_x.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 347 | ], |
[email protected] | bcff05a | 2010-04-14 01:46:43 | [diff] [blame] | 348 | }], |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 349 | [ 'OS != "linux"', { |
| 350 | 'sources!': [ |
| 351 | # Not automatically excluded by the *linux.cc rules. |
[email protected] | 0ea5482 | 2010-07-01 20:14:50 | [diff] [blame] | 352 | 'gtk_util.cc', |
| 353 | 'gtk_util.h', |
[email protected] | 1c65785 | 2010-04-22 23:28:05 | [diff] [blame] | 354 | 'linux_util.cc', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 355 | 'setproctitle_linux.c', |
| 356 | 'setproctitle_linux.h', |
| 357 | ], |
| 358 | }, |
| 359 | ], |
[email protected] | 56fedfa | 2010-11-05 23:15:58 | [diff] [blame] | 360 | # Temporarily include linux implementation while debugging a |
| 361 | # workerpool issue. See http://crbug.com/20471 and |
| 362 | # http://crbug.com/60426 |
| 363 | [ 'OS == "mac"', { |
| 364 | 'sources/': [ ['include', '(^|/)worker_pool_linux\.cc$'] ], |
| 365 | }, |
| 366 | ], |
[email protected] | 824ff72 | 2010-08-13 15:24:53 | [diff] [blame] | 367 | [ 'OS != "mac"', { |
| 368 | 'sources!': [ |
| 369 | 'scoped_aedesc.h' |
| 370 | ], |
| 371 | }], |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 372 | # For now, just test the *BSD platforms enough to exclude them. |
| 373 | # Subsequent changes will include them further. |
| 374 | [ 'OS != "freebsd"', { |
| 375 | 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], |
| 376 | }, |
| 377 | ], |
| 378 | [ 'OS != "openbsd"', { |
| 379 | 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], |
| 380 | }, |
| 381 | ], |
[email protected] | ce0e7246 | 2010-10-16 03:46:05 | [diff] [blame] | 382 | ['OS != "win"', { |
| 383 | 'sources/': [ ['exclude', '^win/'] ], |
| 384 | }, |
| 385 | ], |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 386 | [ 'OS == "win"', { |
[email protected] | 935aa54 | 2010-10-15 01:59:15 | [diff] [blame] | 387 | 'include_dirs': [ |
| 388 | '<(DEPTH)/third_party/wtl/include', |
| 389 | ], |
| 390 | 'sources!': [ |
| 391 | 'event_recorder_stubs.cc', |
| 392 | 'file_descriptor_shuffle.cc', |
| 393 | 'message_pump_libevent.cc', |
| 394 | # Not using sha1_win.cc because it may have caused a |
| 395 | # regression to page cycler moz. |
| 396 | 'sha1_win.cc', |
| 397 | 'string16.cc', |
[email protected] | 5858035 | 2010-10-26 04:07:50 | [diff] [blame] | 398 | 'debug/trace_event.cc', |
[email protected] | 935aa54 | 2010-10-15 01:59:15 | [diff] [blame] | 399 | ], |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 400 | },], |
| 401 | ], |
| 402 | }], |
[email protected] | 90f1891 | 2010-07-08 16:51:04 | [diff] [blame] | 403 | ['base_extra_target==1', { |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 404 | 'sources': [ |
[email protected] | 3bcd5790 | 2010-06-23 22:46:04 | [diff] [blame] | 405 | 'crypto/capi_util.cc', |
| 406 | 'crypto/capi_util.h', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 407 | 'crypto/cssm_init.cc', |
| 408 | 'crypto/cssm_init.h', |
| 409 | 'crypto/encryptor.h', |
| 410 | 'crypto/encryptor_mac.cc', |
| 411 | 'crypto/encryptor_nss.cc', |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 412 | 'crypto/encryptor_openssl.cc', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 413 | 'crypto/encryptor_win.cc', |
| 414 | 'crypto/rsa_private_key.h', |
| 415 | 'crypto/rsa_private_key.cc', |
| 416 | 'crypto/rsa_private_key_mac.cc', |
| 417 | 'crypto/rsa_private_key_nss.cc', |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 418 | 'crypto/rsa_private_key_openssl.cc', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 419 | 'crypto/rsa_private_key_win.cc', |
| 420 | 'crypto/signature_creator.h', |
| 421 | 'crypto/signature_creator_mac.cc', |
| 422 | 'crypto/signature_creator_nss.cc', |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 423 | 'crypto/signature_creator_openssl.cc', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 424 | 'crypto/signature_creator_win.cc', |
| 425 | 'crypto/signature_verifier.h', |
| 426 | 'crypto/signature_verifier_mac.cc', |
| 427 | 'crypto/signature_verifier_nss.cc', |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 428 | 'crypto/signature_verifier_openssl.cc', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 429 | 'crypto/signature_verifier_win.cc', |
| 430 | 'crypto/symmetric_key.h', |
| 431 | 'crypto/symmetric_key_mac.cc', |
| 432 | 'crypto/symmetric_key_nss.cc', |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 433 | 'crypto/symmetric_key_openssl.cc', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 434 | 'crypto/symmetric_key_win.cc', |
| 435 | 'third_party/nspr/prcpucfg.h', |
| 436 | 'third_party/nspr/prcpucfg_win.h', |
| 437 | 'third_party/nspr/prtypes.h', |
| 438 | 'third_party/nss/blapi.h', |
| 439 | 'third_party/nss/blapit.h', |
| 440 | 'third_party/nss/sha256.h', |
| 441 | 'third_party/nss/sha512.cc', |
| 442 | 'third_party/purify/pure.h', |
| 443 | 'third_party/purify/pure_api.c', |
| 444 | 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', |
| 445 | 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', |
| 446 | 'auto_reset.h', |
| 447 | 'base64.cc', |
| 448 | 'base64.h', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 449 | 'data_pack.cc', |
| 450 | 'event_recorder.cc', |
| 451 | 'event_recorder.h', |
| 452 | 'event_recorder_stubs.cc', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 453 | 'file_descriptor_shuffle.cc', |
| 454 | 'file_descriptor_shuffle.h', |
| 455 | 'hmac.h', |
| 456 | 'hmac_mac.cc', |
| 457 | 'hmac_nss.cc', |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 458 | 'hmac_openssl.cc', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 459 | 'hmac_win.cc', |
| 460 | 'image_util.cc', |
| 461 | 'image_util.h', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 462 | 'linux_util.cc', |
| 463 | 'linux_util.h', |
| 464 | 'md5.cc', |
| 465 | 'md5.h', |
| 466 | 'message_pump_glib.cc', |
| 467 | 'message_pump_glib.h', |
[email protected] | 71ad9c6f | 2010-10-22 16:17:47 | [diff] [blame] | 468 | 'message_pump_glib_x.cc', |
| 469 | 'message_pump_glib_x.h', |
[email protected] | b2f7ac4 | 2010-10-26 18:43:18 | [diff] [blame] | 470 | 'message_pump_glib_x_dispatch.h', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 471 | 'message_pump_libevent.cc', |
| 472 | 'message_pump_libevent.h', |
| 473 | 'message_pump_mac.h', |
| 474 | 'message_pump_mac.mm', |
[email protected] | 835d7c8 | 2010-10-14 04:38:38 | [diff] [blame] | 475 | 'metrics/field_trial.cc', |
| 476 | 'metrics/field_trial.h', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 477 | 'nsimage_cache_mac.h', |
| 478 | 'nsimage_cache_mac.mm', |
| 479 | 'nss_util.cc', |
| 480 | 'nss_util.h', |
[email protected] | ac0f8be | 2010-11-12 12:03:54 | [diff] [blame^] | 481 | 'openssl_util.cc', |
| 482 | 'openssl_util.h', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 483 | 'setproctitle_linux.c', |
| 484 | 'setproctitle_linux.h', |
| 485 | 'sha2.cc', |
| 486 | 'sha2.h', |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 487 | 'sha2_openssl.cc', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 488 | 'string16.cc', |
| 489 | 'string16.h', |
| 490 | 'sync_socket.h', |
| 491 | 'sync_socket_win.cc', |
| 492 | 'sync_socket_posix.cc', |
| 493 | 'time_mac.cc', |
| 494 | 'time_posix.cc', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 495 | ], |
| 496 | 'conditions': [ |
[email protected] | e001408d | 2010-07-09 03:07:58 | [diff] [blame] | 497 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', { |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 498 | 'conditions': [ |
| 499 | [ 'chromeos==1', { |
| 500 | 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
| 501 | }, |
| 502 | ], |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 503 | ], |
| 504 | 'defines': [ |
| 505 | 'USE_SYMBOLIZE', |
| 506 | ], |
| 507 | 'cflags': [ |
| 508 | '-Wno-write-strings', |
| 509 | ], |
[email protected] | e001408d | 2010-07-09 03:07:58 | [diff] [blame] | 510 | }, { # OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris" |
[email protected] | 90f1891 | 2010-07-08 16:51:04 | [diff] [blame] | 511 | 'sources/': [ |
| 512 | ['exclude', '/xdg_user_dirs/'], |
| 513 | ['exclude', '_nss\.cc$'], |
| 514 | ], |
| 515 | }], |
| 516 | [ 'OS != "mac"', { |
| 517 | 'sources!': [ |
| 518 | 'crypto/cssm_init.cc', |
| 519 | 'crypto/cssm_init.h', |
| 520 | ], |
| 521 | },], |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 522 | [ 'OS != "win"', { |
| 523 | 'sources!': [ |
| 524 | 'third_party/purify/pure_api.c', |
| 525 | 'base_drag_source.cc', |
| 526 | 'base_drop_target.cc', |
| 527 | 'cpu.cc', |
[email protected] | 3bcd5790 | 2010-06-23 22:46:04 | [diff] [blame] | 528 | 'crypto/capi_util.h', |
| 529 | 'crypto/capi_util.cc', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 530 | 'debug_on_start.cc', |
| 531 | 'event_recorder.cc', |
| 532 | 'file_version_info.cc', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 533 | 'image_util.cc', |
| 534 | 'object_watcher.cc', |
| 535 | 'pe_image.cc', |
| 536 | 'registry.cc', |
| 537 | 'resource_util.cc', |
| 538 | 'win_util.cc', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 539 | ], |
| 540 | },], |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 541 | [ 'use_openssl==1', { |
| 542 | # TODO(joth): Use a glob to match exclude patterns once the |
| 543 | # OpenSSL file set is complete. |
| 544 | 'sources!': [ |
| 545 | 'crypto/encryptor_nss.cc', |
| 546 | 'crypto/rsa_private_key_nss.cc', |
| 547 | 'crypto/signature_creator_nss.cc', |
| 548 | 'crypto/signature_verifier_nss.cc', |
| 549 | 'crypto/symmetric_key_nss.cc', |
| 550 | 'hmac_nss.cc', |
| 551 | 'nss_util.cc', |
| 552 | 'nss_util.h', |
| 553 | # Note that sha2.cc depends on the NSS files bundled into |
| 554 | # chromium; it does not have the _nss postfix as it is required |
| 555 | # on platforms besides linux and *bsd. |
| 556 | 'sha2.cc', |
| 557 | 'third_party/nss/blapi.h', |
| 558 | 'third_party/nss/blapit.h', |
| 559 | 'third_party/nss/sha256.h', |
| 560 | 'third_party/nss/sha512.cc', |
| 561 | ], |
| 562 | }, { |
| 563 | 'sources!': [ |
| 564 | 'crypto/encryptor_openssl.cc', |
| 565 | 'crypto/rsa_private_key_openssl.cc', |
| 566 | 'crypto/signature_creator_openssl.cc', |
| 567 | 'crypto/signature_verifier_openssl.cc', |
| 568 | 'crypto/symmetric_key_openssl.cc', |
| 569 | 'hmac_openssl.cc', |
[email protected] | ac0f8be | 2010-11-12 12:03:54 | [diff] [blame^] | 570 | 'openssl_util.cc', |
| 571 | 'openssl_util.h', |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 572 | 'sha2_openssl.cc', |
| 573 | ], |
| 574 | },], |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 575 | ], |
| 576 | }], |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 577 | ], |
| 578 | }, |
| 579 | 'targets': [ |
| 580 | { |
| 581 | 'target_name': 'base', |
| 582 | 'type': '<(library)', |
| 583 | 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165', |
| 584 | 'variables': { |
| 585 | 'base_target': 1, |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 586 | 'base_extra_target': 1, |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 587 | }, |
| 588 | 'dependencies': [ |
| 589 | '../third_party/modp_b64/modp_b64.gyp:modp_b64', |
[email protected] | b4a0b9995 | 2010-05-19 08:33:37 | [diff] [blame] | 590 | 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 591 | ], |
| 592 | # TODO(gregoryd): direct_dependent_settings should be shared with the |
| 593 | # 64-bit target, but it doesn't work due to a bug in gyp |
| 594 | 'direct_dependent_settings': { |
| 595 | 'include_dirs': [ |
| 596 | '..', |
| 597 | ], |
| 598 | }, |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 599 | 'conditions': [ |
[email protected] | 66700d4 | 2010-03-10 07:46:43 | [diff] [blame] | 600 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 601 | 'conditions': [ |
[email protected] | 3e0a8b8 | 2010-07-02 01:12:18 | [diff] [blame] | 602 | [ 'linux_use_tcmalloc==0', { |
| 603 | 'defines': [ |
| 604 | 'NO_TCMALLOC', |
| 605 | ], |
| 606 | 'direct_dependent_settings': { |
| 607 | 'defines': [ |
| 608 | 'NO_TCMALLOC', |
| 609 | ], |
| 610 | }, |
| 611 | }, |
| 612 | ], |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 613 | [ 'use_openssl==1', { |
| 614 | 'dependencies': [ |
| 615 | '../build/linux/system.gyp:openssl', |
| 616 | ], |
| 617 | }, { # use_openssl==0 |
| 618 | 'dependencies': [ |
| 619 | '../build/linux/system.gyp:nss', |
| 620 | ], |
| 621 | } |
| 622 | ], |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 623 | ], |
| 624 | 'dependencies': [ |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 625 | 'symbolize', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 626 | '../build/util/build_util.gyp:lastchange', |
| 627 | '../build/linux/system.gyp:gtk', |
[email protected] | 71ad9c6f | 2010-10-22 16:17:47 | [diff] [blame] | 628 | '../build/linux/system.gyp:x11', |
[email protected] | 2d48004e | 2010-02-03 02:11:40 | [diff] [blame] | 629 | 'xdg_mime', |
[email protected] | 48c27f7 | 2010-01-26 06:26:26 | [diff] [blame] | 630 | ], |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 631 | 'export_dependent_settings': [ |
| 632 | '../build/linux/system.gyp:gtk', |
[email protected] | 71ad9c6f | 2010-10-22 16:17:47 | [diff] [blame] | 633 | '../build/linux/system.gyp:x11', |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 634 | ], |
| 635 | },], |
[email protected] | 1d53ce1 | 2010-06-11 05:41:00 | [diff] [blame] | 636 | [ 'OS == "freebsd" or OS == "openbsd"', { |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 637 | 'link_settings': { |
| 638 | 'libraries': [ |
| 639 | '-L/usr/local/lib -lexecinfo', |
[email protected] | 1d53ce1 | 2010-06-11 05:41:00 | [diff] [blame] | 640 | ], |
| 641 | }, |
| 642 | }, |
| 643 | ], |
[email protected] | 72d3196 | 2010-06-11 22:45:37 | [diff] [blame] | 644 | [ 'OS == "linux"', { |
| 645 | 'link_settings': { |
| 646 | 'libraries': [ |
| 647 | # We need rt for clock_gettime(). |
| 648 | '-lrt', |
| 649 | # For 'native_library_linux.cc' |
| 650 | '-ldl', |
| 651 | ], |
| 652 | }, |
| 653 | }], |
[email protected] | 1d53ce1 | 2010-06-11 05:41:00 | [diff] [blame] | 654 | [ 'OS == "mac"', { |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 655 | 'link_settings': { |
| 656 | 'libraries': [ |
| 657 | '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
| 658 | '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
| 659 | '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 660 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 661 | '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', |
| 662 | '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
| 663 | ], |
| 664 | }, |
[email protected] | 1d53ce1 | 2010-06-11 05:41:00 | [diff] [blame] | 665 | },], |
[email protected] | 3dd6f5e | 2010-06-01 20:28:03 | [diff] [blame] | 666 | [ 'OS == "mac" or OS == "win"', { |
[email protected] | abd4aba | 2010-01-27 19:36:22 | [diff] [blame] | 667 | 'dependencies': [ |
| 668 | '../third_party/nss/nss.gyp:nss', |
| 669 | ], |
[email protected] | 3dd6f5e | 2010-06-01 20:28:03 | [diff] [blame] | 670 | },], |
| 671 | [ 'OS != "win"', { |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 672 | 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], |
[email protected] | abd4aba | 2010-01-27 19:36:22 | [diff] [blame] | 673 | },], |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 674 | ], |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 675 | }, |
| 676 | ], |
| 677 | 'conditions': [ |
| 678 | [ 'OS == "win"', { |
| 679 | 'targets': [ |
| 680 | { |
| 681 | 'target_name': 'base_nacl_win64', |
| 682 | 'type': '<(library)', |
| 683 | 'msvs_guid': 'CEE1F794-DC70-4FED-B7C4-4C12986672FE', |
| 684 | 'variables': { |
| 685 | 'base_target': 1, |
| 686 | }, |
[email protected] | ee85751 | 2010-05-14 08:24:42 | [diff] [blame] | 687 | 'dependencies': [ |
[email protected] | b4a0b9995 | 2010-05-19 08:33:37 | [diff] [blame] | 688 | 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64', |
[email protected] | ee85751 | 2010-05-14 08:24:42 | [diff] [blame] | 689 | ], |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 690 | # TODO(gregoryd): direct_dependent_settings should be shared with the |
| 691 | # 32-bit target, but it doesn't work due to a bug in gyp |
| 692 | 'direct_dependent_settings': { |
| 693 | 'include_dirs': [ |
| 694 | '..', |
| 695 | ], |
| 696 | }, |
| 697 | 'defines': [ |
| 698 | '<@(nacl_win64_defines)', |
| 699 | ], |
| 700 | 'sources': [ |
| 701 | 'i18n/icu_util_nacl_win64.cc', |
| 702 | ], |
| 703 | 'configurations': { |
[email protected] | 8782f707 | 2009-12-22 22:57:37 | [diff] [blame] | 704 | 'Common_Base': { |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 705 | 'msvs_target_platform': 'x64', |
| 706 | }, |
| 707 | }, |
| 708 | }, |
| 709 | ], |
| 710 | }], |
[email protected] | 0c2583a9 | 2010-06-16 00:53:01 | [diff] [blame] | 711 | [ 'OS == "linux" and internal_pdf', { |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 712 | 'targets': [ |
| 713 | { |
| 714 | 'target_name': 'base_fpic', |
| 715 | 'type': '<(library)', |
| 716 | 'variables': { |
| 717 | 'base_target': 1, |
| 718 | 'base_extra_target': 1, |
| 719 | }, |
| 720 | 'cflags': [ |
| 721 | '-fPIC', |
| 722 | ], |
| 723 | 'direct_dependent_settings': { |
| 724 | 'include_dirs': [ |
| 725 | '..', |
| 726 | ], |
| 727 | }, |
| 728 | 'conditions': [ |
| 729 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { |
| 730 | 'dependencies': [ |
| 731 | '../build/util/build_util.gyp:lastchange', |
| 732 | '../build/linux/system.gyp:gtk', |
| 733 | '../build/linux/system.gyp:nss', |
[email protected] | 71ad9c6f | 2010-10-22 16:17:47 | [diff] [blame] | 734 | '../build/linux/system.gyp:x11', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 735 | 'xdg_mime', |
| 736 | ], |
| 737 | 'export_dependent_settings': [ |
| 738 | '../build/linux/system.gyp:gtk', |
[email protected] | 71ad9c6f | 2010-10-22 16:17:47 | [diff] [blame] | 739 | '../build/linux/system.gyp:x11', |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 740 | ], |
| 741 | },], |
[email protected] | 72d3196 | 2010-06-11 22:45:37 | [diff] [blame] | 742 | ['OS == "linux"', { |
| 743 | 'link_settings': { |
| 744 | 'libraries': [ |
| 745 | # We need rt for clock_gettime(). |
| 746 | '-lrt', |
| 747 | # For 'native_library_linux.cc' |
| 748 | '-ldl', |
| 749 | ], |
| 750 | }, |
| 751 | }], |
[email protected] | 97a28e72 | 2010-06-11 21:30:37 | [diff] [blame] | 752 | [ 'OS == "mac" or OS == "win"', { |
| 753 | 'dependencies': [ |
| 754 | '../third_party/nss/nss.gyp:nss', |
| 755 | ], |
| 756 | },], |
| 757 | [ 'OS != "win"', { |
| 758 | 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], |
| 759 | },], |
| 760 | ], |
| 761 | }, |
| 762 | ], |
| 763 | }], |
[email protected] | 93f21e4 | 2010-04-01 00:35:15 | [diff] [blame] | 764 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', { |
[email protected] | 48c27f7 | 2010-01-26 06:26:26 | [diff] [blame] | 765 | 'targets': [ |
| 766 | { |
| 767 | 'target_name': 'symbolize', |
| 768 | 'type': '<(library)', |
[email protected] | 076cf93 | 2010-02-16 19:13:36 | [diff] [blame] | 769 | 'variables': { |
| 770 | 'chromium_code': 0, |
| 771 | }, |
[email protected] | 93f21e4 | 2010-04-01 00:35:15 | [diff] [blame] | 772 | 'conditions': [ |
| 773 | [ 'OS == "solaris"', { |
| 774 | 'include_dirs': [ |
| 775 | '/usr/gnu/include', |
| 776 | '/usr/gnu/include/libelf', |
| 777 | ], |
| 778 | },], |
| 779 | ], |
[email protected] | 48c27f7 | 2010-01-26 06:26:26 | [diff] [blame] | 780 | 'cflags': [ |
| 781 | '-Wno-sign-compare', |
| 782 | ], |
[email protected] | 225c8f5 | 2010-02-05 22:23:20 | [diff] [blame] | 783 | 'cflags!': [ |
| 784 | '-Wextra', |
| 785 | ], |
[email protected] | 48c27f7 | 2010-01-26 06:26:26 | [diff] [blame] | 786 | 'sources': [ |
| 787 | 'third_party/symbolize/symbolize.cc', |
| 788 | 'third_party/symbolize/demangle.cc', |
| 789 | ], |
| 790 | }, |
[email protected] | 2d48004e | 2010-02-03 02:11:40 | [diff] [blame] | 791 | { |
| 792 | 'target_name': 'xdg_mime', |
| 793 | 'type': '<(library)', |
[email protected] | 076cf93 | 2010-02-16 19:13:36 | [diff] [blame] | 794 | 'variables': { |
| 795 | 'chromium_code': 0, |
| 796 | }, |
[email protected] | 225c8f5 | 2010-02-05 22:23:20 | [diff] [blame] | 797 | 'cflags!': [ |
| 798 | '-Wextra', |
| 799 | ], |
[email protected] | 2d48004e | 2010-02-03 02:11:40 | [diff] [blame] | 800 | 'sources': [ |
| 801 | 'third_party/xdg_mime/xdgmime.c', |
| 802 | 'third_party/xdg_mime/xdgmime.h', |
| 803 | 'third_party/xdg_mime/xdgmimealias.c', |
| 804 | 'third_party/xdg_mime/xdgmimealias.h', |
| 805 | 'third_party/xdg_mime/xdgmimecache.c', |
| 806 | 'third_party/xdg_mime/xdgmimecache.h', |
| 807 | 'third_party/xdg_mime/xdgmimeglob.c', |
| 808 | 'third_party/xdg_mime/xdgmimeglob.h', |
| 809 | 'third_party/xdg_mime/xdgmimeicon.c', |
| 810 | 'third_party/xdg_mime/xdgmimeicon.h', |
| 811 | 'third_party/xdg_mime/xdgmimeint.c', |
| 812 | 'third_party/xdg_mime/xdgmimeint.h', |
| 813 | 'third_party/xdg_mime/xdgmimemagic.c', |
| 814 | 'third_party/xdg_mime/xdgmimemagic.h', |
| 815 | 'third_party/xdg_mime/xdgmimeparent.c', |
| 816 | 'third_party/xdg_mime/xdgmimeparent.h', |
| 817 | ], |
| 818 | }, |
[email protected] | 48c27f7 | 2010-01-26 06:26:26 | [diff] [blame] | 819 | ], |
| 820 | }], |
[email protected] | ef4fa407 | 2009-12-04 22:46:50 | [diff] [blame] | 821 | ], |
| 822 | } |