evan@chromium.org | a6768f5 | 2010-02-06 07:23:20 +0900 | [diff] [blame] | 1 | # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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, |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 9 | 'base_extra_target': 0, |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 10 | }, |
| 11 | 'target_conditions': [ |
sky@chromium.org | 1987a75 | 2010-07-02 05:14:50 +0900 | [diff] [blame] | 12 | # This part is shared between the targets defined below. |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 23 | 'at_exit.cc', |
| 24 | 'at_exit.h', |
| 25 | 'atomic_ref_count.h', |
| 26 | 'atomic_sequence_num.h', |
| 27 | 'atomicops.h', |
thestig@chromium.org | b6ba943 | 2010-04-03 10:05:39 +0900 | [diff] [blame] | 28 | 'atomicops_internals_x86_gcc.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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', |
brettw@chromium.org | e47345a | 2010-10-16 13:56:06 +0900 | [diff] [blame] | 34 | 'base_paths_linux.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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', |
akalin@chromium.org | 6ed4f88 | 2010-02-19 12:15:59 +0900 | [diff] [blame] | 42 | 'callback.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 43 | 'cancellation_flag.cc', |
thestig@chromium.org | b6ba943 | 2010-04-03 10:05:39 +0900 | [diff] [blame] | 44 | 'cancellation_flag.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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', |
brettw@chromium.org | 2f49b12 | 2010-10-26 13:07:50 +0900 | [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', |
agl@chromium.org | 4300a31 | 2010-03-12 00:25:54 +0900 | [diff] [blame] | 74 | 'dir_reader_fallback.h', |
| 75 | 'dir_reader_linux.h', |
| 76 | 'dir_reader_posix.h', |
tfarina@chromium.org | 6d36c5d | 2010-08-03 12:00:50 +0900 | [diff] [blame] | 77 | 'environment.cc', |
| 78 | 'environment.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 79 | 'file_path.cc', |
| 80 | 'file_path.h', |
| 81 | 'file_util.cc', |
| 82 | 'file_util.h', |
evan@chromium.org | c4e9f7c | 2010-02-23 20:34:54 +0900 | [diff] [blame] | 83 | 'file_util_deprecated.h', |
evan@chromium.org | 33b7705 | 2010-08-20 09:36:01 +0900 | [diff] [blame] | 84 | 'file_util_linux.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 85 | 'file_util_mac.mm', |
| 86 | 'file_util_posix.cc', |
| 87 | 'file_util_win.cc', |
dumi@chromium.org | c980e40 | 2010-08-21 07:42:50 +0900 | [diff] [blame] | 88 | 'file_util_proxy.cc', |
| 89 | 'file_util_proxy.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 90 | 'file_version_info.h', |
tony@chromium.org | 9f7a86f | 2010-04-14 10:46:43 +0900 | [diff] [blame] | 91 | 'file_version_info_mac.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 92 | 'file_version_info_mac.mm', |
tony@chromium.org | 9f7a86f | 2010-04-14 10:46:43 +0900 | [diff] [blame] | 93 | 'file_version_info_win.cc', |
| 94 | 'file_version_info_win.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 95 | 'fix_wp64.h', |
| 96 | 'float_util.h', |
| 97 | 'foundation_utils_mac.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 98 | 'global_descriptors_posix.cc', |
thestig@chromium.org | b6ba943 | 2010-04-03 10:05:39 +0900 | [diff] [blame] | 99 | 'global_descriptors_posix.h', |
phajdan.jr@chromium.org | dd43b73 | 2010-06-01 23:30:51 +0900 | [diff] [blame] | 100 | 'gtest_prod_util.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 101 | 'hash_tables.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 102 | 'id_map.h', |
erg@google.com | 8aca727 | 2010-08-19 03:33:57 +0900 | [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', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 109 | 'lazy_instance.cc', |
| 110 | 'lazy_instance.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 119 | 'logging.h', |
thestig@chromium.org | b6ba943 | 2010-04-03 10:05:39 +0900 | [diff] [blame] | 120 | 'logging_win.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 121 | 'mac_util.h', |
| 122 | 'mac_util.mm', |
brettw@chromium.org | 0d4a035 | 2010-10-18 11:47:39 +0900 | [diff] [blame] | 123 | 'mac/scoped_aedesc.h', |
| 124 | 'mac/scoped_nsautorelease_pool.h', |
| 125 | 'mac/scoped_nsautorelease_pool.mm', |
thakis@chromium.org | 281e210 | 2010-01-12 09:39:15 +0900 | [diff] [blame] | 126 | 'mach_ipc_mac.h', |
| 127 | 'mach_ipc_mac.mm', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 128 | 'memory_debug.cc', |
| 129 | 'memory_debug.h', |
| 130 | 'message_loop.cc', |
| 131 | 'message_loop.h', |
erg@google.com | 7191523 | 2010-09-29 07:54:58 +0900 | [diff] [blame] | 132 | 'message_loop_proxy.cc', |
sanjeevr@chromium.org | 11e02e6 | 2010-04-29 12:31:34 +0900 | [diff] [blame] | 133 | 'message_loop_proxy.h', |
sanjeevr@chromium.org | d393cc4 | 2010-05-07 03:34:24 +0900 | [diff] [blame] | 134 | 'message_loop_proxy_impl.cc', |
| 135 | 'message_loop_proxy_impl.h', |
erg@google.com | 7191523 | 2010-09-29 07:54:58 +0900 | [diff] [blame] | 136 | 'message_pump.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 137 | 'message_pump.h', |
| 138 | 'message_pump_default.cc', |
| 139 | 'message_pump_default.h', |
| 140 | 'message_pump_win.cc', |
| 141 | 'message_pump_win.h', |
brettw@chromium.org | 275c2ec | 2010-10-14 13:38:38 +0900 | [diff] [blame] | 142 | 'metrics/histogram.cc', |
| 143 | 'metrics/histogram.h', |
mmortensen@google.com | 6f4c3a2 | 2010-10-29 01:48:05 +0900 | [diff] [blame] | 144 | 'metrics/nacl_histogram.cc', |
| 145 | 'metrics/nacl_histogram.h', |
brettw@chromium.org | 275c2ec | 2010-10-14 13:38:38 +0900 | [diff] [blame] | 146 | 'metrics/stats_counters.cc', |
| 147 | 'metrics/stats_counters.h', |
| 148 | 'metrics/stats_table.cc', |
| 149 | 'metrics/stats_table.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 150 | 'mime_util.h', |
evan@chromium.org | 73aec0e | 2010-04-23 08:28:05 +0900 | [diff] [blame] | 151 | 'mime_util_xdg.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 152 | 'native_library.h', |
| 153 | 'native_library_linux.cc', |
| 154 | 'native_library_mac.mm', |
| 155 | 'native_library_win.cc', |
| 156 | 'non_thread_safe.cc', |
| 157 | 'non_thread_safe.h', |
| 158 | 'nullable_string16.h', |
| 159 | 'object_watcher.cc', |
| 160 | 'object_watcher.h', |
| 161 | 'observer_list.h', |
| 162 | 'observer_list_threadsafe.h', |
| 163 | 'path_service.cc', |
| 164 | 'path_service.h', |
| 165 | 'pickle.cc', |
| 166 | 'pickle.h', |
| 167 | 'platform_file.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 168 | 'platform_file_posix.cc', |
thestig@chromium.org | b6ba943 | 2010-04-03 10:05:39 +0900 | [diff] [blame] | 169 | 'platform_file_win.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 170 | 'platform_thread.h', |
| 171 | 'platform_thread_mac.mm', |
| 172 | 'platform_thread_posix.cc', |
| 173 | 'platform_thread_win.cc', |
| 174 | 'port.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 175 | 'process.h', |
| 176 | 'process_linux.cc', |
| 177 | 'process_posix.cc', |
maruel@chromium.org | 9cf11e8 | 2010-04-30 02:44:42 +0900 | [diff] [blame] | 178 | 'process_util.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 179 | 'process_util.h', |
| 180 | 'process_util_linux.cc', |
| 181 | 'process_util_mac.mm', |
| 182 | 'process_util_posix.cc', |
| 183 | 'process_util_win.cc', |
| 184 | 'process_win.cc', |
| 185 | 'rand_util.cc', |
| 186 | 'rand_util.h', |
| 187 | 'rand_util_posix.cc', |
| 188 | 'rand_util_win.cc', |
| 189 | 'raw_scoped_refptr_mismatch_checker.h', |
| 190 | 'ref_counted.cc', |
| 191 | 'ref_counted.h', |
erg@google.com | ab2e693 | 2010-07-28 09:09:54 +0900 | [diff] [blame] | 192 | 'ref_counted_memory.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 193 | 'ref_counted_memory.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 194 | 'resource_util.cc', |
| 195 | 'resource_util.h', |
| 196 | 'safe_strerror_posix.cc', |
| 197 | 'safe_strerror_posix.h', |
darin@chromium.org | 2df3221 | 2010-07-31 08:05:15 +0900 | [diff] [blame] | 198 | 'scoped_callback_factory.h', |
dmaclach@chromium.org | 5e3e52c | 2010-10-28 05:46:39 +0900 | [diff] [blame] | 199 | 'mac/scoped_cftyperef.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 200 | 'scoped_handle.h', |
brettw@chromium.org | 3cd7170 | 2010-11-10 10:16:11 +0900 | [diff] [blame] | 201 | 'scoped_native_library.cc', |
| 202 | 'scoped_native_library.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 203 | 'scoped_nsobject.h', |
apatrick@chromium.org | 63e82d0 | 2010-02-25 07:27:04 +0900 | [diff] [blame] | 204 | 'scoped_open_process.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 205 | 'scoped_ptr.h', |
| 206 | 'scoped_temp_dir.cc', |
| 207 | 'scoped_temp_dir.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 208 | 'scoped_vector.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 209 | 'sha1.h', |
wtc@chromium.org | d828db4 | 2010-06-24 06:41:40 +0900 | [diff] [blame] | 210 | 'sha1_portable.cc', |
| 211 | 'sha1_win.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 220 | 'stl_util-inl.h', |
brettw@chromium.org | cbde69a | 2010-07-31 04:28:44 +0900 | [diff] [blame] | 221 | 'string_number_conversions.cc', |
| 222 | 'string_number_conversions.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 223 | 'string_piece.cc', |
| 224 | 'string_piece.h', |
timsteele@google.com | 2205821 | 2010-01-22 04:29:25 +0900 | [diff] [blame] | 225 | 'string_split.cc', |
| 226 | 'string_split.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 227 | 'string_tokenizer.h', |
| 228 | 'string_util.cc', |
| 229 | 'string_util.h', |
| 230 | 'string_util_win.h', |
brettw@chromium.org | 67cbde4 | 2010-08-17 12:45:37 +0900 | [diff] [blame] | 231 | 'stringprintf.cc', |
| 232 | 'stringprintf.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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', |
erg@chromium.org | 493f5f6 | 2010-07-16 06:03:54 +0900 | [diff] [blame] | 245 | 'task.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 246 | 'task.h', |
levin@chromium.org | f4cb174 | 2010-08-26 15:09:38 +0900 | [diff] [blame] | 247 | 'task_queue.cc', |
| 248 | 'task_queue.h', |
willchan@chromium.org | b9b021a | 2010-06-16 04:39:24 +0900 | [diff] [blame] | 249 | 'template_util.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 250 | 'thread.cc', |
| 251 | 'thread.h', |
levin@chromium.org | 77996d8 | 2010-08-24 13:29:56 +0900 | [diff] [blame] | 252 | 'thread_checker.cc', |
| 253 | 'thread_checker.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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', |
jam@chromium.org | c803b5f | 2010-11-05 02:41:00 +0900 | [diff] [blame] | 262 | 'thread_restrictions.h', |
| 263 | 'thread_restrictions.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 264 | 'time.cc', |
| 265 | 'time.h', |
| 266 | 'time_win.cc', |
| 267 | 'timer.cc', |
| 268 | 'timer.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 269 | 'tracked.cc', |
| 270 | 'tracked.h', |
| 271 | 'tracked_objects.cc', |
| 272 | 'tracked_objects.h', |
| 273 | 'tuple.h', |
thestig@chromium.org | b6ba943 | 2010-04-03 10:05:39 +0900 | [diff] [blame] | 274 | 'unix_domain_socket_posix.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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', |
robertshield@chromium.org | 9fb9e37 | 2010-03-23 05:12:50 +0900 | [diff] [blame] | 281 | 'values.cc', |
| 282 | 'values.h', |
robertshield@chromium.org | a9914a3 | 2010-11-11 02:02:19 +0900 | [diff] [blame^] | 283 | 'version.cc', |
| 284 | 'version.h', |
akalin@chromium.org | f0ee79c | 2010-09-30 04:26:36 +0900 | [diff] [blame] | 285 | 'vlog.cc', |
| 286 | 'vlog.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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', |
erg@chromium.org | 493f5f6 | 2010-07-16 06:03:54 +0900 | [diff] [blame] | 295 | 'weak_ptr.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 296 | 'weak_ptr.h', |
brettw@chromium.org | b3a7c3e | 2010-10-17 13:41:54 +0900 | [diff] [blame] | 297 | 'win/pe_image.cc', |
siggi@chromium.org | 7913ed6 | 2010-11-07 00:39:40 +0900 | [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', |
brettw@chromium.org | b3a7c3e | 2010-10-17 13:41:54 +0900 | [diff] [blame] | 303 | 'win/pe_image.h', |
| 304 | 'win/registry.cc', |
| 305 | 'win/registry.h', |
brettw@chromium.org | 4535227 | 2010-10-16 12:46:05 +0900 | [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', |
brettw@chromium.org | acb14c2 | 2010-10-15 10:59:15 +0900 | [diff] [blame] | 315 | 'win/windows_version.cc', |
| 316 | 'win/windows_version.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 317 | 'win_util.cc', |
| 318 | 'win_util.h', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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', |
brettw@chromium.org | e47345a | 2010-10-16 13:56:06 +0900 | [diff] [blame] | 325 | 'nix/xdg_util.h', |
| 326 | 'nix/xdg_util.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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': [ |
evan@chromium.org | 089339c | 2010-04-01 09:35:15 +0900 | [diff] [blame] | 339 | [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"', { |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 340 | 'sources/': [ |
brettw@chromium.org | e47345a | 2010-10-16 13:56:06 +0900 | [diff] [blame] | 341 | ['exclude', '^nix/'], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 342 | ], |
| 343 | 'sources!': [ |
| 344 | 'atomicops_internals_x86_gcc.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 345 | 'message_pump_glib.cc', |
rjkroege@google.com | 3080f44 | 2010-10-23 01:17:47 +0900 | [diff] [blame] | 346 | 'message_pump_glib_x.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 347 | ], |
tony@chromium.org | 9f7a86f | 2010-04-14 10:46:43 +0900 | [diff] [blame] | 348 | }], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 349 | [ 'OS != "linux"', { |
| 350 | 'sources!': [ |
| 351 | # Not automatically excluded by the *linux.cc rules. |
sky@chromium.org | 1987a75 | 2010-07-02 05:14:50 +0900 | [diff] [blame] | 352 | 'gtk_util.cc', |
| 353 | 'gtk_util.h', |
evan@chromium.org | 73aec0e | 2010-04-23 08:28:05 +0900 | [diff] [blame] | 354 | 'linux_util.cc', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 355 | 'setproctitle_linux.c', |
| 356 | 'setproctitle_linux.h', |
| 357 | ], |
| 358 | }, |
| 359 | ], |
shess@chromium.org | 73e9abc | 2010-11-06 08:15:58 +0900 | [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 | ], |
rsesek@chromium.org | 56a552f | 2010-08-14 00:24:53 +0900 | [diff] [blame] | 367 | [ 'OS != "mac"', { |
| 368 | 'sources!': [ |
| 369 | 'scoped_aedesc.h' |
| 370 | ], |
| 371 | }], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [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 | ], |
brettw@chromium.org | 4535227 | 2010-10-16 12:46:05 +0900 | [diff] [blame] | 382 | ['OS != "win"', { |
| 383 | 'sources/': [ ['exclude', '^win/'] ], |
| 384 | }, |
| 385 | ], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 386 | [ 'OS == "win"', { |
brettw@chromium.org | acb14c2 | 2010-10-15 10:59:15 +0900 | [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', |
brettw@chromium.org | 2f49b12 | 2010-10-26 13:07:50 +0900 | [diff] [blame] | 398 | 'debug/trace_event.cc', |
brettw@chromium.org | acb14c2 | 2010-10-15 10:59:15 +0900 | [diff] [blame] | 399 | ], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 400 | },], |
| 401 | ], |
| 402 | }], |
wtc@chromium.org | 701c942 | 2010-07-09 01:51:04 +0900 | [diff] [blame] | 403 | ['base_extra_target==1', { |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 404 | 'sources': [ |
davidben@chromium.org | 8c3ccf3 | 2010-06-24 07:46:04 +0900 | [diff] [blame] | 405 | 'crypto/capi_util.cc', |
| 406 | 'crypto/capi_util.h', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [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', |
joth@chromium.org | 0dd3527 | 2010-10-22 22:12:34 +0900 | [diff] [blame] | 412 | 'crypto/encryptor_openssl.cc', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [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', |
joth@chromium.org | 0dd3527 | 2010-10-22 22:12:34 +0900 | [diff] [blame] | 418 | 'crypto/rsa_private_key_openssl.cc', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [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', |
joth@chromium.org | 0dd3527 | 2010-10-22 22:12:34 +0900 | [diff] [blame] | 423 | 'crypto/signature_creator_openssl.cc', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [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', |
joth@chromium.org | 0dd3527 | 2010-10-22 22:12:34 +0900 | [diff] [blame] | 428 | 'crypto/signature_verifier_openssl.cc', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [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', |
joth@chromium.org | 0dd3527 | 2010-10-22 22:12:34 +0900 | [diff] [blame] | 433 | 'crypto/symmetric_key_openssl.cc', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [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', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 449 | 'data_pack.cc', |
| 450 | 'event_recorder.cc', |
| 451 | 'event_recorder.h', |
| 452 | 'event_recorder_stubs.cc', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 453 | 'file_descriptor_shuffle.cc', |
| 454 | 'file_descriptor_shuffle.h', |
| 455 | 'hmac.h', |
| 456 | 'hmac_mac.cc', |
| 457 | 'hmac_nss.cc', |
joth@chromium.org | 0dd3527 | 2010-10-22 22:12:34 +0900 | [diff] [blame] | 458 | 'hmac_openssl.cc', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 459 | 'hmac_win.cc', |
| 460 | 'image_util.cc', |
| 461 | 'image_util.h', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [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', |
rjkroege@google.com | 3080f44 | 2010-10-23 01:17:47 +0900 | [diff] [blame] | 468 | 'message_pump_glib_x.cc', |
| 469 | 'message_pump_glib_x.h', |
rjkroege@google.com | 2d96d7d | 2010-10-27 03:43:18 +0900 | [diff] [blame] | 470 | 'message_pump_glib_x_dispatch.h', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 471 | 'message_pump_libevent.cc', |
| 472 | 'message_pump_libevent.h', |
| 473 | 'message_pump_mac.h', |
| 474 | 'message_pump_mac.mm', |
brettw@chromium.org | 275c2ec | 2010-10-14 13:38:38 +0900 | [diff] [blame] | 475 | 'metrics/field_trial.cc', |
| 476 | 'metrics/field_trial.h', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 477 | 'nsimage_cache_mac.h', |
| 478 | 'nsimage_cache_mac.mm', |
| 479 | 'nss_util.cc', |
| 480 | 'nss_util.h', |
| 481 | 'setproctitle_linux.c', |
| 482 | 'setproctitle_linux.h', |
| 483 | 'sha2.cc', |
| 484 | 'sha2.h', |
joth@chromium.org | 0dd3527 | 2010-10-22 22:12:34 +0900 | [diff] [blame] | 485 | 'sha2_openssl.cc', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 486 | 'string16.cc', |
| 487 | 'string16.h', |
| 488 | 'sync_socket.h', |
| 489 | 'sync_socket_win.cc', |
| 490 | 'sync_socket_posix.cc', |
| 491 | 'time_mac.cc', |
| 492 | 'time_posix.cc', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 493 | ], |
| 494 | 'conditions': [ |
wtc@chromium.org | 56fe64f | 2010-07-09 12:07:58 +0900 | [diff] [blame] | 495 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', { |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 496 | 'conditions': [ |
| 497 | [ 'chromeos==1', { |
| 498 | 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
| 499 | }, |
| 500 | ], |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 501 | ], |
| 502 | 'defines': [ |
| 503 | 'USE_SYMBOLIZE', |
| 504 | ], |
| 505 | 'cflags': [ |
| 506 | '-Wno-write-strings', |
| 507 | ], |
wtc@chromium.org | 56fe64f | 2010-07-09 12:07:58 +0900 | [diff] [blame] | 508 | }, { # OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris" |
wtc@chromium.org | 701c942 | 2010-07-09 01:51:04 +0900 | [diff] [blame] | 509 | 'sources/': [ |
| 510 | ['exclude', '/xdg_user_dirs/'], |
| 511 | ['exclude', '_nss\.cc$'], |
| 512 | ], |
| 513 | }], |
| 514 | [ 'OS != "mac"', { |
| 515 | 'sources!': [ |
| 516 | 'crypto/cssm_init.cc', |
| 517 | 'crypto/cssm_init.h', |
| 518 | ], |
| 519 | },], |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 520 | [ 'OS != "win"', { |
| 521 | 'sources!': [ |
| 522 | 'third_party/purify/pure_api.c', |
| 523 | 'base_drag_source.cc', |
| 524 | 'base_drop_target.cc', |
| 525 | 'cpu.cc', |
davidben@chromium.org | 8c3ccf3 | 2010-06-24 07:46:04 +0900 | [diff] [blame] | 526 | 'crypto/capi_util.h', |
| 527 | 'crypto/capi_util.cc', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 528 | 'debug_on_start.cc', |
| 529 | 'event_recorder.cc', |
| 530 | 'file_version_info.cc', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 531 | 'image_util.cc', |
| 532 | 'object_watcher.cc', |
| 533 | 'pe_image.cc', |
| 534 | 'registry.cc', |
| 535 | 'resource_util.cc', |
| 536 | 'win_util.cc', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 537 | ], |
| 538 | },], |
joth@chromium.org | 0dd3527 | 2010-10-22 22:12:34 +0900 | [diff] [blame] | 539 | [ 'use_openssl==1', { |
| 540 | # TODO(joth): Use a glob to match exclude patterns once the |
| 541 | # OpenSSL file set is complete. |
| 542 | 'sources!': [ |
| 543 | 'crypto/encryptor_nss.cc', |
| 544 | 'crypto/rsa_private_key_nss.cc', |
| 545 | 'crypto/signature_creator_nss.cc', |
| 546 | 'crypto/signature_verifier_nss.cc', |
| 547 | 'crypto/symmetric_key_nss.cc', |
| 548 | 'hmac_nss.cc', |
| 549 | 'nss_util.cc', |
| 550 | 'nss_util.h', |
| 551 | # Note that sha2.cc depends on the NSS files bundled into |
| 552 | # chromium; it does not have the _nss postfix as it is required |
| 553 | # on platforms besides linux and *bsd. |
| 554 | 'sha2.cc', |
| 555 | 'third_party/nss/blapi.h', |
| 556 | 'third_party/nss/blapit.h', |
| 557 | 'third_party/nss/sha256.h', |
| 558 | 'third_party/nss/sha512.cc', |
| 559 | ], |
| 560 | }, { |
| 561 | 'sources!': [ |
| 562 | 'crypto/encryptor_openssl.cc', |
| 563 | 'crypto/rsa_private_key_openssl.cc', |
| 564 | 'crypto/signature_creator_openssl.cc', |
| 565 | 'crypto/signature_verifier_openssl.cc', |
| 566 | 'crypto/symmetric_key_openssl.cc', |
| 567 | 'hmac_openssl.cc', |
| 568 | 'sha2_openssl.cc', |
| 569 | ], |
| 570 | },], |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 571 | ], |
| 572 | }], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 573 | ], |
| 574 | }, |
| 575 | 'targets': [ |
| 576 | { |
| 577 | 'target_name': 'base', |
| 578 | 'type': '<(library)', |
| 579 | 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165', |
| 580 | 'variables': { |
| 581 | 'base_target': 1, |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 582 | 'base_extra_target': 1, |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 583 | }, |
| 584 | 'dependencies': [ |
| 585 | '../third_party/modp_b64/modp_b64.gyp:modp_b64', |
tony@chromium.org | 2ddfe8c | 2010-05-19 17:33:37 +0900 | [diff] [blame] | 586 | 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 587 | ], |
| 588 | # TODO(gregoryd): direct_dependent_settings should be shared with the |
| 589 | # 64-bit target, but it doesn't work due to a bug in gyp |
| 590 | 'direct_dependent_settings': { |
| 591 | 'include_dirs': [ |
| 592 | '..', |
| 593 | ], |
| 594 | }, |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 595 | 'conditions': [ |
pvalchev@google.com | 1d919db | 2010-03-10 16:46:43 +0900 | [diff] [blame] | 596 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 597 | 'conditions': [ |
thestig@chromium.org | bbe65c6 | 2010-07-02 10:12:18 +0900 | [diff] [blame] | 598 | [ 'linux_use_tcmalloc==0', { |
| 599 | 'defines': [ |
| 600 | 'NO_TCMALLOC', |
| 601 | ], |
| 602 | 'direct_dependent_settings': { |
| 603 | 'defines': [ |
| 604 | 'NO_TCMALLOC', |
| 605 | ], |
| 606 | }, |
| 607 | }, |
| 608 | ], |
joth@chromium.org | 0dd3527 | 2010-10-22 22:12:34 +0900 | [diff] [blame] | 609 | [ 'use_openssl==1', { |
| 610 | 'dependencies': [ |
| 611 | '../build/linux/system.gyp:openssl', |
| 612 | ], |
| 613 | }, { # use_openssl==0 |
| 614 | 'dependencies': [ |
| 615 | '../build/linux/system.gyp:nss', |
| 616 | ], |
| 617 | } |
| 618 | ], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 619 | ], |
| 620 | 'dependencies': [ |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 621 | 'symbolize', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 622 | '../build/util/build_util.gyp:lastchange', |
| 623 | '../build/linux/system.gyp:gtk', |
rjkroege@google.com | 3080f44 | 2010-10-23 01:17:47 +0900 | [diff] [blame] | 624 | '../build/linux/system.gyp:x11', |
evan@chromium.org | c4bcf87 | 2010-02-03 11:11:40 +0900 | [diff] [blame] | 625 | 'xdg_mime', |
satorux@chromium.org | 9bd30ff | 2010-01-26 15:26:26 +0900 | [diff] [blame] | 626 | ], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 627 | 'export_dependent_settings': [ |
| 628 | '../build/linux/system.gyp:gtk', |
rjkroege@google.com | 3080f44 | 2010-10-23 01:17:47 +0900 | [diff] [blame] | 629 | '../build/linux/system.gyp:x11', |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 630 | ], |
| 631 | },], |
jam@chromium.org | f497c95 | 2010-06-11 14:41:00 +0900 | [diff] [blame] | 632 | [ 'OS == "freebsd" or OS == "openbsd"', { |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 633 | 'link_settings': { |
| 634 | 'libraries': [ |
| 635 | '-L/usr/local/lib -lexecinfo', |
jam@chromium.org | f497c95 | 2010-06-11 14:41:00 +0900 | [diff] [blame] | 636 | ], |
| 637 | }, |
| 638 | }, |
| 639 | ], |
bradnelson@google.com | 65d8cbf | 2010-06-12 07:45:37 +0900 | [diff] [blame] | 640 | [ 'OS == "linux"', { |
| 641 | 'link_settings': { |
| 642 | 'libraries': [ |
| 643 | # We need rt for clock_gettime(). |
| 644 | '-lrt', |
| 645 | # For 'native_library_linux.cc' |
| 646 | '-ldl', |
| 647 | ], |
| 648 | }, |
| 649 | }], |
jam@chromium.org | f497c95 | 2010-06-11 14:41:00 +0900 | [diff] [blame] | 650 | [ 'OS == "mac"', { |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 651 | 'link_settings': { |
| 652 | 'libraries': [ |
| 653 | '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
| 654 | '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
| 655 | '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 656 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 657 | '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', |
| 658 | '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
| 659 | ], |
| 660 | }, |
jam@chromium.org | f497c95 | 2010-06-11 14:41:00 +0900 | [diff] [blame] | 661 | },], |
wtc@chromium.org | cded8b2 | 2010-06-02 05:28:03 +0900 | [diff] [blame] | 662 | [ 'OS == "mac" or OS == "win"', { |
wtc@chromium.org | 6e6b783 | 2010-01-28 04:36:22 +0900 | [diff] [blame] | 663 | 'dependencies': [ |
| 664 | '../third_party/nss/nss.gyp:nss', |
| 665 | ], |
wtc@chromium.org | cded8b2 | 2010-06-02 05:28:03 +0900 | [diff] [blame] | 666 | },], |
| 667 | [ 'OS != "win"', { |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 668 | 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], |
wtc@chromium.org | 6e6b783 | 2010-01-28 04:36:22 +0900 | [diff] [blame] | 669 | },], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 670 | ], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 671 | }, |
| 672 | ], |
| 673 | 'conditions': [ |
| 674 | [ 'OS == "win"', { |
| 675 | 'targets': [ |
| 676 | { |
| 677 | 'target_name': 'base_nacl_win64', |
| 678 | 'type': '<(library)', |
| 679 | 'msvs_guid': 'CEE1F794-DC70-4FED-B7C4-4C12986672FE', |
| 680 | 'variables': { |
| 681 | 'base_target': 1, |
| 682 | }, |
timurrrr@chromium.org | f39c3ff | 2010-05-14 17:24:42 +0900 | [diff] [blame] | 683 | 'dependencies': [ |
tony@chromium.org | 2ddfe8c | 2010-05-19 17:33:37 +0900 | [diff] [blame] | 684 | 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64', |
timurrrr@chromium.org | f39c3ff | 2010-05-14 17:24:42 +0900 | [diff] [blame] | 685 | ], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 686 | # TODO(gregoryd): direct_dependent_settings should be shared with the |
| 687 | # 32-bit target, but it doesn't work due to a bug in gyp |
| 688 | 'direct_dependent_settings': { |
| 689 | 'include_dirs': [ |
| 690 | '..', |
| 691 | ], |
| 692 | }, |
| 693 | 'defines': [ |
| 694 | '<@(nacl_win64_defines)', |
| 695 | ], |
| 696 | 'sources': [ |
| 697 | 'i18n/icu_util_nacl_win64.cc', |
| 698 | ], |
| 699 | 'configurations': { |
gregoryd@google.com | acc30ba | 2009-12-23 07:57:37 +0900 | [diff] [blame] | 700 | 'Common_Base': { |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 701 | 'msvs_target_platform': 'x64', |
| 702 | }, |
| 703 | }, |
| 704 | }, |
| 705 | ], |
| 706 | }], |
jam@chromium.org | 103e2cc | 2010-06-16 09:53:01 +0900 | [diff] [blame] | 707 | [ 'OS == "linux" and internal_pdf', { |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 708 | 'targets': [ |
| 709 | { |
| 710 | 'target_name': 'base_fpic', |
| 711 | 'type': '<(library)', |
| 712 | 'variables': { |
| 713 | 'base_target': 1, |
| 714 | 'base_extra_target': 1, |
| 715 | }, |
| 716 | 'cflags': [ |
| 717 | '-fPIC', |
| 718 | ], |
| 719 | 'direct_dependent_settings': { |
| 720 | 'include_dirs': [ |
| 721 | '..', |
| 722 | ], |
| 723 | }, |
| 724 | 'conditions': [ |
| 725 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { |
| 726 | 'dependencies': [ |
| 727 | '../build/util/build_util.gyp:lastchange', |
| 728 | '../build/linux/system.gyp:gtk', |
| 729 | '../build/linux/system.gyp:nss', |
rjkroege@google.com | 3080f44 | 2010-10-23 01:17:47 +0900 | [diff] [blame] | 730 | '../build/linux/system.gyp:x11', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 731 | 'xdg_mime', |
| 732 | ], |
| 733 | 'export_dependent_settings': [ |
| 734 | '../build/linux/system.gyp:gtk', |
rjkroege@google.com | 3080f44 | 2010-10-23 01:17:47 +0900 | [diff] [blame] | 735 | '../build/linux/system.gyp:x11', |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 736 | ], |
| 737 | },], |
bradnelson@google.com | 65d8cbf | 2010-06-12 07:45:37 +0900 | [diff] [blame] | 738 | ['OS == "linux"', { |
| 739 | 'link_settings': { |
| 740 | 'libraries': [ |
| 741 | # We need rt for clock_gettime(). |
| 742 | '-lrt', |
| 743 | # For 'native_library_linux.cc' |
| 744 | '-ldl', |
| 745 | ], |
| 746 | }, |
| 747 | }], |
jam@chromium.org | ef265dd | 2010-06-12 06:30:37 +0900 | [diff] [blame] | 748 | [ 'OS == "mac" or OS == "win"', { |
| 749 | 'dependencies': [ |
| 750 | '../third_party/nss/nss.gyp:nss', |
| 751 | ], |
| 752 | },], |
| 753 | [ 'OS != "win"', { |
| 754 | 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], |
| 755 | },], |
| 756 | ], |
| 757 | }, |
| 758 | ], |
| 759 | }], |
evan@chromium.org | 089339c | 2010-04-01 09:35:15 +0900 | [diff] [blame] | 760 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', { |
satorux@chromium.org | 9bd30ff | 2010-01-26 15:26:26 +0900 | [diff] [blame] | 761 | 'targets': [ |
| 762 | { |
| 763 | 'target_name': 'symbolize', |
| 764 | 'type': '<(library)', |
mark@chromium.org | 9cc0926 | 2010-02-17 04:13:36 +0900 | [diff] [blame] | 765 | 'variables': { |
| 766 | 'chromium_code': 0, |
| 767 | }, |
evan@chromium.org | 089339c | 2010-04-01 09:35:15 +0900 | [diff] [blame] | 768 | 'conditions': [ |
| 769 | [ 'OS == "solaris"', { |
| 770 | 'include_dirs': [ |
| 771 | '/usr/gnu/include', |
| 772 | '/usr/gnu/include/libelf', |
| 773 | ], |
| 774 | },], |
| 775 | ], |
satorux@chromium.org | 9bd30ff | 2010-01-26 15:26:26 +0900 | [diff] [blame] | 776 | 'cflags': [ |
| 777 | '-Wno-sign-compare', |
| 778 | ], |
evan@chromium.org | a6768f5 | 2010-02-06 07:23:20 +0900 | [diff] [blame] | 779 | 'cflags!': [ |
| 780 | '-Wextra', |
| 781 | ], |
satorux@chromium.org | 9bd30ff | 2010-01-26 15:26:26 +0900 | [diff] [blame] | 782 | 'sources': [ |
| 783 | 'third_party/symbolize/symbolize.cc', |
| 784 | 'third_party/symbolize/demangle.cc', |
| 785 | ], |
| 786 | }, |
evan@chromium.org | c4bcf87 | 2010-02-03 11:11:40 +0900 | [diff] [blame] | 787 | { |
| 788 | 'target_name': 'xdg_mime', |
| 789 | 'type': '<(library)', |
mark@chromium.org | 9cc0926 | 2010-02-17 04:13:36 +0900 | [diff] [blame] | 790 | 'variables': { |
| 791 | 'chromium_code': 0, |
| 792 | }, |
evan@chromium.org | a6768f5 | 2010-02-06 07:23:20 +0900 | [diff] [blame] | 793 | 'cflags!': [ |
| 794 | '-Wextra', |
| 795 | ], |
evan@chromium.org | c4bcf87 | 2010-02-03 11:11:40 +0900 | [diff] [blame] | 796 | 'sources': [ |
| 797 | 'third_party/xdg_mime/xdgmime.c', |
| 798 | 'third_party/xdg_mime/xdgmime.h', |
| 799 | 'third_party/xdg_mime/xdgmimealias.c', |
| 800 | 'third_party/xdg_mime/xdgmimealias.h', |
| 801 | 'third_party/xdg_mime/xdgmimecache.c', |
| 802 | 'third_party/xdg_mime/xdgmimecache.h', |
| 803 | 'third_party/xdg_mime/xdgmimeglob.c', |
| 804 | 'third_party/xdg_mime/xdgmimeglob.h', |
| 805 | 'third_party/xdg_mime/xdgmimeicon.c', |
| 806 | 'third_party/xdg_mime/xdgmimeicon.h', |
| 807 | 'third_party/xdg_mime/xdgmimeint.c', |
| 808 | 'third_party/xdg_mime/xdgmimeint.h', |
| 809 | 'third_party/xdg_mime/xdgmimemagic.c', |
| 810 | 'third_party/xdg_mime/xdgmimemagic.h', |
| 811 | 'third_party/xdg_mime/xdgmimeparent.c', |
| 812 | 'third_party/xdg_mime/xdgmimeparent.h', |
| 813 | ], |
| 814 | }, |
satorux@chromium.org | 9bd30ff | 2010-01-26 15:26:26 +0900 | [diff] [blame] | 815 | ], |
| 816 | }], |
gregoryd@google.com | 9e3cfd6 | 2009-12-05 07:46:50 +0900 | [diff] [blame] | 817 | ], |
| 818 | } |