blob: fd9ea54cdfe03ff22df3d1002606a26004e9533f [file] [log] [blame]
evan@chromium.orga6768f52010-02-06 07:23:20 +09001# Copyright (c) 2010 The Chromium Authors. All rights reserved.
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +09002# 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',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090024 'at_exit.cc',
25 'at_exit.h',
26 'atomic_ref_count.h',
27 'atomic_sequence_num.h',
28 'atomicops.h',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +090029 'atomicops_internals_x86_gcc.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090030 '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',
akalin@chromium.org6ed4f882010-02-19 12:15:59 +090043 'callback.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090044 'cancellation_flag.cc',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +090045 'cancellation_flag.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090046 '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',
agl@chromium.org4300a312010-03-12 00:25:54 +090064 'dir_reader_fallback.h',
65 'dir_reader_linux.h',
66 'dir_reader_posix.h',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +090067 'env_var.cc',
68 'env_var.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090069 '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',
estade@chromium.org1d211282010-05-19 12:39:27 +090074 'event_synthesis_gtk.cc',
75 'event_synthesis_gtk.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090076 'file_path.cc',
77 'file_path.h',
78 'file_util.cc',
79 'file_util.h',
evan@chromium.orgc4e9f7c2010-02-23 20:34:54 +090080 'file_util_deprecated.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090081 'file_util_mac.mm',
82 'file_util_posix.cc',
83 'file_util_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090084 'file_version_info.h',
tony@chromium.org9f7a86f2010-04-14 10:46:43 +090085 'file_version_info_mac.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090086 'file_version_info_mac.mm',
tony@chromium.org9f7a86f2010-04-14 10:46:43 +090087 'file_version_info_win.cc',
88 'file_version_info_win.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090089 'fix_wp64.h',
90 'float_util.h',
91 'foundation_utils_mac.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090092 'global_descriptors_posix.cc',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +090093 'global_descriptors_posix.h',
phajdan.jr@chromium.orgdd43b732010-06-01 23:30:51 +090094 'gtest_prod_util.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090095 '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',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900113 'logging.h',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +0900114 'logging_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900115 'mac_util.h',
116 'mac_util.mm',
thakis@chromium.org281e2102010-01-12 09:39:15 +0900117 'mach_ipc_mac.h',
118 'mach_ipc_mac.mm',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900119 'memory_debug.cc',
120 'memory_debug.h',
121 'message_loop.cc',
122 'message_loop.h',
sanjeevr@chromium.org11e02e62010-04-29 12:31:34 +0900123 'message_loop_proxy.h',
sanjeevr@chromium.orgd393cc42010-05-07 03:34:24 +0900124 'message_loop_proxy_impl.cc',
125 'message_loop_proxy_impl.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900126 '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',
evan@chromium.org73aec0e2010-04-23 08:28:05 +0900132 'mime_util_xdg.cc',
seanparent@google.come8280712010-03-20 06:59:01 +0900133 'move.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900134 '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',
rvargas@google.comfb848672010-02-05 07:47:37 +0900147 'pe_image.cc',
148 'pe_image.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900149 'pickle.cc',
150 'pickle.h',
151 'platform_file.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900152 'platform_file_posix.cc',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +0900153 'platform_file_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900154 'platform_thread.h',
155 'platform_thread_mac.mm',
156 'platform_thread_posix.cc',
157 'platform_thread_win.cc',
158 'port.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900159 'process.h',
160 'process_linux.cc',
161 'process_posix.cc',
maruel@chromium.org9cf11e82010-04-30 02:44:42 +0900162 'process_util.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900163 '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',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +0900169 'profiler.cc',
170 'profiler.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900171 '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',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900190 'scoped_handle_win.h',
191 'scoped_nsautorelease_pool.h',
192 'scoped_nsautorelease_pool.mm',
193 'scoped_nsdisable_screen_updates.h',
194 'scoped_nsobject.h',
apatrick@chromium.org63e82d02010-02-25 07:27:04 +0900195 'scoped_open_process.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900196 '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',
timsteele@google.com22058212010-01-22 04:29:25 +0900218 'string_split.cc',
219 'string_split.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900220 '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',
siggi@chromium.org7cdbc422010-05-08 05:25:49 +0900252 'trace_event_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900253 'trace_event.cc',
254 'trace_event.h',
255 'tracked.cc',
256 'tracked.h',
257 'tracked_objects.cc',
258 'tracked_objects.h',
259 'tuple.h',
thestig@chromium.orgb6ba9432010-04-03 10:05:39 +0900260 'unix_domain_socket_posix.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900261 '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',
robertshield@chromium.org9fb9e372010-03-23 05:12:50 +0900267 'values.cc',
268 'values.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900269 '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',
evan@chromium.org73aec0e2010-04-23 08:28:05 +0900289 'xdg_util.h',
290 'xdg_util.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900291 ],
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': [
evan@chromium.org089339c2010-04-01 09:35:15 +0900303 [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900304 'sources/': [
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900305 ['exclude', '/xdg_user_dirs/'],
evan@chromium.org73aec0e2010-04-23 08:28:05 +0900306 ['exclude', '/xdg_[^/]*\\.cc$'],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900307 ['exclude', '_nss\.cc$'],
308 ],
309 'sources!': [
310 'atomicops_internals_x86_gcc.cc',
311 'base_paths_posix.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900312 'message_pump_glib.cc',
evan@chromium.org73aec0e2010-04-23 08:28:05 +0900313 'xdg_util.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900314 ],
tony@chromium.org9f7a86f2010-04-14 10:46:43 +0900315 }],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900316 [ 'OS != "linux"', {
317 'sources!': [
318 # Not automatically excluded by the *linux.cc rules.
evan@chromium.org73aec0e2010-04-23 08:28:05 +0900319 'linux_util.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900320 '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 ],
wtc@chromium.orgcded8b22010-06-02 05:28:03 +0900335 [ 'OS != "mac"', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900336 'sources!': [
337 'crypto/cssm_init.cc',
338 'crypto/cssm_init.h',
339 ],
wtc@chromium.org6e6b7832010-01-28 04:36:22 +0900340 },],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900341 [ 'OS == "win"', {
342 'include_dirs': [
tony@chromium.orga3dbf212010-03-09 14:23:12 +0900343 '<(DEPTH)/third_party/wtl/include',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900344 ],
345 'sources!': [
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900346 'event_recorder_stubs.cc',
347 'file_descriptor_shuffle.cc',
348 'message_pump_libevent.cc',
349 'string16.cc',
siggi@chromium.org7cdbc422010-05-08 05:25:49 +0900350 'trace_event.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900351 ],
352 },],
353 ],
354 }],
355 ],
356 },
357 'targets': [
358 {
359 'target_name': 'base',
360 'type': '<(library)',
361 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165',
362 'variables': {
363 'base_target': 1,
364 },
365 'dependencies': [
366 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
tony@chromium.org2ddfe8c2010-05-19 17:33:37 +0900367 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900368 ],
369 # TODO(gregoryd): direct_dependent_settings should be shared with the
370 # 64-bit target, but it doesn't work due to a bug in gyp
371 'direct_dependent_settings': {
372 'include_dirs': [
373 '..',
374 ],
375 },
376 # Conditions that are not relevant for Win64 build
377 'conditions': [
pvalchev@google.com1d919db2010-03-10 16:46:43 +0900378 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900379 'conditions': [
oshima@chromium.orgf34010a2010-01-09 10:16:57 +0900380 [ 'chromeos==1', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900381 'sources/': [ ['include', '_chromeos\\.cc$'] ]
382 },
383 ],
thestig@chromium.orgc491b202010-02-26 09:31:08 +0900384 [ 'linux_use_tcmalloc==0', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900385 'defines': [
thestig@chromium.orgc491b202010-02-26 09:31:08 +0900386 'NO_TCMALLOC',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900387 ],
388 'direct_dependent_settings': {
389 'defines': [
thestig@chromium.orgc491b202010-02-26 09:31:08 +0900390 'NO_TCMALLOC',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900391 ],
392 },
393 },
394 ],
mmoss@google.com478c9442010-04-02 23:54:22 +0900395 [ 'linux_use_tcmalloc==1', {
396 'dependencies': [
397 'allocator/allocator.gyp:allocator',
398 ],
399 },
400 ],
evan@chromium.org875bb6e2009-12-29 09:32:52 +0900401 [ 'OS == "linux"', {
402 'link_settings': {
403 'libraries': [
404 # We need rt for clock_gettime().
405 '-lrt',
mmoss@google.com38b174a2010-02-24 04:21:53 +0900406 # For 'native_library_linux.cc'
407 '-ldl',
evan@chromium.org875bb6e2009-12-29 09:32:52 +0900408 ],
409 },
410 }],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900411 ],
412 'dependencies': [
413 '../build/util/build_util.gyp:lastchange',
414 '../build/linux/system.gyp:gtk',
415 '../build/linux/system.gyp:nss',
evan@chromium.orgc4bcf872010-02-03 11:11:40 +0900416 'symbolize',
417 'xdg_mime',
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900418 ],
419 'defines': [
420 'USE_SYMBOLIZE',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900421 ],
422 'cflags': [
423 '-Wno-write-strings',
424 ],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900425 'export_dependent_settings': [
426 '../build/linux/system.gyp:gtk',
427 ],
428 },],
pvalchev@google.com1d919db2010-03-10 16:46:43 +0900429 [ 'OS == "freebsd" or OS == "openbsd"', {
evan@chromium.org875bb6e2009-12-29 09:32:52 +0900430 'link_settings': {
431 'libraries': [
432 '-L/usr/local/lib -lexecinfo',
433 ],
434 },
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900435 },
436 ],
437 [ 'OS == "mac"', {
438 'link_settings': {
439 'libraries': [
440 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
441 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
442 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
443 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
444 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
445 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
446 ],
447 },
448 },],
wtc@chromium.orgcded8b22010-06-02 05:28:03 +0900449 [ 'OS == "mac" or OS == "win"', {
wtc@chromium.org6e6b7832010-01-28 04:36:22 +0900450 'dependencies': [
451 '../third_party/nss/nss.gyp:nss',
452 ],
wtc@chromium.orgcded8b22010-06-02 05:28:03 +0900453 },],
454 [ 'OS != "win"', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900455 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
456 'sources!': [
457 'third_party/purify/pure_api.c',
458 'base_drag_source.cc',
459 'base_drop_target.cc',
460 'cpu.cc',
461 'debug_on_start.cc',
462 'event_recorder.cc',
463 'file_version_info.cc',
464 'iat_patch.cc',
465 'image_util.cc',
466 'object_watcher.cc',
467 'pe_image.cc',
468 'registry.cc',
469 'resource_util.cc',
470 'win_util.cc',
471 'wmi_util.cc',
472 ],
wtc@chromium.org6e6b7832010-01-28 04:36:22 +0900473 },],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900474 ],
475 'sources': [
476 'crypto/cssm_init.cc',
477 'crypto/cssm_init.h',
albertb@chromium.orgd4d57c52010-03-26 04:13:00 +0900478 'crypto/encryptor.h',
479 'crypto/encryptor_mac.cc',
480 'crypto/encryptor_nss.cc',
481 'crypto/encryptor_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900482 'crypto/rsa_private_key.h',
483 'crypto/rsa_private_key.cc',
484 'crypto/rsa_private_key_mac.cc',
485 'crypto/rsa_private_key_nss.cc',
486 'crypto/rsa_private_key_win.cc',
487 'crypto/signature_creator.h',
488 'crypto/signature_creator_mac.cc',
489 'crypto/signature_creator_nss.cc',
490 'crypto/signature_creator_win.cc',
491 'crypto/signature_verifier.h',
492 'crypto/signature_verifier_mac.cc',
493 'crypto/signature_verifier_nss.cc',
494 'crypto/signature_verifier_win.cc',
albertb@chromium.org540ad012010-03-23 05:08:41 +0900495 'crypto/symmetric_key.h',
496 'crypto/symmetric_key_mac.cc',
497 'crypto/symmetric_key_nss.cc',
498 'crypto/symmetric_key_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900499 'third_party/nspr/prcpucfg.h',
500 'third_party/nspr/prcpucfg_win.h',
501 'third_party/nspr/prtypes.h',
502 'third_party/nss/blapi.h',
503 'third_party/nss/blapit.h',
504 'third_party/nss/sha256.h',
505 'third_party/nss/sha512.cc',
506 'third_party/purify/pure.h',
507 'third_party/purify/pure_api.c',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900508 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
509 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h',
510 'auto_reset.h',
511 'base64.cc',
512 'base64.h',
513 'base_drag_source.cc',
514 'base_drag_source.h',
515 'base_drop_target.cc',
516 'base_drop_target.h',
517 'data_pack.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900518 'event_recorder.cc',
519 'event_recorder.h',
520 'event_recorder_stubs.cc',
521 'field_trial.cc',
522 'field_trial.h',
523 'file_descriptor_shuffle.cc',
524 'file_descriptor_shuffle.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900525 'hmac.h',
526 'hmac_mac.cc',
527 'hmac_nss.cc',
528 'hmac_win.cc',
529 'image_util.cc',
530 'image_util.h',
531 'json/json_reader.cc',
532 'json/json_reader.h',
533 'json/json_writer.cc',
534 'json/json_writer.h',
535 'json/string_escape.cc',
536 'json/string_escape.h',
537 'keyboard_code_conversion_gtk.cc',
538 'keyboard_code_conversion_gtk.h',
539 'keyboard_codes.h',
540 'keyboard_codes_win.h',
541 'keyboard_codes_posix.h',
542 'linux_util.cc',
543 'linux_util.h',
544 'md5.cc',
545 'md5.h',
546 'message_pump_glib.cc',
547 'message_pump_glib.h',
548 'message_pump_libevent.cc',
549 'message_pump_libevent.h',
550 'message_pump_mac.h',
551 'message_pump_mac.mm',
552 'nsimage_cache_mac.h',
553 'nsimage_cache_mac.mm',
mattm@chromium.org4bea5962010-01-15 07:36:35 +0900554 'nss_util.cc',
555 'nss_util.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900556 'setproctitle_linux.c',
557 'setproctitle_linux.h',
558 'sha2.cc',
559 'sha2.h',
560 'string16.cc',
561 'string16.h',
562 'sync_socket.h',
563 'sync_socket_win.cc',
564 'sync_socket_posix.cc',
565 'time_mac.cc',
566 'time_posix.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900567 'version.cc',
568 'version.h',
569 ],
570 },
571 ],
572 'conditions': [
573 [ 'OS == "win"', {
574 'targets': [
575 {
576 'target_name': 'base_nacl_win64',
577 'type': '<(library)',
578 'msvs_guid': 'CEE1F794-DC70-4FED-B7C4-4C12986672FE',
579 'variables': {
580 'base_target': 1,
581 },
timurrrr@chromium.orgf39c3ff2010-05-14 17:24:42 +0900582 'dependencies': [
tony@chromium.org2ddfe8c2010-05-19 17:33:37 +0900583 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
timurrrr@chromium.orgf39c3ff2010-05-14 17:24:42 +0900584 ],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900585 # TODO(gregoryd): direct_dependent_settings should be shared with the
586 # 32-bit target, but it doesn't work due to a bug in gyp
587 'direct_dependent_settings': {
588 'include_dirs': [
589 '..',
590 ],
591 },
592 'defines': [
593 '<@(nacl_win64_defines)',
594 ],
595 'sources': [
596 'i18n/icu_util_nacl_win64.cc',
597 ],
598 'configurations': {
gregoryd@google.comacc30ba2009-12-23 07:57:37 +0900599 'Common_Base': {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900600 'msvs_target_platform': 'x64',
601 },
602 },
603 },
604 ],
605 }],
evan@chromium.org089339c2010-04-01 09:35:15 +0900606 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900607 'targets': [
608 {
609 'target_name': 'symbolize',
610 'type': '<(library)',
mark@chromium.org9cc09262010-02-17 04:13:36 +0900611 'variables': {
612 'chromium_code': 0,
613 },
evan@chromium.org089339c2010-04-01 09:35:15 +0900614 'conditions': [
615 [ 'OS == "solaris"', {
616 'include_dirs': [
617 '/usr/gnu/include',
618 '/usr/gnu/include/libelf',
619 ],
620 },],
621 ],
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900622 'cflags': [
623 '-Wno-sign-compare',
624 ],
evan@chromium.orga6768f52010-02-06 07:23:20 +0900625 'cflags!': [
626 '-Wextra',
627 ],
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900628 'sources': [
629 'third_party/symbolize/symbolize.cc',
630 'third_party/symbolize/demangle.cc',
631 ],
632 },
evan@chromium.orgc4bcf872010-02-03 11:11:40 +0900633 {
634 'target_name': 'xdg_mime',
635 'type': '<(library)',
mark@chromium.org9cc09262010-02-17 04:13:36 +0900636 'variables': {
637 'chromium_code': 0,
638 },
evan@chromium.orga6768f52010-02-06 07:23:20 +0900639 'cflags!': [
640 '-Wextra',
641 ],
evan@chromium.orgc4bcf872010-02-03 11:11:40 +0900642 'sources': [
643 'third_party/xdg_mime/xdgmime.c',
644 'third_party/xdg_mime/xdgmime.h',
645 'third_party/xdg_mime/xdgmimealias.c',
646 'third_party/xdg_mime/xdgmimealias.h',
647 'third_party/xdg_mime/xdgmimecache.c',
648 'third_party/xdg_mime/xdgmimecache.h',
649 'third_party/xdg_mime/xdgmimeglob.c',
650 'third_party/xdg_mime/xdgmimeglob.h',
651 'third_party/xdg_mime/xdgmimeicon.c',
652 'third_party/xdg_mime/xdgmimeicon.h',
653 'third_party/xdg_mime/xdgmimeint.c',
654 'third_party/xdg_mime/xdgmimeint.h',
655 'third_party/xdg_mime/xdgmimemagic.c',
656 'third_party/xdg_mime/xdgmimemagic.h',
657 'third_party/xdg_mime/xdgmimeparent.c',
658 'third_party/xdg_mime/xdgmimeparent.h',
659 ],
660 },
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900661 ],
662 }],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900663 ],
664}