1 # Copyright (c) 2012 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.
7 # If any of the linux_link_FOO below are set to 1, then the corresponding
8 # target will be linked against the FOO library (either dynamically or
9 # statically, depending on the pkg-config files), as opposed to loading the
10 # FOO library dynamically with dlopen.
11 'linux_link_libgps%': 0,
12 'linux_link_libpci%': 0,
13 'linux_link_libspeechd%': 0,
14 'linux_link_libbrlapi%': 0,
16 # Used below for the various libraries. In this scope for sharing with GN.
17 'libbrlapi_functions': [
18 'brlapi_getHandleSize',
19 'brlapi_error_location',
22 'brlapi__openConnection',
23 'brlapi__closeConnection',
24 'brlapi__getDisplaySize',
25 'brlapi__enterTtyModeWithPath',
26 'brlapi__leaveTtyMode',
32 'g_settings_get_child',
33 'g_settings_get_string',
34 'g_settings_get_boolean',
36 'g_settings_get_strv',
37 'g_settings_list_schemas',
47 'libudev_functions': [
48 'udev_device_get_action',
49 'udev_device_get_devnode',
50 'udev_device_get_parent',
51 'udev_device_get_parent_with_subsystem_devtype',
52 'udev_device_get_property_value',
53 'udev_device_get_subsystem',
54 'udev_device_get_sysattr_value',
55 'udev_device_get_sysname',
56 'udev_device_get_syspath',
57 'udev_device_new_from_devnum',
58 'udev_device_new_from_subsystem_sysname',
59 'udev_device_new_from_syspath',
61 'udev_enumerate_add_match_subsystem',
62 'udev_enumerate_get_list_entry',
64 'udev_enumerate_scan_devices',
65 'udev_enumerate_unref',
66 'udev_list_entry_get_next',
67 'udev_list_entry_get_name',
68 'udev_monitor_enable_receiving',
69 'udev_monitor_filter_add_match_subsystem_devtype',
70 'udev_monitor_get_fd',
71 'udev_monitor_new_from_netlink',
72 'udev_monitor_receive_device',
76 'udev_set_log_priority',
81 [ 'chromeos==0 and use_ozone==0', {
82 # Hide GTK and related dependencies for Chrome OS and Ozone, so they won't get
83 # added back to Chrome OS and Ozone. Don't try to use GTK on Chrome OS and Ozone.
89 ['_toolset=="target"', {
90 'direct_dependent_settings': {
92 '<!@(<(pkg-config) --cflags atk)',
95 'ATK_LIB_DIR="<!@(<(pkg-config) --variable=libdir atk)"',
100 '<!@(<(pkg-config) --libs-only-L --libs-only-other atk)',
103 '<!@(<(pkg-config) --libs-only-l atk)',
110 'target_name': 'gdk',
113 ['_toolset=="target"', {
114 'direct_dependent_settings': {
116 '<!@(<(pkg-config) --cflags gdk-2.0)',
121 '<!@(<(pkg-config) --libs-only-L --libs-only-other gdk-2.0)',
124 '<!@(<(pkg-config) --libs-only-l gdk-2.0)',
131 'target_name': 'gtk2',
133 'toolsets': ['host', 'target'],
135 # gtk requires gmodule, but it does not list it as a dependency
136 # in some misconfigured systems.
137 'gtk_packages': 'gmodule-2.0 gtk+-2.0 gthread-2.0',
140 ['_toolset=="target"', {
141 'all_dependent_settings': {
143 '<!@(<(pkg-config) --cflags <(gtk_packages))',
148 '<!@(<(pkg-config) --libs-only-L --libs-only-other <(gtk_packages))',
151 '<!@(<(pkg-config) --libs-only-l <(gtk_packages))',
155 'all_dependent_settings': {
157 '<!@(pkg-config --cflags <(gtk_packages))',
162 '<!@(pkg-config --libs-only-L --libs-only-other <(gtk_packages))',
165 '<!@(pkg-config --libs-only-l <(gtk_packages))',
172 'target_name': 'gtkprint2',
175 ['_toolset=="target"', {
176 'direct_dependent_settings': {
178 '<!@(<(pkg-config) --cflags gtk+-unix-print-2.0)',
183 '<!@(<(pkg-config) --libs-only-L --libs-only-other gtk+-unix-print-2.0)',
186 '<!@(<(pkg-config) --libs-only-l gtk+-unix-print-2.0)',
194 [ 'use_x11==1 or ozone_platform_ozonex==1', {
195 # Hide X11 and related dependencies when use_x11=0
198 'target_name': 'x11',
200 'toolsets': ['host', 'target'],
202 ['_toolset=="target"', {
203 'direct_dependent_settings': {
205 '<!@(<(pkg-config) --cflags x11)',
210 '<!@(<(pkg-config) --libs-only-L --libs-only-other x11 xi)',
213 '<!@(<(pkg-config) --libs-only-l x11 xi)',
217 'direct_dependent_settings': {
219 '<!@(pkg-config --cflags x11)',
224 '<!@(pkg-config --libs-only-L --libs-only-other x11 xi)',
227 '<!@(pkg-config --libs-only-l x11 xi)',
234 'target_name': 'xcursor',
236 'direct_dependent_settings': {
238 '<!@(<(pkg-config) --cflags xcursor)',
243 '<!@(<(pkg-config) --libs-only-L --libs-only-other xcursor)',
246 '<!@(<(pkg-config) --libs-only-l xcursor)',
251 'target_name': 'xcomposite',
253 'direct_dependent_settings': {
255 '<!@(<(pkg-config) --cflags xcomposite)',
260 '<!@(<(pkg-config) --libs-only-L --libs-only-other xcomposite)',
263 '<!@(<(pkg-config) --libs-only-l xcomposite)',
268 'target_name': 'xdamage',
270 'direct_dependent_settings': {
272 '<!@(<(pkg-config) --cflags xdamage)',
277 '<!@(<(pkg-config) --libs-only-L --libs-only-other xdamage)',
280 '<!@(<(pkg-config) --libs-only-l xdamage)',
285 'target_name': 'xext',
287 'direct_dependent_settings': {
289 '<!@(<(pkg-config) --cflags xext)',
294 '<!@(<(pkg-config) --libs-only-L --libs-only-other xext)',
297 '<!@(<(pkg-config) --libs-only-l xext)',
302 'target_name': 'xfixes',
304 'direct_dependent_settings': {
306 '<!@(<(pkg-config) --cflags xfixes)',
311 '<!@(<(pkg-config) --libs-only-L --libs-only-other xfixes)',
314 '<!@(<(pkg-config) --libs-only-l xfixes)',
321 'direct_dependent_settings': {
323 '<!@(<(pkg-config) --cflags xi)',
328 '<!@(<(pkg-config) --libs-only-L --libs-only-other xi)',
331 '<!@(<(pkg-config) --libs-only-l xi)',
336 'target_name': 'xrandr',
338 'toolsets': ['host', 'target'],
340 ['_toolset=="target"', {
341 'direct_dependent_settings': {
343 '<!@(<(pkg-config) --cflags xrandr)',
348 '<!@(<(pkg-config) --libs-only-L --libs-only-other xrandr)',
351 '<!@(<(pkg-config) --libs-only-l xrandr)',
355 'direct_dependent_settings': {
357 '<!@(pkg-config --cflags xrandr)',
362 '<!@(pkg-config --libs-only-L --libs-only-other xrandr)',
365 '<!@(pkg-config --libs-only-l xrandr)',
372 'target_name': 'xrender',
374 'direct_dependent_settings': {
376 '<!@(<(pkg-config) --cflags xrender)',
381 '<!@(<(pkg-config) --libs-only-L --libs-only-other xrender)',
384 '<!@(<(pkg-config) --libs-only-l xrender)',
389 'target_name': 'xtst',
391 'toolsets': ['host', 'target'],
393 ['_toolset=="target"', {
394 'direct_dependent_settings': {
396 '<!@(<(pkg-config) --cflags xtst)',
401 '<!@(<(pkg-config) --libs-only-L --libs-only-other xtst)',
404 '<!@(<(pkg-config) --libs-only-l xtst)',
408 'direct_dependent_settings': {
410 '<!@(pkg-config --cflags xtst)',
415 '<!@(pkg-config --libs-only-L --libs-only-other xtst)',
418 '<!@(pkg-config --libs-only-l xtst)',
427 # Hide GTK3 and related dependencies when use_gtk3==0 because the user
428 # might not have the GTK3 headers yet.
431 'target_name': 'gtk3',
433 'toolsets': ['host', 'target'],
435 # gtk requires gmodule, but it does not list it as a dependency
436 # in some misconfigured systems.
437 'gtk_packages': 'gmodule-2.0 gtk+-3.0 gthread-2.0',
440 ['_toolset=="target"', {
441 'all_dependent_settings': {
443 '<!@(<(pkg-config) --cflags <(gtk_packages))',
448 '<!@(<(pkg-config) --libs-only-L --libs-only-other <(gtk_packages))',
451 '<!@(<(pkg-config) --libs-only-l <(gtk_packages))',
455 'all_dependent_settings': {
457 '<!@(pkg-config --cflags <(gtk_packages))',
462 '<!@(pkg-config --libs-only-L --libs-only-other <(gtk_packages))',
465 '<!@(pkg-config --libs-only-l <(gtk_packages))',
472 'target_name': 'gtkprint3',
475 ['_toolset=="target"', {
476 'direct_dependent_settings': {
478 '<!@(<(pkg-config) --cflags gtk+-unix-print-3.0)',
483 '<!@(<(pkg-config) --libs-only-L --libs-only-other gtk+-unix-print-3.0)',
486 '<!@(<(pkg-config) --libs-only-l gtk+-unix-print-3.0)',
494 ['use_x11==1 and chromeos==0', {
497 'target_name': 'xscrnsaver',
499 'direct_dependent_settings': {
501 '<!@(<(pkg-config) --cflags xscrnsaver)',
506 '<!@(<(pkg-config) --libs-only-L --libs-only-other xscrnsaver)',
509 '<!@(<(pkg-config) --libs-only-l xscrnsaver)',
515 ['use_evdev_gestures==1', {
518 'target_name': 'libevdev-cros',
520 'direct_dependent_settings': {
522 '<!@(<(pkg-config) --cflags libevdev-cros)'
527 '<!@(<(pkg-config) --libs-only-L --libs-only-other libevdev-cros)',
530 '<!@(<(pkg-config) --libs-only-l libevdev-cros)',
535 'target_name': 'libgestures',
537 'direct_dependent_settings': {
539 '<!@(<(pkg-config) --cflags libgestures)'
544 '<!@(<(pkg-config) --libs-only-L --libs-only-other libgestures)',
547 '<!@(<(pkg-config) --libs-only-l libgestures)',
553 ['use_xkbcommon==1', {
556 'target_name': 'xkbcommon',
558 'direct_dependent_settings': {
560 '<!@(<(pkg-config) --cflags xkbcommon)'
565 '<!@(<(pkg-config) --libs-only-L --libs-only-other xkbcommon)',
568 '<!@(<(pkg-config) --libs-only-l xkbcommon)',
574 ['ozone_platform_gbm==1 or chromeos==1', {
577 'target_name': 'libdrm',
579 'direct_dependent_settings': {
581 '<!@(<(pkg-config) --cflags libdrm)',
586 '<!@(<(pkg-config) --libs-only-L --libs-only-other libdrm)',
589 '<!@(<(pkg-config) --libs-only-l libdrm)',
598 'target_name': 'udev',
599 'type': 'static_library',
601 ['_toolset=="target"', {
605 'hard_dependency': 1,
609 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libudev0.h',
610 'output_cc': '<(INTERMEDIATE_DIR)/libudev0_loader.cc',
611 'generator': '../../tools/generate_library_loader/generate_library_loader.py',
613 'action_name': 'generate_libudev0_loader',
623 '--name', 'LibUdev0Loader',
624 '--output-h', '<(output_h)',
625 '--output-cc', '<(output_cc)',
626 '--header', '"third_party/libudev/libudev0.h"',
628 '<@(libudev_functions)',
630 'message': 'Generating libudev0 library loader',
631 'process_outputs_as_sources': 1,
635 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libudev1.h',
636 'output_cc': '<(INTERMEDIATE_DIR)/libudev1_loader.cc',
637 'generator': '../../tools/generate_library_loader/generate_library_loader.py',
639 'action_name': 'generate_libudev1_loader',
649 '--name', 'LibUdev1Loader',
650 '--output-h', '<(output_h)',
651 '--output-cc', '<(output_cc)',
652 '--header', '"third_party/libudev/libudev1.h"',
654 '<@(libudev_functions)',
656 'message': 'Generating libudev1 library loader',
657 'process_outputs_as_sources': 1,
668 'target_name': 'libpci',
669 'type': 'static_library',
671 '<!@(<(pkg-config) --cflags libpci)',
673 'direct_dependent_settings': {
675 '<(SHARED_INTERMEDIATE_DIR)',
678 ['linux_link_libpci==1', {
681 '<!@(<(pkg-config) --libs-only-L --libs-only-other libpci)',
684 '<!@(<(pkg-config) --libs-only-l libpci)',
693 'hard_dependency': 1,
697 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libpci.h',
698 'output_cc': '<(INTERMEDIATE_DIR)/libpci_loader.cc',
699 'generator': '../../tools/generate_library_loader/generate_library_loader.py',
701 'action_name': 'generate_libpci_loader',
711 '--name', 'LibPciLoader',
712 '--output-h', '<(output_h)',
713 '--output-cc', '<(output_cc)',
714 '--header', '<pci/pci.h>',
715 # TODO(phajdan.jr): Report problem to pciutils project
716 # and get it fixed so that we don't need --use-extern-c.
718 '--link-directly=<(linux_link_libpci)',
719 '<@(libpci_functions)',
721 'message': 'Generating libpci library loader',
722 'process_outputs_as_sources': 1,
731 'target_name': 'dbus',
733 'direct_dependent_settings': {
735 '<!@(<(pkg-config) --cflags dbus-1)',
740 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-1)',
743 '<!@(<(pkg-config) --libs-only-l dbus-1)',
748 'target_name': 'fontconfig',
751 ['_toolset=="target"', {
753 ['use_system_fontconfig==1', {
754 'direct_dependent_settings': {
756 '<!@(<(pkg-config) --cflags fontconfig)',
761 '<!@(<(pkg-config) --libs-only-L --libs-only-other fontconfig)',
764 '<!@(<(pkg-config) --libs-only-l fontconfig)',
767 }, { # use_system_fontconfig==0
769 '../../third_party/fontconfig/fontconfig.gyp:fontconfig',
771 'export_dependent_settings' : [
772 '../../third_party/fontconfig/fontconfig.gyp:fontconfig',
780 'target_name': 'freetype2',
783 ['_toolset=="target"', {
784 'direct_dependent_settings': {
786 '<!@(<(pkg-config) --cflags freetype2)',
791 '<!@(<(pkg-config) --libs-only-L --libs-only-other freetype2)',
794 '<!@(<(pkg-config) --libs-only-l freetype2)',
801 'target_name': 'gconf',
804 ['use_gconf==1 and _toolset=="target"', {
805 'direct_dependent_settings': {
807 '<!@(<(pkg-config) --cflags gconf-2.0)',
815 '<!@(<(pkg-config) --libs-only-L --libs-only-other gconf-2.0)',
818 '<!@(<(pkg-config) --libs-only-l gconf-2.0)',
825 'target_name': 'gio',
826 'type': 'static_library',
828 ['use_gio==1 and _toolset=="target"', {
830 '<!@(<(pkg-config) --cflags gio-2.0)',
833 'gio_warning_define': [
834 # glib >=2.40 deprecate g_settings_list_schemas in favor of
835 # g_settings_schema_source_list_schemas. This function is not
836 # available on earlier versions that we still need to support
837 # (specifically, 2.32), so disable the warning.
838 # TODO(mgiuca): Remove this suppression (and variable) when we
839 # drop support for Ubuntu 13.10 (saucy) and earlier. Update the
840 # code to use g_settings_schema_source_list_schemas instead.
841 'GLIB_DISABLE_DEPRECATION_WARNINGS',
845 '<(gio_warning_define)',
847 'direct_dependent_settings': {
849 '<!@(<(pkg-config) --cflags gio-2.0)',
853 '<(gio_warning_define)',
856 '<(SHARED_INTERMEDIATE_DIR)',
864 '<!@(<(pkg-config) --libs-only-L --libs-only-other gio-2.0)',
867 '<!@(<(pkg-config) --libs-only-l gio-2.0)',
870 ['linux_link_gsettings==0 and OS=="linux"', {
877 'hard_dependency': 1,
881 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libgio.h',
882 'output_cc': '<(INTERMEDIATE_DIR)/libgio_loader.cc',
883 'generator': '../../tools/generate_library_loader/generate_library_loader.py',
885 'action_name': 'generate_libgio_loader',
895 '--name', 'LibGioLoader',
896 '--output-h', '<(output_h)',
897 '--output-cc', '<(output_cc)',
898 '--header', '<gio/gio.h>',
899 '--link-directly=<(linux_link_gsettings)',
900 '<@(libgio_functions)',
902 'message': 'Generating libgio library loader',
903 'process_outputs_as_sources': 1,
910 'target_name': 'glib',
912 'toolsets': ['host', 'target'],
914 'glib_packages': 'glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0',
917 ['_toolset=="target"', {
918 'direct_dependent_settings': {
920 '<!@(<(pkg-config) --cflags <(glib_packages))',
925 '<!@(<(pkg-config) --libs-only-L --libs-only-other <(glib_packages))',
928 '<!@(<(pkg-config) --libs-only-l <(glib_packages))',
932 'direct_dependent_settings': {
934 '<!@(pkg-config --cflags <(glib_packages))',
939 '<!@(pkg-config --libs-only-L --libs-only-other <(glib_packages))',
942 '<!@(pkg-config --libs-only-l <(glib_packages))',
949 'target_name': 'gnome_keyring',
952 ['use_gnome_keyring==1', {
953 'direct_dependent_settings': {
955 '<!@(<(pkg-config) --cflags gnome-keyring-1)',
961 ['linux_link_gnome_keyring==0', {
962 'defines': ['DLOPEN_GNOME_KEYRING'],
967 ['linux_link_gnome_keyring!=0', {
970 '<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyring-1)',
973 '<!@(<(pkg-config) --libs-only-l gnome-keyring-1)',
992 # The unit tests use a few convenience functions from the GNOME
993 # Keyring library directly. We ignore linux_link_gnome_keyring and
994 # link directly in this version of the target to allow this.
995 # *** Do not use this target in the main binary! ***
996 'target_name': 'gnome_keyring_direct',
999 ['use_gnome_keyring==1', {
1000 'direct_dependent_settings': {
1002 '<!@(<(pkg-config) --cflags gnome-keyring-1)',
1005 'USE_GNOME_KEYRING',
1008 ['linux_link_gnome_keyring==0', {
1009 'defines': ['DLOPEN_GNOME_KEYRING'],
1015 '<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyring-1)',
1018 '<!@(<(pkg-config) --libs-only-l gnome-keyring-1)',
1025 'target_name': 'libbrlapi',
1026 'type': 'static_library',
1027 'all_dependent_settings': {
1029 '<(SHARED_INTERMEDIATE_DIR)',
1035 ['linux_link_libbrlapi==1', {
1047 'hard_dependency': 1,
1051 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libbrlapi.h',
1052 'output_cc': '<(INTERMEDIATE_DIR)/libbrlapi_loader.cc',
1053 'generator': '../../tools/generate_library_loader/generate_library_loader.py',
1055 'action_name': 'generate_brlapi_loader',
1063 'action': ['python',
1065 '--name', 'LibBrlapiLoader',
1066 '--output-h', '<(output_h)',
1067 '--output-cc', '<(output_cc)',
1068 '--header', '<brlapi.h>',
1069 '--link-directly=<(linux_link_libbrlapi)',
1070 '<@(libbrlapi_functions)',
1072 'message': 'Generating libbrlapi library loader',
1073 'process_outputs_as_sources': 1,
1078 'target_name': 'libcap',
1087 'target_name': 'libresolv',
1096 # GN version: //third_party/speech-dispatcher
1097 'target_name': 'libspeechd',
1098 'type': 'static_library',
1099 'direct_dependent_settings': {
1101 '<(SHARED_INTERMEDIATE_DIR)',
1104 ['linux_link_libspeechd==1', {
1116 'hard_dependency': 1,
1120 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libspeechd.h',
1121 'output_cc': '<(INTERMEDIATE_DIR)/libspeechd_loader.cc',
1122 'generator': '../../tools/generate_library_loader/generate_library_loader.py',
1124 # speech-dispatcher >= 0.8 installs libspeechd.h into
1125 # speech-dispatcher/libspeechd.h, whereas speech-dispatcher < 0.8
1126 # puts libspeechd.h in the top-level include directory.
1127 # Since we need to support both cases for now, we ship a copy of
1128 # libspeechd.h in third_party/speech-dispatcher. If the user
1129 # prefers to link against the speech-dispatcher directly, the
1130 # `libspeechd_h_prefix' variable can be passed to gyp with a value
1131 # such as "speech-dispatcher/" that will be prepended to
1132 # "libspeechd.h" in the #include directive.
1133 # TODO(phaldan.jr): Once we do not need to support
1134 # speech-dispatcher < 0.8 we can get rid of all this (including
1135 # third_party/speech-dispatcher) and just include
1136 # speech-dispatcher/libspeechd.h unconditionally.
1137 'libspeechd_h_prefix%': '',
1139 'action_name': 'generate_libspeechd_loader',
1147 'action': ['python',
1149 '--name', 'LibSpeechdLoader',
1150 '--output-h', '<(output_h)',
1151 '--output-cc', '<(output_cc)',
1152 '--header', '<<(libspeechd_h_prefix)libspeechd.h>',
1154 '"third_party/speech-dispatcher/libspeechd.h"',
1155 '--link-directly=<(linux_link_libspeechd)',
1162 'spd_set_notification_on',
1163 'spd_set_voice_rate',
1164 'spd_set_voice_pitch',
1165 'spd_list_synthesis_voices',
1166 'spd_set_synthesis_voice',
1168 'spd_set_output_module',
1171 'message': 'Generating libspeechd library loader',
1172 'process_outputs_as_sources': 1,
1177 'target_name': 'pangocairo',
1179 'toolsets': ['host', 'target'],
1181 ['use_pango==1 and use_cairo==1', {
1183 ['_toolset=="target"', {
1184 'direct_dependent_settings': {
1186 '<!@(<(pkg-config) --cflags pangocairo pangoft2)',
1191 '<!@(<(pkg-config) --libs-only-L --libs-only-other pangocairo pangoft2)',
1194 '<!@(<(pkg-config) --libs-only-l pangocairo pangoft2)',
1198 'direct_dependent_settings': {
1200 '<!@(pkg-config --cflags pangocairo pangoft2)',
1205 '<!@(pkg-config --libs-only-L --libs-only-other pangocairo pangoft2)',
1208 '<!@(pkg-config --libs-only-l pangocairo pangoft2)',
1217 'target_name': 'ssl',
1220 ['_toolset=="target"', {
1222 ['use_openssl==1', {
1224 '../../third_party/boringssl/boringssl.gyp:boringssl',
1228 '../../net/third_party/nss/ssl.gyp:libssl',
1230 'direct_dependent_settings': {
1232 # We need for our local copies of the libssl3 headers to come
1233 # before other includes, as we are shadowing system headers.
1234 '<(DEPTH)/net/third_party/nss/ssl',
1238 # Link in the system NSS if it is used for either the internal
1239 # crypto library (use_openssl==0) or platform certificate
1240 # library (use_nss_certs==1).
1241 ['use_openssl==0 or use_nss_certs==1', {
1242 'direct_dependent_settings': {
1244 '<!@(<(pkg-config) --cflags nss)',
1249 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
1252 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
1257 'direct_dependent_settings': {
1259 # There is a broken header guard in /usr/include/nss/secmod.h:
1260 # https://bugzilla.mozilla.org/show_bug.cgi?id=884072
1261 '-Wno-header-guard',