base.gypi revision 72a454cd3513ac24fbdd0e0cb9ad70b86a99b801
1# Copyright (c) 2011 The Chromium Authors. All rights reserved.
2# 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.
12      ['base_target==1', {
13        'sources': [
14          '../build/build_config.h',
15          'third_party/dmg_fp/dmg_fp.h',
16          'third_party/dmg_fp/g_fmt.cc',
17          'third_party/dmg_fp/dtoa_wrapper.cc',
18          'third_party/icu/icu_utf.cc',
19          'third_party/icu/icu_utf.h',
20          'third_party/nspr/prtime.cc',
21          'third_party/nspr/prtime.h',
22          'at_exit.cc',
23          'at_exit.h',
24          'atomic_ref_count.h',
25          'atomic_sequence_num.h',
26          'atomicops.h',
27          'atomicops_internals_x86_gcc.cc',
28          'atomicops_internals_x86_msvc.h',
29          'base_paths.cc',
30          'base_paths.h',
31          'base_paths_mac.h',
32          'base_paths_mac.mm',
33          'base_paths_linux.cc',
34          'base_paths_win.cc',
35          'base_paths_win.h',
36          'base_switches.cc',
37          'base_switches.h',
38          'basictypes.h',
39          'bind.h',
40          'bind_helpers.h',
41          'bind_internal.h',
42          'bits.h',
43          'bzip2_error_handler.cc',
44          'callback.h',
45          'callback_helpers.h',
46          'callback_old.h',
47          'command_line.cc',
48          'command_line.h',
49          'compiler_specific.h',
50          'cpu.cc',
51          'cpu.h',
52          'debug/debug_on_start_win.cc',
53          'debug/debug_on_start_win.h',
54          'debug/debugger.cc',
55          'debug/debugger.h',
56          'debug/debugger_posix.cc',
57          'debug/debugger_win.cc',
58          'debug/leak_annotations.h',
59          'debug/leak_tracker.h',
60          'debug/profiler.cc',
61          'debug/profiler.h',
62          'debug/stack_trace.cc',
63          'debug/stack_trace.h',
64          'debug/stack_trace_posix.cc',
65          'debug/stack_trace_win.cc',
66          'debug/trace_event_win.cc',
67          'debug/trace_event.cc',
68          'debug/trace_event.h',
69          'dir_reader_fallback.h',
70          'dir_reader_linux.h',
71          'dir_reader_posix.h',
72          'environment.cc',
73          'environment.h',
74          'file_path.cc',
75          'file_path.h',
76          'file_util.cc',
77          'file_util.h',
78          'file_util_deprecated.h',
79          'file_util_linux.cc',
80          'file_util_mac.mm',
81          'file_util_posix.cc',
82          'file_util_win.cc',
83          'file_util_proxy.cc',
84          'file_util_proxy.h',
85          'file_version_info.h',
86          'file_version_info_mac.h',
87          'file_version_info_mac.mm',
88          'file_version_info_win.cc',
89          'file_version_info_win.h',
90          'fix_wp64.h',
91          'float_util.h',
92          'foundation_utils_mac.h',
93          'global_descriptors_posix.cc',
94          'global_descriptors_posix.h',
95          'gtest_prod_util.h',
96          'hash_tables.h',
97          'id_map.h',
98          'json/json_reader.cc',
99          'json/json_reader.h',
100          'json/json_writer.cc',
101          'json/json_writer.h',
102          'json/string_escape.cc',
103          'json/string_escape.h',
104          'lazy_instance.cc',
105          'lazy_instance.h',
106          'linked_list.h',
107          'linked_ptr.h',
108          'logging.cc',
109          'logging.h',
110          'logging_win.cc',
111          'mac/cocoa_protocols.h',
112	  'mac/foundation_util.h',
113	  'mac/foundation_util.mm',
114          'mac/mac_util.h',
115          'mac/mac_util.mm',
116          'mac/os_crash_dumps.cc',
117          'mac/os_crash_dumps.h',
118          'mac/scoped_aedesc.h',
119          'mac/scoped_cftyperef.h',
120          'mac/scoped_nsautorelease_pool.h',
121          'mac/scoped_nsautorelease_pool.mm',
122          'mach_ipc_mac.h',
123          'mach_ipc_mac.mm',
124          'memory_debug.cc',
125          'memory_debug.h',
126          'message_loop.cc',
127          'message_loop.h',
128          'message_loop_proxy.cc',
129          'message_loop_proxy.h',
130          'message_loop_proxy_impl.cc',
131          'message_loop_proxy_impl.h',
132          'message_pump.cc',
133          'message_pump.h',
134          'message_pump_default.cc',
135          'message_pump_default.h',
136          'message_pump_win.cc',
137          'message_pump_win.h',
138          'metrics/histogram.cc',
139          'metrics/histogram.h',
140          'metrics/nacl_histogram.cc',
141          'metrics/nacl_histogram.h',
142          'metrics/stats_counters.cc',
143          'metrics/stats_counters.h',
144          'metrics/stats_table.cc',
145          'metrics/stats_table.h',
146          'mime_util.h',
147          'mime_util_xdg.cc',
148          'native_library.h',
149          'native_library_linux.cc',
150          'native_library_mac.mm',
151          'native_library_win.cc',
152          'observer_list.h',
153          'observer_list_threadsafe.h',
154          'path_service.cc',
155          'path_service.h',
156          'pickle.cc',
157          'pickle.h',
158          'platform_file.cc',
159          'platform_file.h',
160          'platform_file_posix.cc',
161          'platform_file_win.cc',
162          'port.h',
163          'process.h',
164          'process_linux.cc',
165          'process_posix.cc',
166          'process_util.cc',
167          'process_util.h',
168          'process_util_linux.cc',
169          'process_util_mac.mm',
170          'process_util_posix.cc',
171          'process_util_win.cc',
172          'process_win.cc',
173          'rand_util.cc',
174          'rand_util.h',
175          'rand_util_posix.cc',
176          'rand_util_win.cc',
177          'raw_scoped_refptr_mismatch_checker.h',
178          'ref_counted.cc',
179          'ref_counted.h',
180          'ref_counted_memory.cc',
181          'ref_counted_memory.h',
182          'resource_util.cc',
183          'resource_util.h',
184          'safe_strerror_posix.cc',
185          'safe_strerror_posix.h',
186          'scoped_callback_factory.h',
187          'scoped_handle.h',
188          'scoped_native_library.cc',
189          'scoped_native_library.h',
190          'scoped_nsobject.h',
191          'scoped_open_process.h',
192          'scoped_ptr.h',
193          'scoped_temp_dir.cc',
194          'scoped_temp_dir.h',
195          'scoped_vector.h',
196          'sha1.h',
197          'sha1_portable.cc',
198          'sha1_win.cc',
199          'shared_memory.h',
200          'shared_memory_posix.cc',
201          'shared_memory_win.cc',
202          'singleton.h',
203          'spin_wait.h',
204          'stack_container.h',
205          'stl_util-inl.h',
206          'string_number_conversions.cc',
207          'string_number_conversions.h',
208          'string_piece.cc',
209          'string_piece.h',
210          'string_split.cc',
211          'string_split.h',
212          'string_tokenizer.h',
213          'string_util.cc',
214          'string_util.h',
215          'string_util_win.h',
216          'stringize_macros.h',
217          'stringprintf.cc',
218          'stringprintf.h',
219          'synchronization/cancellation_flag.cc',
220          'synchronization/cancellation_flag.h',
221          'synchronization/condition_variable.h',
222          'synchronization/condition_variable_posix.cc',
223          'synchronization/condition_variable_win.cc',
224          'synchronization/lock.cc',
225          'synchronization/lock.h',
226          'synchronization/lock_impl.h',
227          'synchronization/lock_impl_posix.cc',
228          'synchronization/lock_impl_win.cc',
229          'synchronization/waitable_event.h',
230          'synchronization/waitable_event_posix.cc',
231          'synchronization/waitable_event_watcher.h',
232          'synchronization/waitable_event_watcher_posix.cc',
233          'synchronization/waitable_event_watcher_win.cc',
234          'synchronization/waitable_event_win.cc',
235          'sys_info.h',
236          'sys_info_chromeos.cc',
237          'sys_info_freebsd.cc',
238          'sys_info_linux.cc',
239          'sys_info_mac.cc',
240          'sys_info_openbsd.cc',
241          'sys_info_posix.cc',
242          'sys_info_win.cc',
243          'sys_string_conversions.h',
244          'sys_string_conversions_linux.cc',
245          'sys_string_conversions_mac.mm',
246          'sys_string_conversions_win.cc',
247          'task.cc',
248          'task.h',
249          'task_queue.cc',
250          'task_queue.h',
251          'template_util.h',
252          'threading/non_thread_safe.cc',
253          'threading/non_thread_safe.h',
254          'threading/platform_thread.h',
255          'threading/platform_thread_mac.mm',
256          'threading/platform_thread_posix.cc',
257          'threading/platform_thread_win.cc',
258          'threading/simple_thread.cc',
259          'threading/simple_thread.h',
260          'threading/thread.cc',
261          'threading/thread.h',
262          'threading/thread_checker.cc',
263          'threading/thread_checker.h',
264          'threading/thread_collision_warner.cc',
265          'threading/thread_collision_warner.h',
266          'threading/thread_local.h',
267          'threading/thread_local_posix.cc',
268          'threading/thread_local_storage.h',
269          'threading/thread_local_storage_posix.cc',
270          'threading/thread_local_storage_win.cc',
271          'threading/thread_local_win.cc',
272          'threading/thread_restrictions.h',
273          'threading/thread_restrictions.cc',
274          'threading/watchdog.cc',
275          'threading/watchdog.h',
276          'threading/worker_pool.h',
277          'threading/worker_pool_posix.cc',
278          'threading/worker_pool_posix.h',
279          'threading/worker_pool_win.cc',
280          'time.cc',
281          'time.h',
282          'time_win.cc',
283          'timer.cc',
284          'timer.h',
285          'tracked.cc',
286          'tracked.h',
287          'tracked_objects.cc',
288          'tracked_objects.h',
289          'tuple.h',
290          'utf_offset_string_conversions.cc',
291          'utf_offset_string_conversions.h',
292          'utf_string_conversion_utils.cc',
293          'utf_string_conversion_utils.h',
294          'utf_string_conversions.cc',
295          'utf_string_conversions.h',
296          'values.cc',
297          'values.h',
298          'version.cc',
299          'version.h',
300          'vlog.cc',
301          'vlog.h',
302          'weak_ptr.cc',
303          'weak_ptr.h',
304          'win/i18n.cc',
305          'win/i18n.h',
306          'win/object_watcher.cc',
307          'win/object_watcher.h',
308          'win/pe_image.cc',
309          'win/event_trace_consumer.h',
310          'win/event_trace_controller.cc',
311          'win/event_trace_controller.h',
312          'win/event_trace_provider.cc',
313          'win/event_trace_provider.h',
314          'win/pe_image.h',
315          'win/registry.cc',
316          'win/registry.h',
317          'win/scoped_bstr.cc',
318          'win/scoped_bstr.h',
319          'win/scoped_comptr.h',
320          'win/scoped_gdi_object.h',
321          'win/scoped_handle.h',
322          'win/scoped_hdc.h',
323          'win/scoped_hglobal.h',
324          'win/scoped_variant.cc',
325          'win/scoped_variant.h',
326          'win/win_util.cc',
327          'win/win_util.h',
328          'win/windows_version.cc',
329          'win/windows_version.h',
330          'nix/xdg_util.h',
331          'nix/xdg_util.cc',
332        ],
333        'include_dirs': [
334          '..',
335        ],
336        # These warnings are needed for the files in third_party\dmg_fp.
337        'msvs_disabled_warnings': [
338          4244, 4554, 4018, 4102,
339        ],
340        'mac_framework_dirs': [
341          '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks',
342        ],
343        'conditions': [
344          [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"', {
345              'sources/': [
346                ['exclude', '^nix/'],
347              ],
348              'sources!': [
349                'atomicops_internals_x86_gcc.cc',
350                'message_pump_glib.cc',
351                'message_pump_glib_x.cc',
352              ],
353          }],
354          [ 'OS != "linux"', {
355              'sources!': [
356                # Not automatically excluded by the *linux.cc rules.
357                'gtk_util.cc',
358                'gtk_util.h',
359                'linux_util.cc',
360              ],
361            },
362          ],
363          [ 'OS != "mac"', {
364              'sources!': [
365                'scoped_aedesc.h'
366              ],
367          }],
368          # For now, just test the *BSD platforms enough to exclude them.
369          # Subsequent changes will include them further.
370          [ 'OS != "freebsd"', {
371              'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
372            },
373          ],
374          [ 'OS != "openbsd"', {
375              'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
376            },
377          ],
378          ['OS != "win"', {
379              'sources/': [ ['exclude', '^win/'] ],
380            },
381          ],
382          [ 'OS == "win"', {
383            'include_dirs': [
384              '<(DEPTH)/third_party/wtl/include',
385            ],
386            'sources!': [
387              'event_recorder_stubs.cc',
388              'file_descriptor_shuffle.cc',
389              'message_pump_libevent.cc',
390              # Not using sha1_win.cc because it may have caused a
391              # regression to page cycler moz.
392              'sha1_win.cc',
393              'string16.cc',
394              'debug/trace_event.cc',
395            ],
396          },],
397        ],
398      }],
399    ],
400  },
401  'targets': [
402    {
403      'target_name': 'base',
404      'type': '<(library)',
405      'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165',
406      'variables': {
407        'base_target': 1,
408      },
409      'dependencies': [
410        '../third_party/modp_b64/modp_b64.gyp:modp_b64',
411        'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
412      ],
413      # TODO(gregoryd): direct_dependent_settings should be shared with the
414      #  64-bit target, but it doesn't work due to a bug in gyp
415      'direct_dependent_settings': {
416        'include_dirs': [
417          '..',
418        ],
419      },
420      'conditions': [
421        [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
422          'conditions': [
423            [ 'chromeos==1', {
424                'sources/': [ ['include', '_chromeos\\.cc$'] ]
425              },
426            ],
427            [ 'linux_use_tcmalloc==0', {
428                'defines': [
429                  'NO_TCMALLOC',
430                ],
431                'direct_dependent_settings': {
432                  'defines': [
433                    'NO_TCMALLOC',
434                  ],
435                },
436              },
437            ],
438            [ 'use_openssl==1', {
439                'dependencies': [
440                  '../third_party/openssl/openssl.gyp:openssl',
441                ],
442              }, {  # use_openssl==0
443                'dependencies': [
444                  '../build/linux/system.gyp:nss',
445                ],
446              }
447            ],
448          ],
449          'dependencies': [
450            'symbolize',
451            '../build/util/build_util.gyp:lastchange',
452            '../build/linux/system.gyp:gtk',
453            '../build/linux/system.gyp:x11',
454            'xdg_mime',
455          ],
456          'defines': [
457            'USE_SYMBOLIZE',
458          ],
459          'cflags': [
460            '-Wno-write-strings',
461          ],
462          'export_dependent_settings': [
463            '../build/linux/system.gyp:gtk',
464            '../build/linux/system.gyp:x11',
465          ],
466        }, {  # OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"
467            'sources/': [
468              ['exclude', '/xdg_user_dirs/'],
469              ['exclude', '_nss\.cc$'],
470            ],
471        }],
472        [ 'OS == "freebsd" or OS == "openbsd"', {
473          'link_settings': {
474            'libraries': [
475              '-L/usr/local/lib -lexecinfo',
476              ],
477            },
478          },
479        ],
480        [ 'OS == "linux"', {
481          'link_settings': {
482             'libraries': [
483             # We need rt for clock_gettime().
484             '-lrt',
485             # For 'native_library_linux.cc'
486             '-ldl',
487           ],
488         },
489        }],
490        [ 'OS == "mac"', {
491          'link_settings': {
492            'libraries': [
493              '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
494              '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
495              '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
496              '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
497              '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
498              '$(SDKROOT)/System/Library/Frameworks/Security.framework',
499            ],
500          },
501        }, {  # OS != "mac"
502          'sources!': [
503            'crypto/cssm_init.cc',
504            'crypto/cssm_init.h',
505          ],
506        }],
507        [ 'OS == "mac" or OS == "win"', {
508            'dependencies': [
509              '../third_party/nss/nss.gyp:nss',
510            ],
511        },],
512        [ 'OS != "win"', {
513            'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
514            'sources!': [
515              'third_party/purify/pure_api.c',
516              'base_drag_source.cc',
517              'base_drop_target.cc',
518              'cpu.cc',
519              'crypto/capi_util.h',
520              'crypto/capi_util.cc',
521              'event_recorder.cc',
522              'file_version_info.cc',
523              'pe_image.cc',
524              'registry.cc',
525              'resource_util.cc',
526              'win_util.cc',
527            ],
528        },],
529        [ 'use_openssl==1', {
530            # TODO(joth): Use a glob to match exclude patterns once the
531            #             OpenSSL file set is complete.
532            'sources!': [
533              'crypto/encryptor_nss.cc',
534              'crypto/rsa_private_key_nss.cc',
535              'crypto/secure_hash_default.cc',
536              'crypto/signature_creator_nss.cc',
537              'crypto/signature_verifier_nss.cc',
538              'crypto/symmetric_key_nss.cc',
539              'hmac_nss.cc',
540              'nss_util.cc',
541              'nss_util.h',
542              # Note that sha2.cc depends on the NSS files bundled into
543              # chromium; it does not have the _nss postfix as it is required
544              # on platforms besides linux and *bsd.
545              'sha2.cc',
546              'third_party/nss/blapi.h',
547              'third_party/nss/blapit.h',
548              'third_party/nss/sha256.h',
549              'third_party/nss/sha512.cc',
550            ],
551          }, {
552            'sources!': [
553              'crypto/encryptor_openssl.cc',
554              'crypto/rsa_private_key_openssl.cc',
555              'crypto/secure_hash_openssl.cc',
556              'crypto/signature_creator_openssl.cc',
557              'crypto/signature_verifier_openssl.cc',
558              'crypto/symmetric_key_openssl.cc',
559              'hmac_openssl.cc',
560              'openssl_util.cc',
561              'openssl_util.h',
562              'sha2_openssl.cc',
563            ],
564        },],
565      ],
566      'sources': [
567        'crypto/capi_util.cc',
568        'crypto/capi_util.h',
569        'crypto/crypto_module_blocking_password_delegate.h',
570        'crypto/cssm_init.cc',
571        'crypto/cssm_init.h',
572        'crypto/encryptor.h',
573        'crypto/encryptor_mac.cc',
574        'crypto/encryptor_nss.cc',
575        'crypto/encryptor_openssl.cc',
576        'crypto/encryptor_win.cc',
577        'crypto/rsa_private_key.h',
578        'crypto/rsa_private_key.cc',
579        'crypto/rsa_private_key_mac.cc',
580        'crypto/rsa_private_key_nss.cc',
581        'crypto/rsa_private_key_openssl.cc',
582        'crypto/rsa_private_key_win.cc',
583        'crypto/secure_hash.h',
584        'crypto/secure_hash_default.cc',
585        'crypto/secure_hash_openssl.cc',
586        'crypto/signature_creator.h',
587        'crypto/signature_creator_mac.cc',
588        'crypto/signature_creator_nss.cc',
589        'crypto/signature_creator_openssl.cc',
590        'crypto/signature_creator_win.cc',
591        'crypto/signature_verifier.h',
592        'crypto/signature_verifier_mac.cc',
593        'crypto/signature_verifier_nss.cc',
594        'crypto/signature_verifier_openssl.cc',
595        'crypto/signature_verifier_win.cc',
596        'crypto/symmetric_key.h',
597        'crypto/symmetric_key_mac.cc',
598        'crypto/symmetric_key_nss.cc',
599        'crypto/symmetric_key_openssl.cc',
600        'crypto/symmetric_key_win.cc',
601        'third_party/nspr/prcpucfg.h',
602        'third_party/nspr/prcpucfg_win.h',
603        'third_party/nspr/prtypes.h',
604        'third_party/nss/blapi.h',
605        'third_party/nss/blapit.h',
606        'third_party/nss/sha256.h',
607        'third_party/nss/sha512.cc',
608        'third_party/purify/pure.h',
609        'third_party/purify/pure_api.c',
610        'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
611        'third_party/xdg_user_dirs/xdg_user_dir_lookup.h',
612        'auto_reset.h',
613        'base64.cc',
614        'base64.h',
615        'event_recorder.cc',
616        'event_recorder.h',
617        'event_recorder_stubs.cc',
618        'file_descriptor_shuffle.cc',
619        'file_descriptor_shuffle.h',
620        'hmac.h',
621        'hmac_mac.cc',
622        'hmac_nss.cc',
623        'hmac_openssl.cc',
624        'hmac_win.cc',
625        'linux_util.cc',
626        'linux_util.h',
627        'md5.cc',
628        'md5.h',
629        'message_pump_glib.cc',
630        'message_pump_glib.h',
631        'message_pump_glib_x.cc',
632        'message_pump_glib_x.h',
633        'message_pump_glib_x_dispatch.h',
634        'message_pump_libevent.cc',
635        'message_pump_libevent.h',
636        'message_pump_mac.h',
637        'message_pump_mac.mm',
638        'metrics/field_trial.cc',
639        'metrics/field_trial.h',
640        'nss_util.cc',
641        'nss_util.h',
642        'openssl_util.cc',
643        'openssl_util.h',
644        'sha2.cc',
645        'sha2.h',
646        'sha2_openssl.cc',
647        'string16.cc',
648        'string16.h',
649        'sync_socket.h',
650        'sync_socket_win.cc',
651        'sync_socket_posix.cc',
652        'time_mac.cc',
653        'time_posix.cc',
654      ],
655    },
656  ],
657  'conditions': [
658    [ 'OS == "win"', {
659      'targets': [
660        {
661          'target_name': 'base_nacl_win64',
662          'type': '<(library)',
663          'msvs_guid': 'CEE1F794-DC70-4FED-B7C4-4C12986672FE',
664          'variables': {
665            'base_target': 1,
666          },
667          'dependencies': [
668            'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
669          ],
670          # TODO(gregoryd): direct_dependent_settings should be shared with the
671          # 32-bit target, but it doesn't work due to a bug in gyp
672          'direct_dependent_settings': {
673            'include_dirs': [
674              '..',
675            ],
676          },
677          'defines': [
678            '<@(nacl_win64_defines)',
679          ],
680          'sources': [
681            'i18n/icu_util_nacl_win64.cc',
682          ],
683          'configurations': {
684            'Common_Base': {
685              'msvs_target_platform': 'x64',
686            },
687          },
688        },
689      ],
690    }],
691    [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
692      'targets': [
693        {
694          'target_name': 'symbolize',
695          'type': '<(library)',
696          'variables': {
697            'chromium_code': 0,
698          },
699          'conditions': [
700            [ 'OS == "solaris"', {
701              'include_dirs': [
702                '/usr/gnu/include',
703                '/usr/gnu/include/libelf',
704              ],
705            },],
706          ],
707          'cflags': [
708            '-Wno-sign-compare',
709          ],
710          'cflags!': [
711            '-Wextra',
712          ],
713          'sources': [
714            'third_party/symbolize/symbolize.cc',
715            'third_party/symbolize/demangle.cc',
716          ],
717        },
718        {
719          'target_name': 'xdg_mime',
720          'type': '<(library)',
721          'variables': {
722            'chromium_code': 0,
723          },
724          'cflags!': [
725            '-Wextra',
726          ],
727          'sources': [
728            'third_party/xdg_mime/xdgmime.c',
729            'third_party/xdg_mime/xdgmime.h',
730            'third_party/xdg_mime/xdgmimealias.c',
731            'third_party/xdg_mime/xdgmimealias.h',
732            'third_party/xdg_mime/xdgmimecache.c',
733            'third_party/xdg_mime/xdgmimecache.h',
734            'third_party/xdg_mime/xdgmimeglob.c',
735            'third_party/xdg_mime/xdgmimeglob.h',
736            'third_party/xdg_mime/xdgmimeicon.c',
737            'third_party/xdg_mime/xdgmimeicon.h',
738            'third_party/xdg_mime/xdgmimeint.c',
739            'third_party/xdg_mime/xdgmimeint.h',
740            'third_party/xdg_mime/xdgmimemagic.c',
741            'third_party/xdg_mime/xdgmimemagic.h',
742            'third_party/xdg_mime/xdgmimeparent.c',
743            'third_party/xdg_mime/xdgmimeparent.h',
744          ],
745        },
746      ],
747    }],
748  ],
749}
750