Backed out changeset 79910289a1f3 (bug 1460882) for mingw build bustage.
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 22 May 2018 19:12:38 -0400
changeset 802205 035ad5ecd97ee8a2e3beb9176e9d98d1163b1c75
parent 802204 8ca5a571d7500d215c5cd6b00e0e0a442b47cb11
child 802206 15638bdb5acb23230520993618fe0d5f57f8f281
push id111850
push userbmo:tom@mozilla.com
push dateThu, 31 May 2018 16:41:37 +0000
bugs1460882
milestone60.0.2
backs out79910289a1f331463d661f484c354eb0d90eb9cf
Backed out changeset 79910289a1f3 (bug 1460882) for mingw build bustage.
security/sandbox/moz.build
old mode 100755
new mode 100644
--- a/security/sandbox/moz.build
+++ b/security/sandbox/moz.build
@@ -151,21 +151,19 @@ elif CONFIG['OS_ARCH'] == 'WINNT':
             'chromium/sandbox/win/src/service_resolver_64.cc',
         ]
     else:
         SOURCES += [
             'chromium/sandbox/win/src/resolver_32.cc',
             'chromium/sandbox/win/src/service_resolver_32.cc',
         ]
 
-    for var in ('UNICODE', '_UNICODE', 'NS_NO_XPCOM',
+    for var in ('UNICODE', '_UNICODE', 'NS_NO_XPCOM', 'SANDBOX_EXPORTS',
                 '_CRT_RAND_S', 'CHROMIUM_SANDBOX_BUILD'):
         DEFINES[var] = True
-    if CONFIG['CC_TYPE'] != 'gcc':
-        DEFINES['SANDBOX_EXPORTS'] = True
 
     LOCAL_INCLUDES += ['/security/sandbox/chromium-shim']
     LOCAL_INCLUDES += ['/security/sandbox/chromium']
     LOCAL_INCLUDES += ['/nsprpub']
 
     DisableStlWrapping()
 
     # Suppress warnings in third-party code.