blob: 42c1c47037331a9747012b0293da9bed9d766904 [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': [
12 # This part is shared between the targets defined below. Only files and
13 # settings relevant for building the Win64 target should be added here.
14 # All the rest should be added to the 'base' target below.
15 ['base_target==1', {
16 'sources': [
17 '../build/build_config.h',
18 'third_party/dmg_fp/dmg_fp.h',
19 'third_party/dmg_fp/dtoa.cc',
20 'third_party/dmg_fp/g_fmt.cc',
21 'third_party/icu/icu_utf.cc',
22 'third_party/icu/icu_utf.h',
23 'third_party/nspr/prtime.cc',
24 'third_party/nspr/prtime.h',
[email protected]ef4fa4072009-12-04 22:46:5025 'at_exit.cc',
26 'at_exit.h',
27 'atomic_ref_count.h',
28 'atomic_sequence_num.h',
29 'atomicops.h',
[email protected]9bc8cff2010-04-03 01:05:3930 'atomicops_internals_x86_gcc.cc',
[email protected]ef4fa4072009-12-04 22:46:5031 'atomicops_internals_x86_msvc.h',
32 'base_paths.cc',
33 'base_paths.h',
34 'base_paths_mac.h',
35 'base_paths_mac.mm',
36 'base_paths_posix.cc',
37 'base_paths_win.cc',
38 'base_paths_win.h',
39 'base_switches.cc',
40 'base_switches.h',
41 'basictypes.h',
42 'bits.h',
43 'bzip2_error_handler.cc',
[email protected]2041cf342010-02-19 03:15:5944 'callback.h',
[email protected]ef4fa4072009-12-04 22:46:5045 'cancellation_flag.cc',
[email protected]9bc8cff2010-04-03 01:05:3946 'cancellation_flag.h',
[email protected]ef4fa4072009-12-04 22:46:5047 'chrome_application_mac.h',
48 'chrome_application_mac.mm',
49 'cocoa_protocols_mac.h',
50 'command_line.cc',
51 'command_line.h',
52 'compiler_specific.h',
53 'condition_variable.h',
54 'condition_variable_posix.cc',
55 'condition_variable_win.cc',
56 'cpu.cc',
57 'cpu.h',
58 'debug_on_start.cc',
59 'debug_on_start.h',
60 'debug_util.cc',
61 'debug_util.h',
62 'debug_util_mac.cc',
63 'debug_util_posix.cc',
64 'debug_util_win.cc',
[email protected]ef73044e2010-03-11 15:25:5465 'dir_reader_fallback.h',
66 'dir_reader_linux.h',
67 'dir_reader_posix.h',
[email protected]9bc8cff2010-04-03 01:05:3968 'env_var.cc',
69 'env_var.h',
[email protected]ef4fa4072009-12-04 22:46:5070 'event_trace_consumer_win.h',
71 'event_trace_controller_win.cc',
72 'event_trace_controller_win.h',
73 'event_trace_provider_win.cc',
74 'event_trace_provider_win.h',
[email protected]687e25d2010-05-19 03:39:2775 'event_synthesis_gtk.cc',
76 'event_synthesis_gtk.h',
[email protected]ef4fa4072009-12-04 22:46:5077 'file_path.cc',
78 'file_path.h',
79 'file_util.cc',
80 'file_util.h',
[email protected]a84ab952010-02-23 11:34:5481 'file_util_deprecated.h',
[email protected]ef4fa4072009-12-04 22:46:5082 'file_util_mac.mm',
83 'file_util_posix.cc',
84 'file_util_win.cc',
[email protected]ef4fa4072009-12-04 22:46:5085 'file_version_info.h',
[email protected]bcff05a2010-04-14 01:46:4386 'file_version_info_mac.h',
[email protected]ef4fa4072009-12-04 22:46:5087 'file_version_info_mac.mm',
[email protected]bcff05a2010-04-14 01:46:4388 'file_version_info_win.cc',
89 'file_version_info_win.h',
[email protected]ef4fa4072009-12-04 22:46:5090 'fix_wp64.h',
91 'float_util.h',
92 'foundation_utils_mac.h',
[email protected]ef4fa4072009-12-04 22:46:5093 'global_descriptors_posix.cc',
[email protected]9bc8cff2010-04-03 01:05:3994 'global_descriptors_posix.h',
[email protected]a918f872010-06-01 14:30:5195 'gtest_prod_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',
203 'sha1.cc',
204 'sha1.h',
205 'shared_memory.h',
206 'shared_memory_posix.cc',
207 'shared_memory_win.cc',
208 'simple_thread.cc',
209 'simple_thread.h',
210 'singleton.h',
211 'spin_wait.h',
212 'stack_container.h',
213 'stats_counters.h',
214 'stats_table.cc',
215 'stats_table.h',
216 'stl_util-inl.h',
217 'string_piece.cc',
218 'string_piece.h',
[email protected]0477554f2010-01-21 19:29:25219 'string_split.cc',
220 'string_split.h',
[email protected]ef4fa4072009-12-04 22:46:50221 'string_tokenizer.h',
222 'string_util.cc',
223 'string_util.h',
224 'string_util_win.h',
225 'sys_info.h',
226 'sys_info_chromeos.cc',
227 'sys_info_freebsd.cc',
228 'sys_info_linux.cc',
229 'sys_info_mac.cc',
230 'sys_info_openbsd.cc',
231 'sys_info_posix.cc',
232 'sys_info_win.cc',
233 'sys_string_conversions.h',
234 'sys_string_conversions_linux.cc',
235 'sys_string_conversions_mac.mm',
236 'sys_string_conversions_win.cc',
237 'task.h',
[email protected]951269b2010-06-15 19:39:24238 'template_util.h',
[email protected]ef4fa4072009-12-04 22:46:50239 'thread.cc',
240 'thread.h',
241 'thread_collision_warner.cc',
242 'thread_collision_warner.h',
243 'thread_local.h',
244 'thread_local_posix.cc',
245 'thread_local_storage.h',
246 'thread_local_storage_posix.cc',
247 'thread_local_storage_win.cc',
248 'thread_local_win.cc',
249 'time.cc',
250 'time.h',
251 'time_win.cc',
252 'timer.cc',
253 'timer.h',
[email protected]3e569552010-05-07 20:25:49254 'trace_event_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50255 'trace_event.cc',
256 'trace_event.h',
257 'tracked.cc',
258 'tracked.h',
259 'tracked_objects.cc',
260 'tracked_objects.h',
261 'tuple.h',
[email protected]9bc8cff2010-04-03 01:05:39262 'unix_domain_socket_posix.cc',
[email protected]ef4fa4072009-12-04 22:46:50263 'utf_offset_string_conversions.cc',
264 'utf_offset_string_conversions.h',
265 'utf_string_conversion_utils.cc',
266 'utf_string_conversion_utils.h',
267 'utf_string_conversions.cc',
268 'utf_string_conversions.h',
[email protected]c604a552010-03-22 20:12:50269 'values.cc',
270 'values.h',
[email protected]ef4fa4072009-12-04 22:46:50271 'waitable_event.h',
272 'waitable_event_posix.cc',
273 'waitable_event_watcher.h',
274 'waitable_event_watcher_posix.cc',
275 'waitable_event_watcher_win.cc',
276 'waitable_event_win.cc',
277 'watchdog.cc',
278 'watchdog.h',
279 'weak_ptr.h',
280 'win_util.cc',
281 'win_util.h',
282 'windows_message_list.h',
283 'wmi_util.cc',
284 'wmi_util.h',
285 'worker_pool.h',
286 'worker_pool_linux.cc',
287 'worker_pool_linux.h',
288 'worker_pool_mac.h',
289 'worker_pool_mac.mm',
290 'worker_pool_win.cc',
[email protected]1c657852010-04-22 23:28:05291 'xdg_util.h',
292 'xdg_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50293 ],
294 'include_dirs': [
295 '..',
296 ],
297 # These warnings are needed for the files in third_party\dmg_fp.
298 'msvs_disabled_warnings': [
299 4244, 4554, 4018, 4102,
300 ],
301 'mac_framework_dirs': [
302 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks',
303 ],
304 'conditions': [
[email protected]93f21e42010-04-01 00:35:15305 [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"', {
[email protected]ef4fa4072009-12-04 22:46:50306 'sources/': [
[email protected]ef4fa4072009-12-04 22:46:50307 ['exclude', '/xdg_user_dirs/'],
[email protected]1c657852010-04-22 23:28:05308 ['exclude', '/xdg_[^/]*\\.cc$'],
[email protected]ef4fa4072009-12-04 22:46:50309 ['exclude', '_nss\.cc$'],
310 ],
311 'sources!': [
312 'atomicops_internals_x86_gcc.cc',
313 'base_paths_posix.cc',
[email protected]ef4fa4072009-12-04 22:46:50314 'message_pump_glib.cc',
[email protected]1c657852010-04-22 23:28:05315 'xdg_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50316 ],
[email protected]bcff05a2010-04-14 01:46:43317 }],
[email protected]ef4fa4072009-12-04 22:46:50318 [ 'OS != "linux"', {
319 'sources!': [
320 # Not automatically excluded by the *linux.cc rules.
[email protected]1c657852010-04-22 23:28:05321 'linux_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50322 'setproctitle_linux.c',
323 'setproctitle_linux.h',
324 ],
325 },
326 ],
327 # For now, just test the *BSD platforms enough to exclude them.
328 # Subsequent changes will include them further.
329 [ 'OS != "freebsd"', {
330 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
331 },
332 ],
333 [ 'OS != "openbsd"', {
334 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
335 },
336 ],
[email protected]3dd6f5e2010-06-01 20:28:03337 [ 'OS != "mac"', {
[email protected]ef4fa4072009-12-04 22:46:50338 'sources!': [
339 'crypto/cssm_init.cc',
340 'crypto/cssm_init.h',
341 ],
[email protected]abd4aba2010-01-27 19:36:22342 },],
[email protected]ef4fa4072009-12-04 22:46:50343 [ 'OS == "win"', {
344 'include_dirs': [
[email protected]cd134c8c2010-03-09 05:23:12345 '<(DEPTH)/third_party/wtl/include',
[email protected]ef4fa4072009-12-04 22:46:50346 ],
347 'sources!': [
[email protected]ef4fa4072009-12-04 22:46:50348 'event_recorder_stubs.cc',
349 'file_descriptor_shuffle.cc',
350 'message_pump_libevent.cc',
351 '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]97a28e722010-06-11 21:30:37357 ['base_extra_target', {
358 'sources': [
359 'crypto/cssm_init.cc',
360 'crypto/cssm_init.h',
361 'crypto/encryptor.h',
362 'crypto/encryptor_mac.cc',
363 'crypto/encryptor_nss.cc',
364 'crypto/encryptor_win.cc',
365 'crypto/rsa_private_key.h',
366 'crypto/rsa_private_key.cc',
367 'crypto/rsa_private_key_mac.cc',
368 'crypto/rsa_private_key_nss.cc',
369 'crypto/rsa_private_key_win.cc',
370 'crypto/signature_creator.h',
371 'crypto/signature_creator_mac.cc',
372 'crypto/signature_creator_nss.cc',
373 'crypto/signature_creator_win.cc',
374 'crypto/signature_verifier.h',
375 'crypto/signature_verifier_mac.cc',
376 'crypto/signature_verifier_nss.cc',
377 'crypto/signature_verifier_win.cc',
378 'crypto/symmetric_key.h',
379 'crypto/symmetric_key_mac.cc',
380 'crypto/symmetric_key_nss.cc',
381 'crypto/symmetric_key_win.cc',
382 'third_party/nspr/prcpucfg.h',
383 'third_party/nspr/prcpucfg_win.h',
384 'third_party/nspr/prtypes.h',
385 'third_party/nss/blapi.h',
386 'third_party/nss/blapit.h',
387 'third_party/nss/sha256.h',
388 'third_party/nss/sha512.cc',
389 'third_party/purify/pure.h',
390 'third_party/purify/pure_api.c',
391 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
392 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h',
393 'auto_reset.h',
394 'base64.cc',
395 'base64.h',
396 'base_drag_source.cc',
397 'base_drag_source.h',
398 'base_drop_target.cc',
399 'base_drop_target.h',
400 'data_pack.cc',
401 'event_recorder.cc',
402 'event_recorder.h',
403 'event_recorder_stubs.cc',
404 'field_trial.cc',
405 'field_trial.h',
406 'file_descriptor_shuffle.cc',
407 'file_descriptor_shuffle.h',
408 'hmac.h',
409 'hmac_mac.cc',
410 'hmac_nss.cc',
411 'hmac_win.cc',
412 'image_util.cc',
413 'image_util.h',
414 'json/json_reader.cc',
415 'json/json_reader.h',
416 'json/json_writer.cc',
417 'json/json_writer.h',
418 'json/string_escape.cc',
419 'json/string_escape.h',
420 'keyboard_code_conversion_gtk.cc',
421 'keyboard_code_conversion_gtk.h',
422 'keyboard_codes.h',
423 'keyboard_codes_win.h',
424 'keyboard_codes_posix.h',
425 'linux_util.cc',
426 'linux_util.h',
427 'md5.cc',
428 'md5.h',
429 'message_pump_glib.cc',
430 'message_pump_glib.h',
431 'message_pump_libevent.cc',
432 'message_pump_libevent.h',
433 'message_pump_mac.h',
434 'message_pump_mac.mm',
435 'nsimage_cache_mac.h',
436 'nsimage_cache_mac.mm',
437 'nss_util.cc',
438 'nss_util.h',
439 'setproctitle_linux.c',
440 'setproctitle_linux.h',
441 'sha2.cc',
442 'sha2.h',
443 'string16.cc',
444 'string16.h',
445 'sync_socket.h',
446 'sync_socket_win.cc',
447 'sync_socket_posix.cc',
448 'time_mac.cc',
449 'time_posix.cc',
450 'version.cc',
451 'version.h',
452 ],
453 'conditions': [
454 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
455 'conditions': [
456 [ 'chromeos==1', {
457 'sources/': [ ['include', '_chromeos\\.cc$'] ]
458 },
459 ],
460 [ 'linux_use_tcmalloc==0', {
461 'defines': [
462 'NO_TCMALLOC',
463 ],
464 'direct_dependent_settings': {
465 'defines': [
466 'NO_TCMALLOC',
467 ],
468 },
469 },
470 ],
[email protected]97a28e722010-06-11 21:30:37471 ],
472 'defines': [
473 'USE_SYMBOLIZE',
474 ],
475 'cflags': [
476 '-Wno-write-strings',
477 ],
478 },],
479 [ 'OS != "win"', {
480 'sources!': [
481 'third_party/purify/pure_api.c',
482 'base_drag_source.cc',
483 'base_drop_target.cc',
484 'cpu.cc',
485 'debug_on_start.cc',
486 'event_recorder.cc',
487 'file_version_info.cc',
488 'iat_patch.cc',
489 'image_util.cc',
490 'object_watcher.cc',
491 'pe_image.cc',
492 'registry.cc',
493 'resource_util.cc',
494 'win_util.cc',
495 'wmi_util.cc',
496 ],
497 },],
498 ],
499 }],
[email protected]ef4fa4072009-12-04 22:46:50500 ],
501 },
502 'targets': [
503 {
504 'target_name': 'base',
505 'type': '<(library)',
506 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165',
507 'variables': {
508 'base_target': 1,
[email protected]97a28e722010-06-11 21:30:37509 'base_extra_target': 1,
[email protected]ef4fa4072009-12-04 22:46:50510 },
511 'dependencies': [
512 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
[email protected]b4a0b99952010-05-19 08:33:37513 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]ef4fa4072009-12-04 22:46:50514 ],
515 # TODO(gregoryd): direct_dependent_settings should be shared with the
516 # 64-bit target, but it doesn't work due to a bug in gyp
517 'direct_dependent_settings': {
518 'include_dirs': [
519 '..',
520 ],
521 },
[email protected]ef4fa4072009-12-04 22:46:50522 'conditions': [
[email protected]66700d42010-03-10 07:46:43523 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
[email protected]ef4fa4072009-12-04 22:46:50524 'conditions': [
[email protected]ef8f5ba2010-04-02 14:54:22525 [ 'linux_use_tcmalloc==1', {
526 'dependencies': [
527 'allocator/allocator.gyp:allocator',
528 ],
529 },
530 ],
[email protected]ef4fa4072009-12-04 22:46:50531 ],
532 'dependencies': [
[email protected]97a28e722010-06-11 21:30:37533 'symbolize',
[email protected]ef4fa4072009-12-04 22:46:50534 '../build/util/build_util.gyp:lastchange',
535 '../build/linux/system.gyp:gtk',
536 '../build/linux/system.gyp:nss',
[email protected]2d48004e2010-02-03 02:11:40537 'xdg_mime',
[email protected]48c27f72010-01-26 06:26:26538 ],
[email protected]ef4fa4072009-12-04 22:46:50539 'export_dependent_settings': [
540 '../build/linux/system.gyp:gtk',
541 ],
542 },],
[email protected]1d53ce12010-06-11 05:41:00543 [ 'OS == "freebsd" or OS == "openbsd"', {
[email protected]97a28e722010-06-11 21:30:37544 'link_settings': {
545 'libraries': [
546 '-L/usr/local/lib -lexecinfo',
[email protected]1d53ce12010-06-11 05:41:00547 ],
548 },
549 },
550 ],
[email protected]72d31962010-06-11 22:45:37551 [ 'OS == "linux"', {
552 'link_settings': {
553 'libraries': [
554 # We need rt for clock_gettime().
555 '-lrt',
556 # For 'native_library_linux.cc'
557 '-ldl',
558 ],
559 },
560 }],
[email protected]1d53ce12010-06-11 05:41:00561 [ 'OS == "mac"', {
[email protected]97a28e722010-06-11 21:30:37562 'link_settings': {
563 'libraries': [
564 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
565 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
566 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
567 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
568 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
569 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
570 ],
571 },
[email protected]1d53ce12010-06-11 05:41:00572 },],
[email protected]3dd6f5e2010-06-01 20:28:03573 [ 'OS == "mac" or OS == "win"', {
[email protected]abd4aba2010-01-27 19:36:22574 'dependencies': [
575 '../third_party/nss/nss.gyp:nss',
576 ],
[email protected]3dd6f5e2010-06-01 20:28:03577 },],
578 [ 'OS != "win"', {
[email protected]ef4fa4072009-12-04 22:46:50579 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
[email protected]abd4aba2010-01-27 19:36:22580 },],
[email protected]ef4fa4072009-12-04 22:46:50581 ],
[email protected]ef4fa4072009-12-04 22:46:50582 },
583 ],
584 'conditions': [
585 [ 'OS == "win"', {
586 'targets': [
587 {
588 'target_name': 'base_nacl_win64',
589 'type': '<(library)',
590 'msvs_guid': 'CEE1F794-DC70-4FED-B7C4-4C12986672FE',
591 'variables': {
592 'base_target': 1,
593 },
[email protected]ee857512010-05-14 08:24:42594 'dependencies': [
[email protected]b4a0b99952010-05-19 08:33:37595 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
[email protected]ee857512010-05-14 08:24:42596 ],
[email protected]ef4fa4072009-12-04 22:46:50597 # TODO(gregoryd): direct_dependent_settings should be shared with the
598 # 32-bit target, but it doesn't work due to a bug in gyp
599 'direct_dependent_settings': {
600 'include_dirs': [
601 '..',
602 ],
603 },
604 'defines': [
605 '<@(nacl_win64_defines)',
606 ],
607 'sources': [
608 'i18n/icu_util_nacl_win64.cc',
609 ],
610 'configurations': {
[email protected]8782f7072009-12-22 22:57:37611 'Common_Base': {
[email protected]ef4fa4072009-12-04 22:46:50612 'msvs_target_platform': 'x64',
613 },
614 },
615 },
616 ],
617 }],
[email protected]97a28e722010-06-11 21:30:37618 [ 'OS == "linux" and target_arch=="x64" and internal_pdf', {
619 'targets': [
620 {
621 'target_name': 'base_fpic',
622 'type': '<(library)',
623 'variables': {
624 'base_target': 1,
625 'base_extra_target': 1,
626 },
627 'cflags': [
628 '-fPIC',
629 ],
[email protected]93c4eb0d42010-06-15 01:54:26630 # Official builds set -gstabs, which fails when building with -fPIC.
631 # It's useless on 64 bits anyways because breakpad doesn't work then.
632 'cflags!': [
633 '-gstabs',
634 ],
[email protected]97a28e722010-06-11 21:30:37635 'direct_dependent_settings': {
636 'include_dirs': [
637 '..',
638 ],
639 },
640 'conditions': [
641 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
642 'dependencies': [
643 '../build/util/build_util.gyp:lastchange',
644 '../build/linux/system.gyp:gtk',
645 '../build/linux/system.gyp:nss',
646 'xdg_mime',
647 ],
648 'export_dependent_settings': [
649 '../build/linux/system.gyp:gtk',
650 ],
651 },],
[email protected]72d31962010-06-11 22:45:37652 ['OS == "linux"', {
653 'link_settings': {
654 'libraries': [
655 # We need rt for clock_gettime().
656 '-lrt',
657 # For 'native_library_linux.cc'
658 '-ldl',
659 ],
660 },
661 }],
[email protected]97a28e722010-06-11 21:30:37662 [ 'OS == "mac" or OS == "win"', {
663 'dependencies': [
664 '../third_party/nss/nss.gyp:nss',
665 ],
666 },],
667 [ 'OS != "win"', {
668 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
669 },],
670 ],
671 },
672 ],
673 }],
[email protected]93f21e42010-04-01 00:35:15674 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
[email protected]48c27f72010-01-26 06:26:26675 'targets': [
676 {
677 'target_name': 'symbolize',
678 'type': '<(library)',
[email protected]076cf932010-02-16 19:13:36679 'variables': {
680 'chromium_code': 0,
681 },
[email protected]93f21e42010-04-01 00:35:15682 'conditions': [
683 [ 'OS == "solaris"', {
684 'include_dirs': [
685 '/usr/gnu/include',
686 '/usr/gnu/include/libelf',
687 ],
688 },],
689 ],
[email protected]48c27f72010-01-26 06:26:26690 'cflags': [
691 '-Wno-sign-compare',
692 ],
[email protected]225c8f52010-02-05 22:23:20693 'cflags!': [
694 '-Wextra',
695 ],
[email protected]48c27f72010-01-26 06:26:26696 'sources': [
697 'third_party/symbolize/symbolize.cc',
698 'third_party/symbolize/demangle.cc',
699 ],
700 },
[email protected]2d48004e2010-02-03 02:11:40701 {
702 'target_name': 'xdg_mime',
703 'type': '<(library)',
[email protected]076cf932010-02-16 19:13:36704 'variables': {
705 'chromium_code': 0,
706 },
[email protected]225c8f52010-02-05 22:23:20707 'cflags!': [
708 '-Wextra',
709 ],
[email protected]2d48004e2010-02-03 02:11:40710 'sources': [
711 'third_party/xdg_mime/xdgmime.c',
712 'third_party/xdg_mime/xdgmime.h',
713 'third_party/xdg_mime/xdgmimealias.c',
714 'third_party/xdg_mime/xdgmimealias.h',
715 'third_party/xdg_mime/xdgmimecache.c',
716 'third_party/xdg_mime/xdgmimecache.h',
717 'third_party/xdg_mime/xdgmimeglob.c',
718 'third_party/xdg_mime/xdgmimeglob.h',
719 'third_party/xdg_mime/xdgmimeicon.c',
720 'third_party/xdg_mime/xdgmimeicon.h',
721 'third_party/xdg_mime/xdgmimeint.c',
722 'third_party/xdg_mime/xdgmimeint.h',
723 'third_party/xdg_mime/xdgmimemagic.c',
724 'third_party/xdg_mime/xdgmimemagic.h',
725 'third_party/xdg_mime/xdgmimeparent.c',
726 'third_party/xdg_mime/xdgmimeparent.h',
727 ],
728 },
[email protected]48c27f72010-01-26 06:26:26729 ],
730 }],
[email protected]ef4fa4072009-12-04 22:46:50731 ],
732}