blob: 2553ab54bfdb3816716d203bb3a31411ad780b08 [file] [log] [blame]
[email protected]225c8f52010-02-05 22:23:201# Copyright (c) 2010 The Chromium Authors. All rights reserved.
[email protected]ef4fa4072009-12-04 22:46:502# 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]97a28e722010-06-11 21:30:379 'base_extra_target': 0,
[email protected]ef4fa4072009-12-04 22:46:5010 },
11 'target_conditions': [
[email protected]0ea54822010-07-01 20:14:5012 # This part is shared between the targets defined below.
[email protected]ef4fa4072009-12-04 22:46:5013 ['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]ef4fa4072009-12-04 22:46:5023 'at_exit.cc',
24 'at_exit.h',
25 'atomic_ref_count.h',
26 'atomic_sequence_num.h',
27 'atomicops.h',
[email protected]9bc8cff2010-04-03 01:05:3928 'atomicops_internals_x86_gcc.cc',
[email protected]ef4fa4072009-12-04 22:46:5029 'atomicops_internals_x86_msvc.h',
30 'base_paths.cc',
31 'base_paths.h',
32 'base_paths_mac.h',
33 'base_paths_mac.mm',
34 'base_paths_posix.cc',
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]2041cf342010-02-19 03:15:5942 'callback.h',
[email protected]ef4fa4072009-12-04 22:46:5043 'cancellation_flag.cc',
[email protected]9bc8cff2010-04-03 01:05:3944 'cancellation_flag.h',
[email protected]ef4fa4072009-12-04 22:46:5045 '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',
61 'debug_util_posix.cc',
62 'debug_util_win.cc',
[email protected]ef73044e2010-03-11 15:25:5463 'dir_reader_fallback.h',
64 'dir_reader_linux.h',
65 'dir_reader_posix.h',
[email protected]9bc8cff2010-04-03 01:05:3966 'env_var.cc',
67 'env_var.h',
[email protected]ef4fa4072009-12-04 22:46:5068 'event_trace_consumer_win.h',
69 'event_trace_controller_win.cc',
70 'event_trace_controller_win.h',
71 'event_trace_provider_win.cc',
72 'event_trace_provider_win.h',
[email protected]687e25d2010-05-19 03:39:2773 'event_synthesis_gtk.cc',
74 'event_synthesis_gtk.h',
[email protected]ef4fa4072009-12-04 22:46:5075 'file_path.cc',
76 'file_path.h',
77 'file_util.cc',
78 'file_util.h',
[email protected]a84ab952010-02-23 11:34:5479 'file_util_deprecated.h',
[email protected]ef4fa4072009-12-04 22:46:5080 'file_util_mac.mm',
81 'file_util_posix.cc',
82 'file_util_win.cc',
[email protected]ef4fa4072009-12-04 22:46:5083 'file_version_info.h',
[email protected]bcff05a2010-04-14 01:46:4384 'file_version_info_mac.h',
[email protected]ef4fa4072009-12-04 22:46:5085 'file_version_info_mac.mm',
[email protected]bcff05a2010-04-14 01:46:4386 'file_version_info_win.cc',
87 'file_version_info_win.h',
[email protected]ef4fa4072009-12-04 22:46:5088 'fix_wp64.h',
89 'float_util.h',
90 'foundation_utils_mac.h',
[email protected]ef4fa4072009-12-04 22:46:5091 'global_descriptors_posix.cc',
[email protected]9bc8cff2010-04-03 01:05:3992 'global_descriptors_posix.h',
[email protected]a918f872010-06-01 14:30:5193 'gtest_prod_util.h',
[email protected]0ea54822010-07-01 20:14:5094 'gtk_util.cc',
95 'gtk_util.h',
[email protected]ef4fa4072009-12-04 22:46:5096 'hash_tables.h',
97 'histogram.cc',
98 'histogram.h',
99 'iat_patch.cc',
100 'iat_patch.h',
101 'id_map.h',
102 'lazy_instance.cc',
103 'lazy_instance.h',
104 'leak_annotations.h',
105 'leak_tracker.h',
106 'linked_list.h',
107 'linked_ptr.h',
108 'lock.cc',
109 'lock.h',
110 'lock_impl.h',
111 'lock_impl_posix.cc',
112 'lock_impl_win.cc',
113 'logging.cc',
[email protected]ef4fa4072009-12-04 22:46:50114 'logging.h',
[email protected]9bc8cff2010-04-03 01:05:39115 'logging_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50116 'mac_util.h',
117 'mac_util.mm',
[email protected]c0028792010-01-12 00:39:15118 'mach_ipc_mac.h',
119 'mach_ipc_mac.mm',
[email protected]ef4fa4072009-12-04 22:46:50120 'memory_debug.cc',
121 'memory_debug.h',
122 'message_loop.cc',
123 'message_loop.h',
[email protected]2cbac9e2010-04-29 03:31:34124 'message_loop_proxy.h',
[email protected]656475d2010-05-06 18:34:24125 'message_loop_proxy_impl.cc',
126 'message_loop_proxy_impl.h',
[email protected]ef4fa4072009-12-04 22:46:50127 'message_pump.h',
128 'message_pump_default.cc',
129 'message_pump_default.h',
130 'message_pump_win.cc',
131 'message_pump_win.h',
132 'mime_util.h',
[email protected]1c657852010-04-22 23:28:05133 'mime_util_xdg.cc',
[email protected]0fecda62010-03-19 21:59:01134 'move.h',
[email protected]ef4fa4072009-12-04 22:46:50135 'native_library.h',
136 'native_library_linux.cc',
137 'native_library_mac.mm',
138 'native_library_win.cc',
139 'non_thread_safe.cc',
140 'non_thread_safe.h',
141 'nullable_string16.h',
142 'object_watcher.cc',
143 'object_watcher.h',
144 'observer_list.h',
145 'observer_list_threadsafe.h',
146 'path_service.cc',
147 'path_service.h',
[email protected]4bc818e2010-02-04 22:47:37148 'pe_image.cc',
149 'pe_image.h',
[email protected]ef4fa4072009-12-04 22:46:50150 'pickle.cc',
151 'pickle.h',
152 'platform_file.h',
[email protected]ef4fa4072009-12-04 22:46:50153 'platform_file_posix.cc',
[email protected]9bc8cff2010-04-03 01:05:39154 'platform_file_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50155 'platform_thread.h',
156 'platform_thread_mac.mm',
157 'platform_thread_posix.cc',
158 'platform_thread_win.cc',
159 'port.h',
[email protected]ef4fa4072009-12-04 22:46:50160 'process.h',
161 'process_linux.cc',
162 'process_posix.cc',
[email protected]b6128aa2010-04-29 17:44:42163 'process_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50164 'process_util.h',
165 'process_util_linux.cc',
166 'process_util_mac.mm',
167 'process_util_posix.cc',
168 'process_util_win.cc',
169 'process_win.cc',
[email protected]9bc8cff2010-04-03 01:05:39170 'profiler.cc',
171 'profiler.h',
[email protected]ef4fa4072009-12-04 22:46:50172 'rand_util.cc',
173 'rand_util.h',
174 'rand_util_posix.cc',
175 'rand_util_win.cc',
176 'raw_scoped_refptr_mismatch_checker.h',
177 'ref_counted.cc',
178 'ref_counted.h',
179 'ref_counted_memory.h',
180 'registry.cc',
181 'registry.h',
182 'resource_util.cc',
183 'resource_util.h',
184 'safe_strerror_posix.cc',
185 'safe_strerror_posix.h',
186 'scoped_bstr_win.cc',
187 'scoped_bstr_win.h',
188 'scoped_cftyperef.h',
189 'scoped_comptr_win.h',
190 'scoped_handle.h',
[email protected]ef4fa4072009-12-04 22:46:50191 'scoped_handle_win.h',
192 'scoped_nsautorelease_pool.h',
193 'scoped_nsautorelease_pool.mm',
194 'scoped_nsdisable_screen_updates.h',
195 'scoped_nsobject.h',
[email protected]8ceb44c2010-02-24 22:27:04196 'scoped_open_process.h',
[email protected]ef4fa4072009-12-04 22:46:50197 'scoped_ptr.h',
198 'scoped_temp_dir.cc',
199 'scoped_temp_dir.h',
200 'scoped_variant_win.cc',
201 'scoped_variant_win.h',
202 'scoped_vector.h',
[email protected]ef4fa4072009-12-04 22:46:50203 'sha1.h',
[email protected]94d557e2010-06-23 21:41:40204 'sha1_portable.cc',
205 'sha1_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50206 'shared_memory.h',
207 'shared_memory_posix.cc',
208 'shared_memory_win.cc',
209 'simple_thread.cc',
210 'simple_thread.h',
211 'singleton.h',
212 'spin_wait.h',
213 'stack_container.h',
214 'stats_counters.h',
215 'stats_table.cc',
216 'stats_table.h',
217 'stl_util-inl.h',
218 'string_piece.cc',
219 'string_piece.h',
[email protected]0477554f2010-01-21 19:29:25220 'string_split.cc',
221 'string_split.h',
[email protected]ef4fa4072009-12-04 22:46:50222 'string_tokenizer.h',
223 'string_util.cc',
224 'string_util.h',
225 'string_util_win.h',
226 'sys_info.h',
227 'sys_info_chromeos.cc',
228 'sys_info_freebsd.cc',
229 'sys_info_linux.cc',
230 'sys_info_mac.cc',
231 'sys_info_openbsd.cc',
232 'sys_info_posix.cc',
233 'sys_info_win.cc',
234 'sys_string_conversions.h',
235 'sys_string_conversions_linux.cc',
236 'sys_string_conversions_mac.mm',
237 'sys_string_conversions_win.cc',
[email protected]3a3d47472010-07-15 21:03:54238 'task.cc',
[email protected]ef4fa4072009-12-04 22:46:50239 'task.h',
[email protected]951269b2010-06-15 19:39:24240 'template_util.h',
[email protected]ef4fa4072009-12-04 22:46:50241 'thread.cc',
242 'thread.h',
243 'thread_collision_warner.cc',
244 'thread_collision_warner.h',
245 'thread_local.h',
246 'thread_local_posix.cc',
247 'thread_local_storage.h',
248 'thread_local_storage_posix.cc',
249 'thread_local_storage_win.cc',
250 'thread_local_win.cc',
251 'time.cc',
252 'time.h',
253 'time_win.cc',
254 'timer.cc',
255 'timer.h',
[email protected]3e569552010-05-07 20:25:49256 'trace_event_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50257 'trace_event.cc',
258 'trace_event.h',
259 'tracked.cc',
260 'tracked.h',
261 'tracked_objects.cc',
262 'tracked_objects.h',
263 'tuple.h',
[email protected]9bc8cff2010-04-03 01:05:39264 'unix_domain_socket_posix.cc',
[email protected]ef4fa4072009-12-04 22:46:50265 'utf_offset_string_conversions.cc',
266 'utf_offset_string_conversions.h',
267 'utf_string_conversion_utils.cc',
268 'utf_string_conversion_utils.h',
269 'utf_string_conversions.cc',
270 'utf_string_conversions.h',
[email protected]c604a552010-03-22 20:12:50271 'values.cc',
272 'values.h',
[email protected]ef4fa4072009-12-04 22:46:50273 'waitable_event.h',
274 'waitable_event_posix.cc',
275 'waitable_event_watcher.h',
276 'waitable_event_watcher_posix.cc',
277 'waitable_event_watcher_win.cc',
278 'waitable_event_win.cc',
279 'watchdog.cc',
280 'watchdog.h',
[email protected]3a3d47472010-07-15 21:03:54281 'weak_ptr.cc',
[email protected]ef4fa4072009-12-04 22:46:50282 'weak_ptr.h',
283 'win_util.cc',
284 'win_util.h',
285 'windows_message_list.h',
286 'wmi_util.cc',
287 'wmi_util.h',
288 'worker_pool.h',
289 'worker_pool_linux.cc',
290 'worker_pool_linux.h',
291 'worker_pool_mac.h',
292 'worker_pool_mac.mm',
293 'worker_pool_win.cc',
[email protected]1c657852010-04-22 23:28:05294 'xdg_util.h',
295 'xdg_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50296 ],
297 'include_dirs': [
298 '..',
299 ],
300 # These warnings are needed for the files in third_party\dmg_fp.
301 'msvs_disabled_warnings': [
302 4244, 4554, 4018, 4102,
303 ],
304 'mac_framework_dirs': [
305 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks',
306 ],
307 'conditions': [
[email protected]93f21e42010-04-01 00:35:15308 [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"', {
[email protected]ef4fa4072009-12-04 22:46:50309 'sources/': [
[email protected]1c657852010-04-22 23:28:05310 ['exclude', '/xdg_[^/]*\\.cc$'],
[email protected]ef4fa4072009-12-04 22:46:50311 ],
312 'sources!': [
313 'atomicops_internals_x86_gcc.cc',
314 'base_paths_posix.cc',
[email protected]ef4fa4072009-12-04 22:46:50315 'message_pump_glib.cc',
[email protected]1c657852010-04-22 23:28:05316 'xdg_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50317 ],
[email protected]bcff05a2010-04-14 01:46:43318 }],
[email protected]ef4fa4072009-12-04 22:46:50319 [ 'OS != "linux"', {
320 'sources!': [
321 # Not automatically excluded by the *linux.cc rules.
[email protected]0ea54822010-07-01 20:14:50322 'gtk_util.cc',
323 'gtk_util.h',
[email protected]1c657852010-04-22 23:28:05324 'linux_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50325 'setproctitle_linux.c',
326 'setproctitle_linux.h',
327 ],
328 },
329 ],
330 # For now, just test the *BSD platforms enough to exclude them.
331 # Subsequent changes will include them further.
332 [ 'OS != "freebsd"', {
333 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
334 },
335 ],
336 [ 'OS != "openbsd"', {
337 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
338 },
339 ],
[email protected]ef4fa4072009-12-04 22:46:50340 [ 'OS == "win"', {
341 'include_dirs': [
[email protected]cd134c8c2010-03-09 05:23:12342 '<(DEPTH)/third_party/wtl/include',
[email protected]ef4fa4072009-12-04 22:46:50343 ],
344 'sources!': [
[email protected]ef4fa4072009-12-04 22:46:50345 'event_recorder_stubs.cc',
346 'file_descriptor_shuffle.cc',
347 'message_pump_libevent.cc',
[email protected]5ac07d5b2010-06-25 21:53:41348 # Not using sha1_win.cc because it may have caused a
349 # regression to page cycler moz.
350 'sha1_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50351 'string16.cc',
[email protected]3e569552010-05-07 20:25:49352 'trace_event.cc',
[email protected]ef4fa4072009-12-04 22:46:50353 ],
354 },],
355 ],
356 }],
[email protected]90f18912010-07-08 16:51:04357 ['base_extra_target==1', {
[email protected]97a28e722010-06-11 21:30:37358 'sources': [
[email protected]3bcd57902010-06-23 22:46:04359 'crypto/capi_util.cc',
360 'crypto/capi_util.h',
[email protected]97a28e722010-06-11 21:30:37361 'crypto/cssm_init.cc',
362 'crypto/cssm_init.h',
363 'crypto/encryptor.h',
364 'crypto/encryptor_mac.cc',
365 'crypto/encryptor_nss.cc',
366 'crypto/encryptor_win.cc',
367 'crypto/rsa_private_key.h',
368 'crypto/rsa_private_key.cc',
369 'crypto/rsa_private_key_mac.cc',
370 'crypto/rsa_private_key_nss.cc',
371 'crypto/rsa_private_key_win.cc',
372 'crypto/signature_creator.h',
373 'crypto/signature_creator_mac.cc',
374 'crypto/signature_creator_nss.cc',
375 'crypto/signature_creator_win.cc',
376 'crypto/signature_verifier.h',
377 'crypto/signature_verifier_mac.cc',
378 'crypto/signature_verifier_nss.cc',
379 'crypto/signature_verifier_win.cc',
380 'crypto/symmetric_key.h',
381 'crypto/symmetric_key_mac.cc',
382 'crypto/symmetric_key_nss.cc',
383 'crypto/symmetric_key_win.cc',
384 'third_party/nspr/prcpucfg.h',
385 'third_party/nspr/prcpucfg_win.h',
386 'third_party/nspr/prtypes.h',
387 'third_party/nss/blapi.h',
388 'third_party/nss/blapit.h',
389 'third_party/nss/sha256.h',
390 'third_party/nss/sha512.cc',
391 'third_party/purify/pure.h',
392 'third_party/purify/pure_api.c',
393 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
394 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h',
395 'auto_reset.h',
396 'base64.cc',
397 'base64.h',
398 'base_drag_source.cc',
399 'base_drag_source.h',
400 'base_drop_target.cc',
401 'base_drop_target.h',
402 'data_pack.cc',
403 'event_recorder.cc',
404 'event_recorder.h',
405 'event_recorder_stubs.cc',
406 'field_trial.cc',
407 'field_trial.h',
408 'file_descriptor_shuffle.cc',
409 'file_descriptor_shuffle.h',
410 'hmac.h',
411 'hmac_mac.cc',
412 'hmac_nss.cc',
413 'hmac_win.cc',
414 'image_util.cc',
415 'image_util.h',
416 'json/json_reader.cc',
417 'json/json_reader.h',
418 'json/json_writer.cc',
419 'json/json_writer.h',
420 'json/string_escape.cc',
421 'json/string_escape.h',
422 'keyboard_code_conversion_gtk.cc',
423 'keyboard_code_conversion_gtk.h',
[email protected]853300a82010-07-27 21:17:57424 'keyboard_code_conversion_mac.mm',
425 'keyboard_code_conversion_mac.h',
[email protected]97a28e722010-06-11 21:30:37426 'keyboard_codes.h',
427 'keyboard_codes_win.h',
428 'keyboard_codes_posix.h',
429 'linux_util.cc',
430 'linux_util.h',
431 'md5.cc',
432 'md5.h',
433 'message_pump_glib.cc',
434 'message_pump_glib.h',
435 'message_pump_libevent.cc',
436 'message_pump_libevent.h',
437 'message_pump_mac.h',
438 'message_pump_mac.mm',
439 'nsimage_cache_mac.h',
440 'nsimage_cache_mac.mm',
441 'nss_util.cc',
442 'nss_util.h',
443 'setproctitle_linux.c',
444 'setproctitle_linux.h',
445 'sha2.cc',
446 'sha2.h',
447 'string16.cc',
448 'string16.h',
449 'sync_socket.h',
450 'sync_socket_win.cc',
451 'sync_socket_posix.cc',
452 'time_mac.cc',
453 'time_posix.cc',
454 'version.cc',
455 'version.h',
456 ],
457 'conditions': [
[email protected]e001408d2010-07-09 03:07:58458 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
[email protected]97a28e722010-06-11 21:30:37459 'conditions': [
460 [ 'chromeos==1', {
461 'sources/': [ ['include', '_chromeos\\.cc$'] ]
462 },
463 ],
[email protected]97a28e722010-06-11 21:30:37464 ],
465 'defines': [
466 'USE_SYMBOLIZE',
467 ],
468 'cflags': [
469 '-Wno-write-strings',
470 ],
[email protected]e001408d2010-07-09 03:07:58471 }, { # OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"
[email protected]90f18912010-07-08 16:51:04472 'sources/': [
473 ['exclude', '/xdg_user_dirs/'],
474 ['exclude', '_nss\.cc$'],
475 ],
476 }],
477 [ 'OS != "mac"', {
478 'sources!': [
479 'crypto/cssm_init.cc',
480 'crypto/cssm_init.h',
481 ],
482 },],
[email protected]97a28e722010-06-11 21:30:37483 [ 'OS != "win"', {
484 'sources!': [
485 'third_party/purify/pure_api.c',
486 'base_drag_source.cc',
487 'base_drop_target.cc',
488 'cpu.cc',
[email protected]3bcd57902010-06-23 22:46:04489 'crypto/capi_util.h',
490 'crypto/capi_util.cc',
[email protected]97a28e722010-06-11 21:30:37491 'debug_on_start.cc',
492 'event_recorder.cc',
493 'file_version_info.cc',
494 'iat_patch.cc',
495 'image_util.cc',
496 'object_watcher.cc',
497 'pe_image.cc',
498 'registry.cc',
499 'resource_util.cc',
500 'win_util.cc',
501 'wmi_util.cc',
502 ],
503 },],
504 ],
505 }],
[email protected]ef4fa4072009-12-04 22:46:50506 ],
507 },
508 'targets': [
509 {
510 'target_name': 'base',
511 'type': '<(library)',
512 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165',
513 'variables': {
514 'base_target': 1,
[email protected]97a28e722010-06-11 21:30:37515 'base_extra_target': 1,
[email protected]ef4fa4072009-12-04 22:46:50516 },
517 'dependencies': [
518 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
[email protected]b4a0b99952010-05-19 08:33:37519 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]ef4fa4072009-12-04 22:46:50520 ],
521 # TODO(gregoryd): direct_dependent_settings should be shared with the
522 # 64-bit target, but it doesn't work due to a bug in gyp
523 'direct_dependent_settings': {
524 'include_dirs': [
525 '..',
526 ],
527 },
[email protected]ef4fa4072009-12-04 22:46:50528 'conditions': [
[email protected]66700d42010-03-10 07:46:43529 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
[email protected]ef4fa4072009-12-04 22:46:50530 'conditions': [
[email protected]3e0a8b82010-07-02 01:12:18531 [ 'linux_use_tcmalloc==0', {
532 'defines': [
533 'NO_TCMALLOC',
534 ],
535 'direct_dependent_settings': {
536 'defines': [
537 'NO_TCMALLOC',
538 ],
539 },
540 },
541 ],
[email protected]ef8f5ba2010-04-02 14:54:22542 [ 'linux_use_tcmalloc==1', {
543 'dependencies': [
544 'allocator/allocator.gyp:allocator',
545 ],
546 },
547 ],
[email protected]ef4fa4072009-12-04 22:46:50548 ],
549 'dependencies': [
[email protected]97a28e722010-06-11 21:30:37550 'symbolize',
[email protected]ef4fa4072009-12-04 22:46:50551 '../build/util/build_util.gyp:lastchange',
552 '../build/linux/system.gyp:gtk',
553 '../build/linux/system.gyp:nss',
[email protected]2d48004e2010-02-03 02:11:40554 'xdg_mime',
[email protected]48c27f72010-01-26 06:26:26555 ],
[email protected]ef4fa4072009-12-04 22:46:50556 'export_dependent_settings': [
557 '../build/linux/system.gyp:gtk',
558 ],
559 },],
[email protected]1d53ce12010-06-11 05:41:00560 [ 'OS == "freebsd" or OS == "openbsd"', {
[email protected]97a28e722010-06-11 21:30:37561 'link_settings': {
562 'libraries': [
563 '-L/usr/local/lib -lexecinfo',
[email protected]1d53ce12010-06-11 05:41:00564 ],
565 },
566 },
567 ],
[email protected]72d31962010-06-11 22:45:37568 [ 'OS == "linux"', {
569 'link_settings': {
570 'libraries': [
571 # We need rt for clock_gettime().
572 '-lrt',
573 # For 'native_library_linux.cc'
574 '-ldl',
575 ],
576 },
577 }],
[email protected]1d53ce12010-06-11 05:41:00578 [ 'OS == "mac"', {
[email protected]97a28e722010-06-11 21:30:37579 'link_settings': {
580 'libraries': [
581 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
582 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
583 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
584 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
585 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
586 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
587 ],
588 },
[email protected]1d53ce12010-06-11 05:41:00589 },],
[email protected]3dd6f5e2010-06-01 20:28:03590 [ 'OS == "mac" or OS == "win"', {
[email protected]abd4aba2010-01-27 19:36:22591 'dependencies': [
592 '../third_party/nss/nss.gyp:nss',
593 ],
[email protected]3dd6f5e2010-06-01 20:28:03594 },],
595 [ 'OS != "win"', {
[email protected]ef4fa4072009-12-04 22:46:50596 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
[email protected]abd4aba2010-01-27 19:36:22597 },],
[email protected]ef4fa4072009-12-04 22:46:50598 ],
[email protected]ef4fa4072009-12-04 22:46:50599 },
600 ],
601 'conditions': [
602 [ 'OS == "win"', {
603 'targets': [
604 {
605 'target_name': 'base_nacl_win64',
606 'type': '<(library)',
607 'msvs_guid': 'CEE1F794-DC70-4FED-B7C4-4C12986672FE',
608 'variables': {
609 'base_target': 1,
610 },
[email protected]ee857512010-05-14 08:24:42611 'dependencies': [
[email protected]b4a0b99952010-05-19 08:33:37612 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
[email protected]ee857512010-05-14 08:24:42613 ],
[email protected]ef4fa4072009-12-04 22:46:50614 # TODO(gregoryd): direct_dependent_settings should be shared with the
615 # 32-bit target, but it doesn't work due to a bug in gyp
616 'direct_dependent_settings': {
617 'include_dirs': [
618 '..',
619 ],
620 },
621 'defines': [
622 '<@(nacl_win64_defines)',
623 ],
624 'sources': [
625 'i18n/icu_util_nacl_win64.cc',
626 ],
627 'configurations': {
[email protected]8782f7072009-12-22 22:57:37628 'Common_Base': {
[email protected]ef4fa4072009-12-04 22:46:50629 'msvs_target_platform': 'x64',
630 },
631 },
632 },
633 ],
634 }],
[email protected]0c2583a92010-06-16 00:53:01635 [ 'OS == "linux" and internal_pdf', {
[email protected]97a28e722010-06-11 21:30:37636 'targets': [
637 {
638 'target_name': 'base_fpic',
639 'type': '<(library)',
640 'variables': {
641 'base_target': 1,
642 'base_extra_target': 1,
643 },
644 'cflags': [
645 '-fPIC',
646 ],
[email protected]93c4eb0d42010-06-15 01:54:26647 # Official builds set -gstabs, which fails when building with -fPIC.
648 # It's useless on 64 bits anyways because breakpad doesn't work then.
649 'cflags!': [
650 '-gstabs',
651 ],
[email protected]97a28e722010-06-11 21:30:37652 'direct_dependent_settings': {
653 'include_dirs': [
654 '..',
655 ],
656 },
657 'conditions': [
658 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
659 'dependencies': [
660 '../build/util/build_util.gyp:lastchange',
661 '../build/linux/system.gyp:gtk',
662 '../build/linux/system.gyp:nss',
663 'xdg_mime',
664 ],
665 'export_dependent_settings': [
666 '../build/linux/system.gyp:gtk',
667 ],
668 },],
[email protected]72d31962010-06-11 22:45:37669 ['OS == "linux"', {
670 'link_settings': {
671 'libraries': [
672 # We need rt for clock_gettime().
673 '-lrt',
674 # For 'native_library_linux.cc'
675 '-ldl',
676 ],
677 },
678 }],
[email protected]97a28e722010-06-11 21:30:37679 [ 'OS == "mac" or OS == "win"', {
680 'dependencies': [
681 '../third_party/nss/nss.gyp:nss',
682 ],
683 },],
684 [ 'OS != "win"', {
685 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
686 },],
687 ],
688 },
689 ],
690 }],
[email protected]93f21e42010-04-01 00:35:15691 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
[email protected]48c27f72010-01-26 06:26:26692 'targets': [
693 {
694 'target_name': 'symbolize',
695 'type': '<(library)',
[email protected]076cf932010-02-16 19:13:36696 'variables': {
697 'chromium_code': 0,
698 },
[email protected]93f21e42010-04-01 00:35:15699 'conditions': [
700 [ 'OS == "solaris"', {
701 'include_dirs': [
702 '/usr/gnu/include',
703 '/usr/gnu/include/libelf',
704 ],
705 },],
706 ],
[email protected]48c27f72010-01-26 06:26:26707 'cflags': [
708 '-Wno-sign-compare',
709 ],
[email protected]225c8f52010-02-05 22:23:20710 'cflags!': [
711 '-Wextra',
712 ],
[email protected]48c27f72010-01-26 06:26:26713 'sources': [
714 'third_party/symbolize/symbolize.cc',
715 'third_party/symbolize/demangle.cc',
716 ],
717 },
[email protected]2d48004e2010-02-03 02:11:40718 {
719 'target_name': 'xdg_mime',
720 'type': '<(library)',
[email protected]076cf932010-02-16 19:13:36721 'variables': {
722 'chromium_code': 0,
723 },
[email protected]225c8f52010-02-05 22:23:20724 'cflags!': [
725 '-Wextra',
726 ],
[email protected]2d48004e2010-02-03 02:11:40727 'sources': [
728 'third_party/xdg_mime/xdgmime.c',
729 'third_party/xdg_mime/xdgmime.h',
730 'third_party/xdg_mime/xdgmimealias.c',
731 'third_party/xdg_mime/xdgmimealias.h',
732 'third_party/xdg_mime/xdgmimecache.c',
733 'third_party/xdg_mime/xdgmimecache.h',
734 'third_party/xdg_mime/xdgmimeglob.c',
735 'third_party/xdg_mime/xdgmimeglob.h',
736 'third_party/xdg_mime/xdgmimeicon.c',
737 'third_party/xdg_mime/xdgmimeicon.h',
738 'third_party/xdg_mime/xdgmimeint.c',
739 'third_party/xdg_mime/xdgmimeint.h',
740 'third_party/xdg_mime/xdgmimemagic.c',
741 'third_party/xdg_mime/xdgmimemagic.h',
742 'third_party/xdg_mime/xdgmimeparent.c',
743 'third_party/xdg_mime/xdgmimeparent.h',
744 ],
745 },
[email protected]48c27f72010-01-26 06:26:26746 ],
747 }],
[email protected]ef4fa4072009-12-04 22:46:50748 ],
749}