blob: 9b5c41b36cbe317ed34a0a06cddd41b61ef62b19 [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,
9 },
10 'target_conditions': [
11 # This part is shared between the targets defined below. Only files and
12 # settings relevant for building the Win64 target should be added here.
13 # All the rest should be added to the 'base' target below.
14 ['base_target==1', {
15 'sources': [
16 '../build/build_config.h',
17 'third_party/dmg_fp/dmg_fp.h',
18 'third_party/dmg_fp/dtoa.cc',
19 'third_party/dmg_fp/g_fmt.cc',
20 'third_party/icu/icu_utf.cc',
21 'third_party/icu/icu_utf.h',
22 'third_party/nspr/prtime.cc',
23 'third_party/nspr/prtime.h',
[email protected]ef4fa4072009-12-04 22:46:5024 'at_exit.cc',
25 'at_exit.h',
26 'atomic_ref_count.h',
27 'atomic_sequence_num.h',
28 'atomicops.h',
[email protected]9bc8cff2010-04-03 01:05:3929 'atomicops_internals_x86_gcc.cc',
[email protected]ef4fa4072009-12-04 22:46:5030 'atomicops_internals_x86_msvc.h',
31 'base_paths.cc',
32 'base_paths.h',
33 'base_paths_mac.h',
34 'base_paths_mac.mm',
35 'base_paths_posix.cc',
36 'base_paths_win.cc',
37 'base_paths_win.h',
38 'base_switches.cc',
39 'base_switches.h',
40 'basictypes.h',
41 'bits.h',
42 'bzip2_error_handler.cc',
[email protected]2041cf342010-02-19 03:15:5943 'callback.h',
[email protected]ef4fa4072009-12-04 22:46:5044 'cancellation_flag.cc',
[email protected]9bc8cff2010-04-03 01:05:3945 'cancellation_flag.h',
[email protected]ef4fa4072009-12-04 22:46:5046 'chrome_application_mac.h',
47 'chrome_application_mac.mm',
48 'cocoa_protocols_mac.h',
49 'command_line.cc',
50 'command_line.h',
51 'compiler_specific.h',
52 'condition_variable.h',
53 'condition_variable_posix.cc',
54 'condition_variable_win.cc',
55 'cpu.cc',
56 'cpu.h',
57 'debug_on_start.cc',
58 'debug_on_start.h',
59 'debug_util.cc',
60 'debug_util.h',
61 'debug_util_mac.cc',
62 'debug_util_posix.cc',
63 'debug_util_win.cc',
[email protected]ef73044e2010-03-11 15:25:5464 'dir_reader_fallback.h',
65 'dir_reader_linux.h',
66 'dir_reader_posix.h',
[email protected]9bc8cff2010-04-03 01:05:3967 'env_var.cc',
68 'env_var.h',
[email protected]ef4fa4072009-12-04 22:46:5069 'event_trace_consumer_win.h',
70 'event_trace_controller_win.cc',
71 'event_trace_controller_win.h',
72 'event_trace_provider_win.cc',
73 'event_trace_provider_win.h',
74 'file_path.cc',
75 'file_path.h',
76 'file_util.cc',
77 'file_util.h',
[email protected]a84ab952010-02-23 11:34:5478 'file_util_deprecated.h',
[email protected]ef4fa4072009-12-04 22:46:5079 'file_util_mac.mm',
80 'file_util_posix.cc',
81 'file_util_win.cc',
[email protected]ef4fa4072009-12-04 22:46:5082 'file_version_info.h',
[email protected]bcff05a2010-04-14 01:46:4383 'file_version_info_mac.h',
[email protected]ef4fa4072009-12-04 22:46:5084 'file_version_info_mac.mm',
[email protected]bcff05a2010-04-14 01:46:4385 'file_version_info_win.cc',
86 'file_version_info_win.h',
[email protected]ef4fa4072009-12-04 22:46:5087 'fix_wp64.h',
88 'float_util.h',
89 'foundation_utils_mac.h',
[email protected]ef4fa4072009-12-04 22:46:5090 'global_descriptors_posix.cc',
[email protected]9bc8cff2010-04-03 01:05:3991 'global_descriptors_posix.h',
[email protected]ef4fa4072009-12-04 22:46:5092 'hash_tables.h',
93 'histogram.cc',
94 'histogram.h',
95 'iat_patch.cc',
96 'iat_patch.h',
97 'id_map.h',
98 'lazy_instance.cc',
99 'lazy_instance.h',
100 'leak_annotations.h',
101 'leak_tracker.h',
102 'linked_list.h',
103 'linked_ptr.h',
104 'lock.cc',
105 'lock.h',
106 'lock_impl.h',
107 'lock_impl_posix.cc',
108 'lock_impl_win.cc',
109 'logging.cc',
[email protected]ef4fa4072009-12-04 22:46:50110 'logging.h',
[email protected]9bc8cff2010-04-03 01:05:39111 'logging_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50112 'mac_util.h',
113 'mac_util.mm',
[email protected]c0028792010-01-12 00:39:15114 'mach_ipc_mac.h',
115 'mach_ipc_mac.mm',
[email protected]ef4fa4072009-12-04 22:46:50116 'memory_debug.cc',
117 'memory_debug.h',
118 'message_loop.cc',
119 'message_loop.h',
120 'message_pump.h',
121 'message_pump_default.cc',
122 'message_pump_default.h',
123 'message_pump_win.cc',
124 'message_pump_win.h',
125 'mime_util.h',
[email protected]1c657852010-04-22 23:28:05126 'mime_util_xdg.cc',
[email protected]0fecda62010-03-19 21:59:01127 'move.h',
[email protected]ef4fa4072009-12-04 22:46:50128 'native_library.h',
129 'native_library_linux.cc',
130 'native_library_mac.mm',
131 'native_library_win.cc',
132 'non_thread_safe.cc',
133 'non_thread_safe.h',
134 'nullable_string16.h',
135 'object_watcher.cc',
136 'object_watcher.h',
137 'observer_list.h',
138 'observer_list_threadsafe.h',
139 'path_service.cc',
140 'path_service.h',
[email protected]4bc818e2010-02-04 22:47:37141 'pe_image.cc',
142 'pe_image.h',
[email protected]ef4fa4072009-12-04 22:46:50143 'pickle.cc',
144 'pickle.h',
145 'platform_file.h',
[email protected]ef4fa4072009-12-04 22:46:50146 'platform_file_posix.cc',
[email protected]9bc8cff2010-04-03 01:05:39147 'platform_file_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50148 'platform_thread.h',
149 'platform_thread_mac.mm',
150 'platform_thread_posix.cc',
151 'platform_thread_win.cc',
152 'port.h',
[email protected]ef4fa4072009-12-04 22:46:50153 'process.h',
154 'process_linux.cc',
155 'process_posix.cc',
156 'process_util.h',
157 'process_util_linux.cc',
158 'process_util_mac.mm',
159 'process_util_posix.cc',
160 'process_util_win.cc',
161 'process_win.cc',
[email protected]9bc8cff2010-04-03 01:05:39162 'profiler.cc',
163 'profiler.h',
[email protected]ef4fa4072009-12-04 22:46:50164 'rand_util.cc',
165 'rand_util.h',
166 'rand_util_posix.cc',
167 'rand_util_win.cc',
168 'raw_scoped_refptr_mismatch_checker.h',
169 'ref_counted.cc',
170 'ref_counted.h',
171 'ref_counted_memory.h',
172 'registry.cc',
173 'registry.h',
174 'resource_util.cc',
175 'resource_util.h',
176 'safe_strerror_posix.cc',
177 'safe_strerror_posix.h',
178 'scoped_bstr_win.cc',
179 'scoped_bstr_win.h',
180 'scoped_cftyperef.h',
181 'scoped_comptr_win.h',
182 'scoped_handle.h',
183 'scoped_handle_gtk.h',
184 'scoped_handle_win.h',
185 'scoped_nsautorelease_pool.h',
186 'scoped_nsautorelease_pool.mm',
187 'scoped_nsdisable_screen_updates.h',
188 'scoped_nsobject.h',
[email protected]8ceb44c2010-02-24 22:27:04189 'scoped_open_process.h',
[email protected]ef4fa4072009-12-04 22:46:50190 'scoped_ptr.h',
191 'scoped_temp_dir.cc',
192 'scoped_temp_dir.h',
193 'scoped_variant_win.cc',
194 'scoped_variant_win.h',
195 'scoped_vector.h',
196 'sha1.cc',
197 'sha1.h',
198 'shared_memory.h',
199 'shared_memory_posix.cc',
200 'shared_memory_win.cc',
201 'simple_thread.cc',
202 'simple_thread.h',
203 'singleton.h',
204 'spin_wait.h',
205 'stack_container.h',
206 'stats_counters.h',
207 'stats_table.cc',
208 'stats_table.h',
209 'stl_util-inl.h',
210 'string_piece.cc',
211 'string_piece.h',
[email protected]0477554f2010-01-21 19:29:25212 'string_split.cc',
213 'string_split.h',
[email protected]ef4fa4072009-12-04 22:46:50214 'string_tokenizer.h',
215 'string_util.cc',
216 'string_util.h',
217 'string_util_win.h',
218 'sys_info.h',
219 'sys_info_chromeos.cc',
220 'sys_info_freebsd.cc',
221 'sys_info_linux.cc',
222 'sys_info_mac.cc',
223 'sys_info_openbsd.cc',
224 'sys_info_posix.cc',
225 'sys_info_win.cc',
226 'sys_string_conversions.h',
227 'sys_string_conversions_linux.cc',
228 'sys_string_conversions_mac.mm',
229 'sys_string_conversions_win.cc',
230 'task.h',
231 'thread.cc',
232 'thread.h',
233 'thread_collision_warner.cc',
234 'thread_collision_warner.h',
235 'thread_local.h',
236 'thread_local_posix.cc',
237 'thread_local_storage.h',
238 'thread_local_storage_posix.cc',
239 'thread_local_storage_win.cc',
240 'thread_local_win.cc',
241 'time.cc',
242 'time.h',
243 'time_win.cc',
244 'timer.cc',
245 'timer.h',
246 'trace_event.cc',
247 'trace_event.h',
248 'tracked.cc',
249 'tracked.h',
250 'tracked_objects.cc',
251 'tracked_objects.h',
252 'tuple.h',
[email protected]9bc8cff2010-04-03 01:05:39253 'unix_domain_socket_posix.cc',
[email protected]ef4fa4072009-12-04 22:46:50254 'utf_offset_string_conversions.cc',
255 'utf_offset_string_conversions.h',
256 'utf_string_conversion_utils.cc',
257 'utf_string_conversion_utils.h',
258 'utf_string_conversions.cc',
259 'utf_string_conversions.h',
[email protected]c604a552010-03-22 20:12:50260 'values.cc',
261 'values.h',
[email protected]ef4fa4072009-12-04 22:46:50262 'waitable_event.h',
263 'waitable_event_posix.cc',
264 'waitable_event_watcher.h',
265 'waitable_event_watcher_posix.cc',
266 'waitable_event_watcher_win.cc',
267 'waitable_event_win.cc',
268 'watchdog.cc',
269 'watchdog.h',
270 'weak_ptr.h',
271 'win_util.cc',
272 'win_util.h',
273 'windows_message_list.h',
274 'wmi_util.cc',
275 'wmi_util.h',
276 'worker_pool.h',
277 'worker_pool_linux.cc',
278 'worker_pool_linux.h',
279 'worker_pool_mac.h',
280 'worker_pool_mac.mm',
281 'worker_pool_win.cc',
[email protected]1c657852010-04-22 23:28:05282 'xdg_util.h',
283 'xdg_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50284 ],
285 'include_dirs': [
286 '..',
287 ],
288 # These warnings are needed for the files in third_party\dmg_fp.
289 'msvs_disabled_warnings': [
290 4244, 4554, 4018, 4102,
291 ],
292 'mac_framework_dirs': [
293 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks',
294 ],
295 'conditions': [
[email protected]93f21e42010-04-01 00:35:15296 [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"', {
[email protected]ef4fa4072009-12-04 22:46:50297 'sources/': [
[email protected]ef4fa4072009-12-04 22:46:50298 ['exclude', '/xdg_user_dirs/'],
[email protected]1c657852010-04-22 23:28:05299 ['exclude', '/xdg_[^/]*\\.cc$'],
[email protected]ef4fa4072009-12-04 22:46:50300 ['exclude', '_nss\.cc$'],
301 ],
302 'sources!': [
303 'atomicops_internals_x86_gcc.cc',
304 'base_paths_posix.cc',
[email protected]ef4fa4072009-12-04 22:46:50305 'message_pump_glib.cc',
[email protected]1c657852010-04-22 23:28:05306 'xdg_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50307 ],
[email protected]bcff05a2010-04-14 01:46:43308 }],
[email protected]ef4fa4072009-12-04 22:46:50309 [ 'OS != "linux"', {
310 'sources!': [
311 # Not automatically excluded by the *linux.cc rules.
[email protected]1c657852010-04-22 23:28:05312 'linux_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50313 'setproctitle_linux.c',
314 'setproctitle_linux.h',
315 ],
316 },
317 ],
318 # For now, just test the *BSD platforms enough to exclude them.
319 # Subsequent changes will include them further.
320 [ 'OS != "freebsd"', {
321 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
322 },
323 ],
324 [ 'OS != "openbsd"', {
325 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
326 },
327 ],
[email protected]abd4aba2010-01-27 19:36:22328 [ 'OS == "mac"', {
329 'sources!': [
330 # TODO(wtc): Remove nss_util.{cc,h} when http://crbug.com/30689
331 # is fixed.
332 'nss_util.cc',
333 'nss_util.h',
334 ],
335 }, { # OS != "mac"
[email protected]ef4fa4072009-12-04 22:46:50336 'sources!': [
337 'crypto/cssm_init.cc',
338 'crypto/cssm_init.h',
339 ],
[email protected]abd4aba2010-01-27 19:36:22340 },],
[email protected]ef4fa4072009-12-04 22:46:50341 [ 'OS == "win"', {
342 'include_dirs': [
[email protected]cd134c8c2010-03-09 05:23:12343 '<(DEPTH)/third_party/wtl/include',
[email protected]ef4fa4072009-12-04 22:46:50344 ],
345 'sources!': [
[email protected]ef4fa4072009-12-04 22:46:50346 'event_recorder_stubs.cc',
347 'file_descriptor_shuffle.cc',
348 'message_pump_libevent.cc',
349 'string16.cc',
350 ],
351 },],
352 ],
353 }],
354 ],
355 },
356 'targets': [
357 {
358 'target_name': 'base',
359 'type': '<(library)',
360 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165',
361 'variables': {
362 'base_target': 1,
363 },
364 'dependencies': [
365 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
366 ],
367 # TODO(gregoryd): direct_dependent_settings should be shared with the
368 # 64-bit target, but it doesn't work due to a bug in gyp
369 'direct_dependent_settings': {
370 'include_dirs': [
371 '..',
372 ],
373 },
374 # Conditions that are not relevant for Win64 build
375 'conditions': [
[email protected]66700d42010-03-10 07:46:43376 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
[email protected]ef4fa4072009-12-04 22:46:50377 'conditions': [
[email protected]fdc5bed2010-01-09 01:16:57378 [ 'chromeos==1', {
[email protected]ef4fa4072009-12-04 22:46:50379 'sources/': [ ['include', '_chromeos\\.cc$'] ]
380 },
381 ],
[email protected]61a9b2d82010-02-26 00:31:08382 [ 'linux_use_tcmalloc==0', {
[email protected]ef4fa4072009-12-04 22:46:50383 'defines': [
[email protected]61a9b2d82010-02-26 00:31:08384 'NO_TCMALLOC',
[email protected]ef4fa4072009-12-04 22:46:50385 ],
386 'direct_dependent_settings': {
387 'defines': [
[email protected]61a9b2d82010-02-26 00:31:08388 'NO_TCMALLOC',
[email protected]ef4fa4072009-12-04 22:46:50389 ],
390 },
391 },
392 ],
[email protected]ef8f5ba2010-04-02 14:54:22393 [ 'linux_use_tcmalloc==1', {
394 'dependencies': [
395 'allocator/allocator.gyp:allocator',
396 ],
397 },
398 ],
[email protected]e43eddf12009-12-29 00:32:52399 [ 'OS == "linux"', {
400 'link_settings': {
401 'libraries': [
402 # We need rt for clock_gettime().
403 '-lrt',
[email protected]524f1cf2010-02-23 19:21:53404 # For 'native_library_linux.cc'
405 '-ldl',
[email protected]e43eddf12009-12-29 00:32:52406 ],
407 },
408 }],
[email protected]ef4fa4072009-12-04 22:46:50409 ],
410 'dependencies': [
411 '../build/util/build_util.gyp:lastchange',
412 '../build/linux/system.gyp:gtk',
413 '../build/linux/system.gyp:nss',
[email protected]2d48004e2010-02-03 02:11:40414 'symbolize',
415 'xdg_mime',
[email protected]48c27f72010-01-26 06:26:26416 ],
417 'defines': [
418 'USE_SYMBOLIZE',
[email protected]ef4fa4072009-12-04 22:46:50419 ],
420 'cflags': [
421 '-Wno-write-strings',
422 ],
[email protected]ef4fa4072009-12-04 22:46:50423 'export_dependent_settings': [
424 '../build/linux/system.gyp:gtk',
425 ],
426 },],
[email protected]66700d42010-03-10 07:46:43427 [ 'OS == "freebsd" or OS == "openbsd"', {
[email protected]e43eddf12009-12-29 00:32:52428 'link_settings': {
429 'libraries': [
430 '-L/usr/local/lib -lexecinfo',
431 ],
432 },
[email protected]ef4fa4072009-12-04 22:46:50433 },
434 ],
435 [ 'OS == "mac"', {
436 'link_settings': {
437 'libraries': [
438 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
439 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
440 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
441 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
442 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
443 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
444 ],
445 },
446 },],
[email protected]abd4aba2010-01-27 19:36:22447 [ 'OS == "win"', {
448 'dependencies': [
449 '../third_party/nss/nss.gyp:nss',
450 ],
451 }, { # OS != "win"
[email protected]ef4fa4072009-12-04 22:46:50452 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
453 'sources!': [
454 'third_party/purify/pure_api.c',
455 'base_drag_source.cc',
456 'base_drop_target.cc',
457 'cpu.cc',
458 'debug_on_start.cc',
459 'event_recorder.cc',
460 'file_version_info.cc',
461 'iat_patch.cc',
462 'image_util.cc',
463 'object_watcher.cc',
464 'pe_image.cc',
465 'registry.cc',
466 'resource_util.cc',
467 'win_util.cc',
468 'wmi_util.cc',
469 ],
[email protected]abd4aba2010-01-27 19:36:22470 },],
[email protected]ef4fa4072009-12-04 22:46:50471 ],
472 'sources': [
473 'crypto/cssm_init.cc',
474 'crypto/cssm_init.h',
[email protected]39422e32010-03-25 19:13:00475 'crypto/encryptor.h',
476 'crypto/encryptor_mac.cc',
477 'crypto/encryptor_nss.cc',
478 'crypto/encryptor_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50479 'crypto/rsa_private_key.h',
480 'crypto/rsa_private_key.cc',
481 'crypto/rsa_private_key_mac.cc',
482 'crypto/rsa_private_key_nss.cc',
483 'crypto/rsa_private_key_win.cc',
484 'crypto/signature_creator.h',
485 'crypto/signature_creator_mac.cc',
486 'crypto/signature_creator_nss.cc',
487 'crypto/signature_creator_win.cc',
488 'crypto/signature_verifier.h',
489 'crypto/signature_verifier_mac.cc',
490 'crypto/signature_verifier_nss.cc',
491 'crypto/signature_verifier_win.cc',
[email protected]41c78fa2010-03-22 20:08:41492 'crypto/symmetric_key.h',
493 'crypto/symmetric_key_mac.cc',
494 'crypto/symmetric_key_nss.cc',
495 'crypto/symmetric_key_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50496 'third_party/nspr/prcpucfg.h',
497 'third_party/nspr/prcpucfg_win.h',
498 'third_party/nspr/prtypes.h',
499 'third_party/nss/blapi.h',
500 'third_party/nss/blapit.h',
501 'third_party/nss/sha256.h',
502 'third_party/nss/sha512.cc',
503 'third_party/purify/pure.h',
504 'third_party/purify/pure_api.c',
[email protected]ef4fa4072009-12-04 22:46:50505 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
506 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h',
507 'auto_reset.h',
508 'base64.cc',
509 'base64.h',
510 'base_drag_source.cc',
511 'base_drag_source.h',
512 'base_drop_target.cc',
513 'base_drop_target.h',
514 'data_pack.cc',
[email protected]ef4fa4072009-12-04 22:46:50515 'dynamic_annotations.h',
516 'dynamic_annotations.cc',
517 'event_recorder.cc',
518 'event_recorder.h',
519 'event_recorder_stubs.cc',
520 'field_trial.cc',
521 'field_trial.h',
522 'file_descriptor_shuffle.cc',
523 'file_descriptor_shuffle.h',
[email protected]ef4fa4072009-12-04 22:46:50524 'hmac.h',
525 'hmac_mac.cc',
526 'hmac_nss.cc',
527 'hmac_win.cc',
528 'image_util.cc',
529 'image_util.h',
530 'json/json_reader.cc',
531 'json/json_reader.h',
532 'json/json_writer.cc',
533 'json/json_writer.h',
534 'json/string_escape.cc',
535 'json/string_escape.h',
536 'keyboard_code_conversion_gtk.cc',
537 'keyboard_code_conversion_gtk.h',
538 'keyboard_codes.h',
539 'keyboard_codes_win.h',
540 'keyboard_codes_posix.h',
541 'linux_util.cc',
542 'linux_util.h',
543 'md5.cc',
544 'md5.h',
545 'message_pump_glib.cc',
546 'message_pump_glib.h',
547 'message_pump_libevent.cc',
548 'message_pump_libevent.h',
549 'message_pump_mac.h',
550 'message_pump_mac.mm',
551 'nsimage_cache_mac.h',
552 'nsimage_cache_mac.mm',
[email protected]1b1a264a2010-01-14 22:36:35553 'nss_util.cc',
554 'nss_util.h',
[email protected]ef4fa4072009-12-04 22:46:50555 'setproctitle_linux.c',
556 'setproctitle_linux.h',
557 'sha2.cc',
558 'sha2.h',
559 'string16.cc',
560 'string16.h',
561 'sync_socket.h',
562 'sync_socket_win.cc',
563 'sync_socket_posix.cc',
564 'time_mac.cc',
565 'time_posix.cc',
[email protected]ef4fa4072009-12-04 22:46:50566 'version.cc',
567 'version.h',
568 ],
569 },
570 ],
571 'conditions': [
572 [ 'OS == "win"', {
573 'targets': [
574 {
575 'target_name': 'base_nacl_win64',
576 'type': '<(library)',
577 'msvs_guid': 'CEE1F794-DC70-4FED-B7C4-4C12986672FE',
578 'variables': {
579 'base_target': 1,
580 },
581 # TODO(gregoryd): direct_dependent_settings should be shared with the
582 # 32-bit target, but it doesn't work due to a bug in gyp
583 'direct_dependent_settings': {
584 'include_dirs': [
585 '..',
586 ],
587 },
588 'defines': [
589 '<@(nacl_win64_defines)',
590 ],
591 'sources': [
592 'i18n/icu_util_nacl_win64.cc',
593 ],
594 'configurations': {
[email protected]8782f7072009-12-22 22:57:37595 'Common_Base': {
[email protected]ef4fa4072009-12-04 22:46:50596 'msvs_target_platform': 'x64',
597 },
598 },
599 },
600 ],
601 }],
[email protected]93f21e42010-04-01 00:35:15602 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
[email protected]48c27f72010-01-26 06:26:26603 'targets': [
604 {
605 'target_name': 'symbolize',
606 'type': '<(library)',
[email protected]076cf932010-02-16 19:13:36607 'variables': {
608 'chromium_code': 0,
609 },
[email protected]93f21e42010-04-01 00:35:15610 'conditions': [
611 [ 'OS == "solaris"', {
612 'include_dirs': [
613 '/usr/gnu/include',
614 '/usr/gnu/include/libelf',
615 ],
616 },],
617 ],
[email protected]48c27f72010-01-26 06:26:26618 'cflags': [
619 '-Wno-sign-compare',
620 ],
[email protected]225c8f52010-02-05 22:23:20621 'cflags!': [
622 '-Wextra',
623 ],
[email protected]48c27f72010-01-26 06:26:26624 'sources': [
625 'third_party/symbolize/symbolize.cc',
626 'third_party/symbolize/demangle.cc',
627 ],
628 },
[email protected]2d48004e2010-02-03 02:11:40629 {
630 'target_name': 'xdg_mime',
631 'type': '<(library)',
[email protected]076cf932010-02-16 19:13:36632 'variables': {
633 'chromium_code': 0,
634 },
[email protected]225c8f52010-02-05 22:23:20635 'cflags!': [
636 '-Wextra',
637 ],
[email protected]2d48004e2010-02-03 02:11:40638 'sources': [
639 'third_party/xdg_mime/xdgmime.c',
640 'third_party/xdg_mime/xdgmime.h',
641 'third_party/xdg_mime/xdgmimealias.c',
642 'third_party/xdg_mime/xdgmimealias.h',
643 'third_party/xdg_mime/xdgmimecache.c',
644 'third_party/xdg_mime/xdgmimecache.h',
645 'third_party/xdg_mime/xdgmimeglob.c',
646 'third_party/xdg_mime/xdgmimeglob.h',
647 'third_party/xdg_mime/xdgmimeicon.c',
648 'third_party/xdg_mime/xdgmimeicon.h',
649 'third_party/xdg_mime/xdgmimeint.c',
650 'third_party/xdg_mime/xdgmimeint.h',
651 'third_party/xdg_mime/xdgmimemagic.c',
652 'third_party/xdg_mime/xdgmimemagic.h',
653 'third_party/xdg_mime/xdgmimeparent.c',
654 'third_party/xdg_mime/xdgmimeparent.h',
655 ],
656 },
[email protected]48c27f72010-01-26 06:26:26657 ],
658 }],
[email protected]ef4fa4072009-12-04 22:46:50659 ],
660}