Bug 1073003 - Disable -Wattribute warnings in media/webrtc/signaling. r=jesup
authorBotond Ballo <botond@mozilla.com>
Fri, 19 Dec 2014 12:08:08 -0500
changeset 235580 a7972d1adc997926e4c836df537dcec6a06b07d0
parent 235579 b23df71e9c37e0349c5a4e2b9a7448cb87892174
child 235581 de91475479040058837252e0479190055f4f50fa
push id366
push usercmanchester@mozilla.com
push dateThu, 08 Jan 2015 16:40:24 +0000
reviewersjesup
bugs1073003
milestone37.0a1
Bug 1073003 - Disable -Wattribute warnings in media/webrtc/signaling. r=jesup
media/webrtc/signaling/signaling.gyp
--- a/media/webrtc/signaling/signaling.gyp
+++ b/media/webrtc/signaling/signaling.gyp
@@ -254,16 +254,23 @@
             'LINUX',
             'GIPS_VER=3510',
             'SECLIB_OPENSSL',
           ],
 
           'cflags_mozilla': [
           ],
         }],
+        ['OS=="android" or moz_widget_toolkit_gonk==1', {
+          'cflags_mozilla': [
+            # This warning complains about important MOZ_EXPORT attributes
+            # on forward declarations for Android API types.
+            '-Wno-error=attributes',
+          ],
+        }],
         ['OS=="win"', {
           'include_dirs': [
           ],
           'defines': [
             'OS_WIN',
             'SIP_OS_WINDOWS',
             'WIN32',
             'GIPS_VER=3480',