blob: ad41e45bd2ccdd7d62d05152f71e0ea6d2fe973c [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',
[email protected]687e25d2010-05-19 03:39:2774 'event_synthesis_gtk.cc',
75 'event_synthesis_gtk.h',
[email protected]ef4fa4072009-12-04 22:46:5076 'file_path.cc',
77 'file_path.h',
78 'file_util.cc',
79 'file_util.h',
[email protected]a84ab952010-02-23 11:34:5480 'file_util_deprecated.h',
[email protected]ef4fa4072009-12-04 22:46:5081 'file_util_mac.mm',
82 'file_util_posix.cc',
83 'file_util_win.cc',
[email protected]ef4fa4072009-12-04 22:46:5084 'file_version_info.h',
[email protected]bcff05a2010-04-14 01:46:4385 'file_version_info_mac.h',
[email protected]ef4fa4072009-12-04 22:46:5086 'file_version_info_mac.mm',
[email protected]bcff05a2010-04-14 01:46:4387 'file_version_info_win.cc',
88 'file_version_info_win.h',
[email protected]ef4fa4072009-12-04 22:46:5089 'fix_wp64.h',
90 'float_util.h',
91 'foundation_utils_mac.h',
[email protected]ef4fa4072009-12-04 22:46:5092 'global_descriptors_posix.cc',
[email protected]9bc8cff2010-04-03 01:05:3993 'global_descriptors_posix.h',
[email protected]a918f872010-06-01 14:30:5194 'gtest_prod_util.h',
[email protected]ef4fa4072009-12-04 22:46:5095 'hash_tables.h',
96 'histogram.cc',
97 'histogram.h',
98 'iat_patch.cc',
99 'iat_patch.h',
100 'id_map.h',
101 'lazy_instance.cc',
102 'lazy_instance.h',
103 'leak_annotations.h',
104 'leak_tracker.h',
105 'linked_list.h',
106 'linked_ptr.h',
107 'lock.cc',
108 'lock.h',
109 'lock_impl.h',
110 'lock_impl_posix.cc',
111 'lock_impl_win.cc',
112 'logging.cc',
[email protected]ef4fa4072009-12-04 22:46:50113 'logging.h',
[email protected]9bc8cff2010-04-03 01:05:39114 'logging_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50115 'mac_util.h',
116 'mac_util.mm',
[email protected]c0028792010-01-12 00:39:15117 'mach_ipc_mac.h',
118 'mach_ipc_mac.mm',
[email protected]ef4fa4072009-12-04 22:46:50119 'memory_debug.cc',
120 'memory_debug.h',
121 'message_loop.cc',
122 'message_loop.h',
[email protected]2cbac9e2010-04-29 03:31:34123 'message_loop_proxy.h',
[email protected]656475d2010-05-06 18:34:24124 'message_loop_proxy_impl.cc',
125 'message_loop_proxy_impl.h',
[email protected]ef4fa4072009-12-04 22:46:50126 'message_pump.h',
127 'message_pump_default.cc',
128 'message_pump_default.h',
129 'message_pump_win.cc',
130 'message_pump_win.h',
131 'mime_util.h',
[email protected]1c657852010-04-22 23:28:05132 'mime_util_xdg.cc',
[email protected]0fecda62010-03-19 21:59:01133 'move.h',
[email protected]ef4fa4072009-12-04 22:46:50134 'native_library.h',
135 'native_library_linux.cc',
136 'native_library_mac.mm',
137 'native_library_win.cc',
138 'non_thread_safe.cc',
139 'non_thread_safe.h',
140 'nullable_string16.h',
141 'object_watcher.cc',
142 'object_watcher.h',
143 'observer_list.h',
144 'observer_list_threadsafe.h',
145 'path_service.cc',
146 'path_service.h',
[email protected]4bc818e2010-02-04 22:47:37147 'pe_image.cc',
148 'pe_image.h',
[email protected]ef4fa4072009-12-04 22:46:50149 'pickle.cc',
150 'pickle.h',
151 'platform_file.h',
[email protected]ef4fa4072009-12-04 22:46:50152 'platform_file_posix.cc',
[email protected]9bc8cff2010-04-03 01:05:39153 'platform_file_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50154 'platform_thread.h',
155 'platform_thread_mac.mm',
156 'platform_thread_posix.cc',
157 'platform_thread_win.cc',
158 'port.h',
[email protected]ef4fa4072009-12-04 22:46:50159 'process.h',
160 'process_linux.cc',
161 'process_posix.cc',
[email protected]b6128aa2010-04-29 17:44:42162 'process_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50163 'process_util.h',
164 'process_util_linux.cc',
165 'process_util_mac.mm',
166 'process_util_posix.cc',
167 'process_util_win.cc',
168 'process_win.cc',
[email protected]9bc8cff2010-04-03 01:05:39169 'profiler.cc',
170 'profiler.h',
[email protected]ef4fa4072009-12-04 22:46:50171 'rand_util.cc',
172 'rand_util.h',
173 'rand_util_posix.cc',
174 'rand_util_win.cc',
175 'raw_scoped_refptr_mismatch_checker.h',
176 'ref_counted.cc',
177 'ref_counted.h',
178 'ref_counted_memory.h',
179 'registry.cc',
180 'registry.h',
181 'resource_util.cc',
182 'resource_util.h',
183 'safe_strerror_posix.cc',
184 'safe_strerror_posix.h',
185 'scoped_bstr_win.cc',
186 'scoped_bstr_win.h',
187 'scoped_cftyperef.h',
188 'scoped_comptr_win.h',
189 'scoped_handle.h',
[email protected]ef4fa4072009-12-04 22:46:50190 'scoped_handle_win.h',
191 'scoped_nsautorelease_pool.h',
192 'scoped_nsautorelease_pool.mm',
193 'scoped_nsdisable_screen_updates.h',
194 'scoped_nsobject.h',
[email protected]8ceb44c2010-02-24 22:27:04195 'scoped_open_process.h',
[email protected]ef4fa4072009-12-04 22:46:50196 'scoped_ptr.h',
197 'scoped_temp_dir.cc',
198 'scoped_temp_dir.h',
199 'scoped_variant_win.cc',
200 'scoped_variant_win.h',
201 'scoped_vector.h',
202 'sha1.cc',
203 'sha1.h',
204 'shared_memory.h',
205 'shared_memory_posix.cc',
206 'shared_memory_win.cc',
207 'simple_thread.cc',
208 'simple_thread.h',
209 'singleton.h',
210 'spin_wait.h',
211 'stack_container.h',
212 'stats_counters.h',
213 'stats_table.cc',
214 'stats_table.h',
215 'stl_util-inl.h',
216 'string_piece.cc',
217 'string_piece.h',
[email protected]0477554f2010-01-21 19:29:25218 'string_split.cc',
219 'string_split.h',
[email protected]ef4fa4072009-12-04 22:46:50220 'string_tokenizer.h',
221 'string_util.cc',
222 'string_util.h',
223 'string_util_win.h',
224 'sys_info.h',
225 'sys_info_chromeos.cc',
226 'sys_info_freebsd.cc',
227 'sys_info_linux.cc',
228 'sys_info_mac.cc',
229 'sys_info_openbsd.cc',
230 'sys_info_posix.cc',
231 'sys_info_win.cc',
232 'sys_string_conversions.h',
233 'sys_string_conversions_linux.cc',
234 'sys_string_conversions_mac.mm',
235 'sys_string_conversions_win.cc',
236 'task.h',
237 'thread.cc',
238 'thread.h',
239 'thread_collision_warner.cc',
240 'thread_collision_warner.h',
241 'thread_local.h',
242 'thread_local_posix.cc',
243 'thread_local_storage.h',
244 'thread_local_storage_posix.cc',
245 'thread_local_storage_win.cc',
246 'thread_local_win.cc',
247 'time.cc',
248 'time.h',
249 'time_win.cc',
250 'timer.cc',
251 'timer.h',
[email protected]3e569552010-05-07 20:25:49252 'trace_event_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50253 'trace_event.cc',
254 'trace_event.h',
255 'tracked.cc',
256 'tracked.h',
257 'tracked_objects.cc',
258 'tracked_objects.h',
259 'tuple.h',
[email protected]9bc8cff2010-04-03 01:05:39260 'unix_domain_socket_posix.cc',
[email protected]ef4fa4072009-12-04 22:46:50261 'utf_offset_string_conversions.cc',
262 'utf_offset_string_conversions.h',
263 'utf_string_conversion_utils.cc',
264 'utf_string_conversion_utils.h',
265 'utf_string_conversions.cc',
266 'utf_string_conversions.h',
[email protected]c604a552010-03-22 20:12:50267 'values.cc',
268 'values.h',
[email protected]ef4fa4072009-12-04 22:46:50269 'waitable_event.h',
270 'waitable_event_posix.cc',
271 'waitable_event_watcher.h',
272 'waitable_event_watcher_posix.cc',
273 'waitable_event_watcher_win.cc',
274 'waitable_event_win.cc',
275 'watchdog.cc',
276 'watchdog.h',
277 'weak_ptr.h',
278 'win_util.cc',
279 'win_util.h',
280 'windows_message_list.h',
281 'wmi_util.cc',
282 'wmi_util.h',
283 'worker_pool.h',
284 'worker_pool_linux.cc',
285 'worker_pool_linux.h',
286 'worker_pool_mac.h',
287 'worker_pool_mac.mm',
288 'worker_pool_win.cc',
[email protected]1c657852010-04-22 23:28:05289 'xdg_util.h',
290 'xdg_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50291 ],
292 'include_dirs': [
293 '..',
294 ],
295 # These warnings are needed for the files in third_party\dmg_fp.
296 'msvs_disabled_warnings': [
297 4244, 4554, 4018, 4102,
298 ],
299 'mac_framework_dirs': [
300 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks',
301 ],
302 'conditions': [
[email protected]93f21e42010-04-01 00:35:15303 [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"', {
[email protected]ef4fa4072009-12-04 22:46:50304 'sources/': [
[email protected]ef4fa4072009-12-04 22:46:50305 ['exclude', '/xdg_user_dirs/'],
[email protected]1c657852010-04-22 23:28:05306 ['exclude', '/xdg_[^/]*\\.cc$'],
[email protected]ef4fa4072009-12-04 22:46:50307 ['exclude', '_nss\.cc$'],
308 ],
309 'sources!': [
310 'atomicops_internals_x86_gcc.cc',
311 'base_paths_posix.cc',
[email protected]ef4fa4072009-12-04 22:46:50312 'message_pump_glib.cc',
[email protected]1c657852010-04-22 23:28:05313 'xdg_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50314 ],
[email protected]bcff05a2010-04-14 01:46:43315 }],
[email protected]ef4fa4072009-12-04 22:46:50316 [ 'OS != "linux"', {
317 'sources!': [
318 # Not automatically excluded by the *linux.cc rules.
[email protected]1c657852010-04-22 23:28:05319 'linux_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50320 'setproctitle_linux.c',
321 'setproctitle_linux.h',
322 ],
323 },
324 ],
325 # For now, just test the *BSD platforms enough to exclude them.
326 # Subsequent changes will include them further.
327 [ 'OS != "freebsd"', {
328 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
329 },
330 ],
331 [ 'OS != "openbsd"', {
332 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
333 },
334 ],
[email protected]abd4aba2010-01-27 19:36:22335 [ 'OS == "mac"', {
336 'sources!': [
337 # TODO(wtc): Remove nss_util.{cc,h} when http://crbug.com/30689
338 # is fixed.
339 'nss_util.cc',
340 'nss_util.h',
341 ],
342 }, { # OS != "mac"
[email protected]ef4fa4072009-12-04 22:46:50343 'sources!': [
344 'crypto/cssm_init.cc',
345 'crypto/cssm_init.h',
346 ],
[email protected]abd4aba2010-01-27 19:36:22347 },],
[email protected]ef4fa4072009-12-04 22:46:50348 [ 'OS == "win"', {
349 'include_dirs': [
[email protected]cd134c8c2010-03-09 05:23:12350 '<(DEPTH)/third_party/wtl/include',
[email protected]ef4fa4072009-12-04 22:46:50351 ],
352 'sources!': [
[email protected]ef4fa4072009-12-04 22:46:50353 'event_recorder_stubs.cc',
354 'file_descriptor_shuffle.cc',
355 'message_pump_libevent.cc',
356 'string16.cc',
[email protected]3e569552010-05-07 20:25:49357 'trace_event.cc',
[email protected]ef4fa4072009-12-04 22:46:50358 ],
359 },],
360 ],
361 }],
362 ],
363 },
364 'targets': [
365 {
366 'target_name': 'base',
367 'type': '<(library)',
368 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165',
369 'variables': {
370 'base_target': 1,
371 },
372 'dependencies': [
373 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
[email protected]b4a0b99952010-05-19 08:33:37374 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]ef4fa4072009-12-04 22:46:50375 ],
376 # TODO(gregoryd): direct_dependent_settings should be shared with the
377 # 64-bit target, but it doesn't work due to a bug in gyp
378 'direct_dependent_settings': {
379 'include_dirs': [
380 '..',
381 ],
382 },
383 # Conditions that are not relevant for Win64 build
384 'conditions': [
[email protected]66700d42010-03-10 07:46:43385 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
[email protected]ef4fa4072009-12-04 22:46:50386 'conditions': [
[email protected]fdc5bed2010-01-09 01:16:57387 [ 'chromeos==1', {
[email protected]ef4fa4072009-12-04 22:46:50388 'sources/': [ ['include', '_chromeos\\.cc$'] ]
389 },
390 ],
[email protected]61a9b2d82010-02-26 00:31:08391 [ 'linux_use_tcmalloc==0', {
[email protected]ef4fa4072009-12-04 22:46:50392 'defines': [
[email protected]61a9b2d82010-02-26 00:31:08393 'NO_TCMALLOC',
[email protected]ef4fa4072009-12-04 22:46:50394 ],
395 'direct_dependent_settings': {
396 'defines': [
[email protected]61a9b2d82010-02-26 00:31:08397 'NO_TCMALLOC',
[email protected]ef4fa4072009-12-04 22:46:50398 ],
399 },
400 },
401 ],
[email protected]ef8f5ba2010-04-02 14:54:22402 [ 'linux_use_tcmalloc==1', {
403 'dependencies': [
404 'allocator/allocator.gyp:allocator',
405 ],
406 },
407 ],
[email protected]e43eddf12009-12-29 00:32:52408 [ 'OS == "linux"', {
409 'link_settings': {
410 'libraries': [
411 # We need rt for clock_gettime().
412 '-lrt',
[email protected]524f1cf2010-02-23 19:21:53413 # For 'native_library_linux.cc'
414 '-ldl',
[email protected]e43eddf12009-12-29 00:32:52415 ],
416 },
417 }],
[email protected]ef4fa4072009-12-04 22:46:50418 ],
419 'dependencies': [
420 '../build/util/build_util.gyp:lastchange',
421 '../build/linux/system.gyp:gtk',
422 '../build/linux/system.gyp:nss',
[email protected]2d48004e2010-02-03 02:11:40423 'symbolize',
424 'xdg_mime',
[email protected]48c27f72010-01-26 06:26:26425 ],
426 'defines': [
427 'USE_SYMBOLIZE',
[email protected]ef4fa4072009-12-04 22:46:50428 ],
429 'cflags': [
430 '-Wno-write-strings',
431 ],
[email protected]ef4fa4072009-12-04 22:46:50432 'export_dependent_settings': [
433 '../build/linux/system.gyp:gtk',
434 ],
435 },],
[email protected]66700d42010-03-10 07:46:43436 [ 'OS == "freebsd" or OS == "openbsd"', {
[email protected]e43eddf12009-12-29 00:32:52437 'link_settings': {
438 'libraries': [
439 '-L/usr/local/lib -lexecinfo',
440 ],
441 },
[email protected]ef4fa4072009-12-04 22:46:50442 },
443 ],
444 [ 'OS == "mac"', {
445 'link_settings': {
446 'libraries': [
447 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
448 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
449 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
450 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
451 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
452 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
453 ],
454 },
455 },],
[email protected]abd4aba2010-01-27 19:36:22456 [ 'OS == "win"', {
457 'dependencies': [
458 '../third_party/nss/nss.gyp:nss',
459 ],
460 }, { # OS != "win"
[email protected]ef4fa4072009-12-04 22:46:50461 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
462 'sources!': [
463 'third_party/purify/pure_api.c',
464 'base_drag_source.cc',
465 'base_drop_target.cc',
466 'cpu.cc',
467 'debug_on_start.cc',
468 'event_recorder.cc',
469 'file_version_info.cc',
470 'iat_patch.cc',
471 'image_util.cc',
472 'object_watcher.cc',
473 'pe_image.cc',
474 'registry.cc',
475 'resource_util.cc',
476 'win_util.cc',
477 'wmi_util.cc',
478 ],
[email protected]abd4aba2010-01-27 19:36:22479 },],
[email protected]ef4fa4072009-12-04 22:46:50480 ],
481 'sources': [
482 'crypto/cssm_init.cc',
483 'crypto/cssm_init.h',
[email protected]39422e32010-03-25 19:13:00484 'crypto/encryptor.h',
485 'crypto/encryptor_mac.cc',
486 'crypto/encryptor_nss.cc',
487 'crypto/encryptor_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50488 'crypto/rsa_private_key.h',
489 'crypto/rsa_private_key.cc',
490 'crypto/rsa_private_key_mac.cc',
491 'crypto/rsa_private_key_nss.cc',
492 'crypto/rsa_private_key_win.cc',
493 'crypto/signature_creator.h',
494 'crypto/signature_creator_mac.cc',
495 'crypto/signature_creator_nss.cc',
496 'crypto/signature_creator_win.cc',
497 'crypto/signature_verifier.h',
498 'crypto/signature_verifier_mac.cc',
499 'crypto/signature_verifier_nss.cc',
500 'crypto/signature_verifier_win.cc',
[email protected]41c78fa2010-03-22 20:08:41501 'crypto/symmetric_key.h',
502 'crypto/symmetric_key_mac.cc',
503 'crypto/symmetric_key_nss.cc',
504 'crypto/symmetric_key_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50505 'third_party/nspr/prcpucfg.h',
506 'third_party/nspr/prcpucfg_win.h',
507 'third_party/nspr/prtypes.h',
508 'third_party/nss/blapi.h',
509 'third_party/nss/blapit.h',
510 'third_party/nss/sha256.h',
511 'third_party/nss/sha512.cc',
512 'third_party/purify/pure.h',
513 'third_party/purify/pure_api.c',
[email protected]ef4fa4072009-12-04 22:46:50514 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
515 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h',
516 'auto_reset.h',
517 'base64.cc',
518 'base64.h',
519 'base_drag_source.cc',
520 'base_drag_source.h',
521 'base_drop_target.cc',
522 'base_drop_target.h',
523 'data_pack.cc',
[email protected]ef4fa4072009-12-04 22:46:50524 'event_recorder.cc',
525 'event_recorder.h',
526 'event_recorder_stubs.cc',
527 'field_trial.cc',
528 'field_trial.h',
529 'file_descriptor_shuffle.cc',
530 'file_descriptor_shuffle.h',
[email protected]ef4fa4072009-12-04 22:46:50531 'hmac.h',
532 'hmac_mac.cc',
533 'hmac_nss.cc',
534 'hmac_win.cc',
535 'image_util.cc',
536 'image_util.h',
537 'json/json_reader.cc',
538 'json/json_reader.h',
539 'json/json_writer.cc',
540 'json/json_writer.h',
541 'json/string_escape.cc',
542 'json/string_escape.h',
543 'keyboard_code_conversion_gtk.cc',
544 'keyboard_code_conversion_gtk.h',
545 'keyboard_codes.h',
546 'keyboard_codes_win.h',
547 'keyboard_codes_posix.h',
548 'linux_util.cc',
549 'linux_util.h',
550 'md5.cc',
551 'md5.h',
552 'message_pump_glib.cc',
553 'message_pump_glib.h',
554 'message_pump_libevent.cc',
555 'message_pump_libevent.h',
556 'message_pump_mac.h',
557 'message_pump_mac.mm',
558 'nsimage_cache_mac.h',
559 'nsimage_cache_mac.mm',
[email protected]1b1a264a2010-01-14 22:36:35560 'nss_util.cc',
561 'nss_util.h',
[email protected]ef4fa4072009-12-04 22:46:50562 'setproctitle_linux.c',
563 'setproctitle_linux.h',
564 'sha2.cc',
565 'sha2.h',
566 'string16.cc',
567 'string16.h',
568 'sync_socket.h',
569 'sync_socket_win.cc',
570 'sync_socket_posix.cc',
571 'time_mac.cc',
572 'time_posix.cc',
[email protected]ef4fa4072009-12-04 22:46:50573 'version.cc',
574 'version.h',
575 ],
576 },
577 ],
578 'conditions': [
579 [ 'OS == "win"', {
580 'targets': [
581 {
582 'target_name': 'base_nacl_win64',
583 'type': '<(library)',
584 'msvs_guid': 'CEE1F794-DC70-4FED-B7C4-4C12986672FE',
585 'variables': {
586 'base_target': 1,
587 },
[email protected]ee857512010-05-14 08:24:42588 'dependencies': [
[email protected]b4a0b99952010-05-19 08:33:37589 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
[email protected]ee857512010-05-14 08:24:42590 ],
[email protected]ef4fa4072009-12-04 22:46:50591 # TODO(gregoryd): direct_dependent_settings should be shared with the
592 # 32-bit target, but it doesn't work due to a bug in gyp
593 'direct_dependent_settings': {
594 'include_dirs': [
595 '..',
596 ],
597 },
598 'defines': [
599 '<@(nacl_win64_defines)',
600 ],
601 'sources': [
602 'i18n/icu_util_nacl_win64.cc',
603 ],
604 'configurations': {
[email protected]8782f7072009-12-22 22:57:37605 'Common_Base': {
[email protected]ef4fa4072009-12-04 22:46:50606 'msvs_target_platform': 'x64',
607 },
608 },
609 },
610 ],
611 }],
[email protected]93f21e42010-04-01 00:35:15612 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
[email protected]48c27f72010-01-26 06:26:26613 'targets': [
614 {
615 'target_name': 'symbolize',
616 'type': '<(library)',
[email protected]076cf932010-02-16 19:13:36617 'variables': {
618 'chromium_code': 0,
619 },
[email protected]93f21e42010-04-01 00:35:15620 'conditions': [
621 [ 'OS == "solaris"', {
622 'include_dirs': [
623 '/usr/gnu/include',
624 '/usr/gnu/include/libelf',
625 ],
626 },],
627 ],
[email protected]48c27f72010-01-26 06:26:26628 'cflags': [
629 '-Wno-sign-compare',
630 ],
[email protected]225c8f52010-02-05 22:23:20631 'cflags!': [
632 '-Wextra',
633 ],
[email protected]48c27f72010-01-26 06:26:26634 'sources': [
635 'third_party/symbolize/symbolize.cc',
636 'third_party/symbolize/demangle.cc',
637 ],
638 },
[email protected]2d48004e2010-02-03 02:11:40639 {
640 'target_name': 'xdg_mime',
641 'type': '<(library)',
[email protected]076cf932010-02-16 19:13:36642 'variables': {
643 'chromium_code': 0,
644 },
[email protected]225c8f52010-02-05 22:23:20645 'cflags!': [
646 '-Wextra',
647 ],
[email protected]2d48004e2010-02-03 02:11:40648 'sources': [
649 'third_party/xdg_mime/xdgmime.c',
650 'third_party/xdg_mime/xdgmime.h',
651 'third_party/xdg_mime/xdgmimealias.c',
652 'third_party/xdg_mime/xdgmimealias.h',
653 'third_party/xdg_mime/xdgmimecache.c',
654 'third_party/xdg_mime/xdgmimecache.h',
655 'third_party/xdg_mime/xdgmimeglob.c',
656 'third_party/xdg_mime/xdgmimeglob.h',
657 'third_party/xdg_mime/xdgmimeicon.c',
658 'third_party/xdg_mime/xdgmimeicon.h',
659 'third_party/xdg_mime/xdgmimeint.c',
660 'third_party/xdg_mime/xdgmimeint.h',
661 'third_party/xdg_mime/xdgmimemagic.c',
662 'third_party/xdg_mime/xdgmimemagic.h',
663 'third_party/xdg_mime/xdgmimeparent.c',
664 'third_party/xdg_mime/xdgmimeparent.h',
665 ],
666 },
[email protected]48c27f72010-01-26 06:26:26667 ],
668 }],
[email protected]ef4fa4072009-12-04 22:46:50669 ],
670}