blob: b6bca9089d34560e5c477b51a1b4c1c3d706fce5 [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',
24 'atomicops_internals_x86_gcc.cc',
25 'at_exit.cc',
26 'at_exit.h',
27 'atomic_ref_count.h',
28 'atomic_sequence_num.h',
29 'atomicops.h',
30 '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.h',
45 'cancellation_flag.cc',
46 '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',
64 'event_trace_consumer_win.h',
65 'event_trace_controller_win.cc',
66 'event_trace_controller_win.h',
67 'event_trace_provider_win.cc',
68 'event_trace_provider_win.h',
69 'file_path.cc',
70 'file_path.h',
71 'file_util.cc',
72 'file_util.h',
evan@chromium.orgc4e9f7c2010-02-23 20:34:54 +090073 'file_util_deprecated.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +090074 'file_util_linux.cc',
75 'file_util_mac.mm',
76 'file_util_posix.cc',
77 'file_util_win.cc',
78 'file_version_info.cc',
79 'file_version_info.h',
80 'file_version_info_mac.mm',
81 'fix_wp64.h',
82 'float_util.h',
83 'foundation_utils_mac.h',
84 'global_descriptors_posix.h',
85 'global_descriptors_posix.cc',
86 'hash_tables.h',
87 'histogram.cc',
88 'histogram.h',
89 'iat_patch.cc',
90 'iat_patch.h',
91 'id_map.h',
92 'lazy_instance.cc',
93 'lazy_instance.h',
94 'leak_annotations.h',
95 'leak_tracker.h',
96 'linked_list.h',
97 'linked_ptr.h',
98 'lock.cc',
99 'lock.h',
100 'lock_impl.h',
101 'lock_impl_posix.cc',
102 'lock_impl_win.cc',
103 'logging.cc',
104 'logging_win.cc',
105 'logging.h',
106 'mac_util.h',
107 'mac_util.mm',
thakis@chromium.org281e2102010-01-12 09:39:15 +0900108 'mach_ipc_mac.h',
109 'mach_ipc_mac.mm',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900110 'memory_debug.cc',
111 'memory_debug.h',
112 'message_loop.cc',
113 'message_loop.h',
114 'message_pump.h',
115 'message_pump_default.cc',
116 'message_pump_default.h',
117 'message_pump_win.cc',
118 'message_pump_win.h',
119 'mime_util.h',
120 'mime_util_linux.cc',
121 'native_library.h',
122 'native_library_linux.cc',
123 'native_library_mac.mm',
124 'native_library_win.cc',
125 'non_thread_safe.cc',
126 'non_thread_safe.h',
127 'nullable_string16.h',
128 'object_watcher.cc',
129 'object_watcher.h',
130 'observer_list.h',
131 'observer_list_threadsafe.h',
132 'path_service.cc',
133 'path_service.h',
rvargas@google.comfb848672010-02-05 07:47:37 +0900134 'pe_image.cc',
135 'pe_image.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900136 'pickle.cc',
137 'pickle.h',
138 'platform_file.h',
139 'platform_file_win.cc',
140 'platform_file_posix.cc',
141 'platform_thread.h',
142 'platform_thread_mac.mm',
143 'platform_thread_posix.cc',
144 'platform_thread_win.cc',
145 'port.h',
146 'profiler.cc',
147 'profiler.h',
148 'process.h',
149 'process_linux.cc',
150 'process_posix.cc',
151 'process_util.h',
152 'process_util_linux.cc',
153 'process_util_mac.mm',
154 'process_util_posix.cc',
155 'process_util_win.cc',
156 'process_win.cc',
157 'rand_util.cc',
158 'rand_util.h',
159 'rand_util_posix.cc',
160 'rand_util_win.cc',
161 'raw_scoped_refptr_mismatch_checker.h',
162 'ref_counted.cc',
163 'ref_counted.h',
164 'ref_counted_memory.h',
165 'registry.cc',
166 'registry.h',
167 'resource_util.cc',
168 'resource_util.h',
169 'safe_strerror_posix.cc',
170 'safe_strerror_posix.h',
171 'scoped_bstr_win.cc',
172 'scoped_bstr_win.h',
173 'scoped_cftyperef.h',
174 'scoped_comptr_win.h',
175 'scoped_handle.h',
176 'scoped_handle_gtk.h',
177 'scoped_handle_win.h',
178 'scoped_nsautorelease_pool.h',
179 'scoped_nsautorelease_pool.mm',
180 'scoped_nsdisable_screen_updates.h',
181 'scoped_nsobject.h',
apatrick@chromium.org63e82d02010-02-25 07:27:04 +0900182 'scoped_open_process.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900183 'scoped_ptr.h',
184 'scoped_temp_dir.cc',
185 'scoped_temp_dir.h',
186 'scoped_variant_win.cc',
187 'scoped_variant_win.h',
188 'scoped_vector.h',
189 'sha1.cc',
190 'sha1.h',
191 'shared_memory.h',
192 'shared_memory_posix.cc',
193 'shared_memory_win.cc',
194 'simple_thread.cc',
195 'simple_thread.h',
196 'singleton.h',
197 'spin_wait.h',
198 'stack_container.h',
199 'stats_counters.h',
200 'stats_table.cc',
201 'stats_table.h',
202 'stl_util-inl.h',
203 'string_piece.cc',
204 'string_piece.h',
timsteele@google.com22058212010-01-22 04:29:25 +0900205 'string_split.cc',
206 'string_split.h',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900207 'string_tokenizer.h',
208 'string_util.cc',
209 'string_util.h',
210 'string_util_win.h',
211 'sys_info.h',
212 'sys_info_chromeos.cc',
213 'sys_info_freebsd.cc',
214 'sys_info_linux.cc',
215 'sys_info_mac.cc',
216 'sys_info_openbsd.cc',
217 'sys_info_posix.cc',
218 'sys_info_win.cc',
219 'sys_string_conversions.h',
220 'sys_string_conversions_linux.cc',
221 'sys_string_conversions_mac.mm',
222 'sys_string_conversions_win.cc',
223 'task.h',
224 'thread.cc',
225 'thread.h',
226 'thread_collision_warner.cc',
227 'thread_collision_warner.h',
228 'thread_local.h',
229 'thread_local_posix.cc',
230 'thread_local_storage.h',
231 'thread_local_storage_posix.cc',
232 'thread_local_storage_win.cc',
233 'thread_local_win.cc',
234 'time.cc',
235 'time.h',
236 'time_win.cc',
237 'timer.cc',
238 'timer.h',
239 'trace_event.cc',
240 'trace_event.h',
241 'tracked.cc',
242 'tracked.h',
243 'tracked_objects.cc',
244 'tracked_objects.h',
245 'tuple.h',
246 'utf_offset_string_conversions.cc',
247 'utf_offset_string_conversions.h',
248 'utf_string_conversion_utils.cc',
249 'utf_string_conversion_utils.h',
250 'utf_string_conversions.cc',
251 'utf_string_conversions.h',
252 'unix_domain_socket_posix.cc',
253 'waitable_event.h',
254 'waitable_event_posix.cc',
255 'waitable_event_watcher.h',
256 'waitable_event_watcher_posix.cc',
257 'waitable_event_watcher_win.cc',
258 'waitable_event_win.cc',
259 'watchdog.cc',
260 'watchdog.h',
261 'weak_ptr.h',
262 'win_util.cc',
263 'win_util.h',
264 'windows_message_list.h',
265 'wmi_util.cc',
266 'wmi_util.h',
267 'worker_pool.h',
268 'worker_pool_linux.cc',
269 'worker_pool_linux.h',
270 'worker_pool_mac.h',
271 'worker_pool_mac.mm',
272 'worker_pool_win.cc',
273 ],
274 'include_dirs': [
275 '..',
276 ],
277 # These warnings are needed for the files in third_party\dmg_fp.
278 'msvs_disabled_warnings': [
279 4244, 4554, 4018, 4102,
280 ],
281 'mac_framework_dirs': [
282 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks',
283 ],
284 'conditions': [
pvalchev@google.com753a8482010-01-26 08:54:54 +0900285 [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd"', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900286 'sources/': [
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900287 ['exclude', '/xdg_user_dirs/'],
288 ['exclude', '_nss\.cc$'],
289 ],
290 'sources!': [
291 'atomicops_internals_x86_gcc.cc',
292 'base_paths_posix.cc',
tony@chromium.org5c4a2e42010-03-09 10:12:33 +0900293 'file_watcher_inotify.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900294 'linux_util.cc',
295 'message_pump_glib.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900296 ],
297 },],
298 [ 'OS != "linux"', {
299 'sources!': [
300 # Not automatically excluded by the *linux.cc rules.
301 'setproctitle_linux.c',
302 'setproctitle_linux.h',
303 ],
304 },
305 ],
306 # For now, just test the *BSD platforms enough to exclude them.
307 # Subsequent changes will include them further.
308 [ 'OS != "freebsd"', {
309 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
310 },
311 ],
312 [ 'OS != "openbsd"', {
313 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
314 },
315 ],
tony@chromium.org5c4a2e42010-03-09 10:12:33 +0900316 [ 'GENERATOR == "quentin"', {
317 # Quentin builds don't have a recent enough glibc to include the
318 # inotify headers
319 'sources!': [
320 'file_watcher_inotify.cc',
321 ],
322 'sources': [
323 'file_watcher_stub.cc',
324 ],
325 },
326 ],
wtc@chromium.org6e6b7832010-01-28 04:36:22 +0900327 [ 'OS == "mac"', {
328 'sources!': [
329 # TODO(wtc): Remove nss_util.{cc,h} when http://crbug.com/30689
330 # is fixed.
331 'nss_util.cc',
332 'nss_util.h',
333 ],
334 }, { # OS != "mac"
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900335 'sources!': [
336 'crypto/cssm_init.cc',
337 'crypto/cssm_init.h',
338 ],
wtc@chromium.org6e6b7832010-01-28 04:36:22 +0900339 },],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900340 [ 'OS == "win"', {
341 'include_dirs': [
tony@chromium.orga3dbf212010-03-09 14:23:12 +0900342 '<(DEPTH)/third_party/wtl/include',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900343 ],
344 'sources!': [
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900345 'event_recorder_stubs.cc',
346 'file_descriptor_shuffle.cc',
347 'message_pump_libevent.cc',
348 'string16.cc',
349 ],
350 },],
351 ],
352 }],
353 ],
354 },
355 'targets': [
356 {
357 'target_name': 'base',
358 'type': '<(library)',
359 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165',
360 'variables': {
361 'base_target': 1,
362 },
363 'dependencies': [
364 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
365 ],
366 # TODO(gregoryd): direct_dependent_settings should be shared with the
367 # 64-bit target, but it doesn't work due to a bug in gyp
368 'direct_dependent_settings': {
369 'include_dirs': [
370 '..',
371 ],
372 },
373 # Conditions that are not relevant for Win64 build
374 'conditions': [
375 [ 'OS == "linux" or OS == "freebsd"', {
376 'conditions': [
oshima@chromium.orgf34010a2010-01-09 10:16:57 +0900377 [ 'chromeos==1', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900378 'sources/': [ ['include', '_chromeos\\.cc$'] ]
379 },
380 ],
thestig@chromium.orgc491b202010-02-26 09:31:08 +0900381 [ 'linux_use_tcmalloc==0', {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900382 'defines': [
thestig@chromium.orgc491b202010-02-26 09:31:08 +0900383 'NO_TCMALLOC',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900384 ],
385 'direct_dependent_settings': {
386 'defines': [
thestig@chromium.orgc491b202010-02-26 09:31:08 +0900387 'NO_TCMALLOC',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900388 ],
389 },
390 },
391 ],
evan@chromium.org875bb6e2009-12-29 09:32:52 +0900392 [ 'OS == "linux"', {
393 'link_settings': {
394 'libraries': [
395 # We need rt for clock_gettime().
396 '-lrt',
mmoss@google.com38b174a2010-02-24 04:21:53 +0900397 # For 'native_library_linux.cc'
398 '-ldl',
evan@chromium.org875bb6e2009-12-29 09:32:52 +0900399 ],
400 },
401 }],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900402 ],
403 'dependencies': [
404 '../build/util/build_util.gyp:lastchange',
405 '../build/linux/system.gyp:gtk',
406 '../build/linux/system.gyp:nss',
evan@chromium.orgc4bcf872010-02-03 11:11:40 +0900407 'symbolize',
408 'xdg_mime',
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900409 ],
410 'defines': [
411 'USE_SYMBOLIZE',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900412 ],
413 'cflags': [
414 '-Wno-write-strings',
415 ],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900416 'export_dependent_settings': [
417 '../build/linux/system.gyp:gtk',
418 ],
419 },],
420 [ 'OS == "freebsd"', {
tony@chromium.org5c4a2e42010-03-09 10:12:33 +0900421 'sources!': [
422 'file_watcher_inotify.cc',
423 ],
424 'sources': [
425 'file_watcher_stub.cc',
426 ],
evan@chromium.org875bb6e2009-12-29 09:32:52 +0900427 'link_settings': {
428 'libraries': [
429 '-L/usr/local/lib -lexecinfo',
430 ],
431 },
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900432 },
433 ],
434 [ 'OS == "mac"', {
435 'link_settings': {
436 'libraries': [
437 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
438 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
439 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
440 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
441 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
442 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
443 ],
444 },
445 },],
wtc@chromium.org6e6b7832010-01-28 04:36:22 +0900446 [ 'OS == "win"', {
447 'dependencies': [
448 '../third_party/nss/nss.gyp:nss',
449 ],
450 }, { # OS != "win"
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900451 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
452 'sources!': [
453 'third_party/purify/pure_api.c',
454 'base_drag_source.cc',
455 'base_drop_target.cc',
456 'cpu.cc',
457 'debug_on_start.cc',
458 'event_recorder.cc',
459 'file_version_info.cc',
460 'iat_patch.cc',
461 'image_util.cc',
462 'object_watcher.cc',
463 'pe_image.cc',
464 'registry.cc',
465 'resource_util.cc',
466 'win_util.cc',
467 'wmi_util.cc',
468 ],
wtc@chromium.org6e6b7832010-01-28 04:36:22 +0900469 },],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900470 ],
471 'sources': [
472 'crypto/cssm_init.cc',
473 'crypto/cssm_init.h',
474 'crypto/rsa_private_key.h',
475 'crypto/rsa_private_key.cc',
476 'crypto/rsa_private_key_mac.cc',
477 'crypto/rsa_private_key_nss.cc',
478 'crypto/rsa_private_key_win.cc',
479 'crypto/signature_creator.h',
480 'crypto/signature_creator_mac.cc',
481 'crypto/signature_creator_nss.cc',
482 'crypto/signature_creator_win.cc',
483 'crypto/signature_verifier.h',
484 'crypto/signature_verifier_mac.cc',
485 'crypto/signature_verifier_nss.cc',
486 'crypto/signature_verifier_win.cc',
487 'third_party/nspr/prcpucfg.h',
488 'third_party/nspr/prcpucfg_win.h',
489 'third_party/nspr/prtypes.h',
490 'third_party/nss/blapi.h',
491 'third_party/nss/blapit.h',
492 'third_party/nss/sha256.h',
493 'third_party/nss/sha512.cc',
494 'third_party/purify/pure.h',
495 'third_party/purify/pure_api.c',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900496 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
497 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h',
498 'auto_reset.h',
499 'base64.cc',
500 'base64.h',
501 'base_drag_source.cc',
502 'base_drag_source.h',
503 'base_drop_target.cc',
504 'base_drop_target.h',
505 'data_pack.cc',
tony@chromium.org5c4a2e42010-03-09 10:12:33 +0900506 'file_watcher.h',
507 'file_watcher_inotify.cc',
508 'file_watcher_mac.cc',
509 'file_watcher_win.cc',
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900510 'dynamic_annotations.h',
511 'dynamic_annotations.cc',
512 'event_recorder.cc',
513 'event_recorder.h',
514 'event_recorder_stubs.cc',
515 'field_trial.cc',
516 'field_trial.h',
517 'file_descriptor_shuffle.cc',
518 'file_descriptor_shuffle.h',
519 'gfx/point.cc',
520 'gfx/point.h',
521 'gfx/rect.cc',
522 'gfx/rect.h',
523 'gfx/size.cc',
524 'gfx/size.h',
525 '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',
567 'values.cc',
568 'values.h',
569 'version.cc',
570 'version.h',
571 ],
572 },
573 ],
574 'conditions': [
575 [ 'OS == "win"', {
576 'targets': [
577 {
578 'target_name': 'base_nacl_win64',
579 'type': '<(library)',
580 'msvs_guid': 'CEE1F794-DC70-4FED-B7C4-4C12986672FE',
581 'variables': {
582 'base_target': 1,
583 },
584 # TODO(gregoryd): direct_dependent_settings should be shared with the
585 # 32-bit target, but it doesn't work due to a bug in gyp
586 'direct_dependent_settings': {
587 'include_dirs': [
588 '..',
589 ],
590 },
591 'defines': [
592 '<@(nacl_win64_defines)',
593 ],
594 'sources': [
595 'i18n/icu_util_nacl_win64.cc',
596 ],
597 'configurations': {
gregoryd@google.comacc30ba2009-12-23 07:57:37 +0900598 'Common_Base': {
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900599 'msvs_target_platform': 'x64',
600 },
601 },
602 },
603 ],
604 }],
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900605 [ 'OS == "linux" or OS == "freebsd"', {
606 'targets': [
607 {
608 'target_name': 'symbolize',
609 'type': '<(library)',
mark@chromium.org9cc09262010-02-17 04:13:36 +0900610 'variables': {
611 'chromium_code': 0,
612 },
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900613 'cflags': [
614 '-Wno-sign-compare',
615 ],
evan@chromium.orga6768f52010-02-06 07:23:20 +0900616 'cflags!': [
617 '-Wextra',
618 ],
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900619 'sources': [
620 'third_party/symbolize/symbolize.cc',
621 'third_party/symbolize/demangle.cc',
622 ],
623 },
evan@chromium.orgc4bcf872010-02-03 11:11:40 +0900624 {
625 'target_name': 'xdg_mime',
626 'type': '<(library)',
mark@chromium.org9cc09262010-02-17 04:13:36 +0900627 'variables': {
628 'chromium_code': 0,
629 },
evan@chromium.orga6768f52010-02-06 07:23:20 +0900630 'cflags!': [
631 '-Wextra',
632 ],
evan@chromium.orgc4bcf872010-02-03 11:11:40 +0900633 'sources': [
634 'third_party/xdg_mime/xdgmime.c',
635 'third_party/xdg_mime/xdgmime.h',
636 'third_party/xdg_mime/xdgmimealias.c',
637 'third_party/xdg_mime/xdgmimealias.h',
638 'third_party/xdg_mime/xdgmimecache.c',
639 'third_party/xdg_mime/xdgmimecache.h',
640 'third_party/xdg_mime/xdgmimeglob.c',
641 'third_party/xdg_mime/xdgmimeglob.h',
642 'third_party/xdg_mime/xdgmimeicon.c',
643 'third_party/xdg_mime/xdgmimeicon.h',
644 'third_party/xdg_mime/xdgmimeint.c',
645 'third_party/xdg_mime/xdgmimeint.h',
646 'third_party/xdg_mime/xdgmimemagic.c',
647 'third_party/xdg_mime/xdgmimemagic.h',
648 'third_party/xdg_mime/xdgmimeparent.c',
649 'third_party/xdg_mime/xdgmimeparent.h',
650 ],
651 },
satorux@chromium.org9bd30ff2010-01-26 15:26:26 +0900652 ],
653 }],
gregoryd@google.com9e3cfd62009-12-05 07:46:50 +0900654 ],
655}