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 222556 a7972d1adc997926e4c836df537dcec6a06b07d0
parent 222555 b23df71e9c37e0349c5a4e2b9a7448cb87892174
child 222557 de91475479040058837252e0479190055f4f50fa
push id28068
push usercbook@mozilla.com
push dateThu, 08 Jan 2015 13:16:34 +0000
treeherdermozilla-central@2880e05d5e32 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup
bugs1073003
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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',