Bug 1288758 - Keep build/moz.build in sync (Port bug 1285356 to TB, IM, SM). r=aleth a=jorgk (SM CLOSED TREE, Aurora)
authorJorg K <mozilla@jorgk.com>
Mon, 25 Jul 2016 12:57:23 +0200
changeset 27319 8cd47fef0b2ec18d264d88ec9ada43967d1692b1
parent 27318 14361c5826f931c8d4af6af2d4bb341f83c11668
child 27320 58cc81468bc9bcb06bc2b286b8d5a1d2aafc71ac
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaleth, jorgk
bugs1288758, 1285356
Bug 1288758 - Keep build/moz.build in sync (Port bug 1285356 to TB, IM, SM). r=aleth a=jorgk (SM CLOSED TREE, Aurora)
im/app/moz.build
mail/app/moz.build
suite/app/moz.build
--- a/im/app/moz.build
+++ b/im/app/moz.build
@@ -25,16 +25,21 @@ if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_
         '/mozilla/security/sandbox/chromium',
         '/mozilla/security/sandbox/chromium-shim',
     ]
 
     USE_LIBS += [
         'sandbox_s',
     ]
 
+    DELAYLOAD_DLLS += [
+        'winmm.dll',
+        'user32.dll',
+    ]
+
 if CONFIG['_MSC_VER']:
     # Always enter a Windows program through wmain, whether or not we're
     # a console application.
     WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup']
 
 # Control the default heap size.
 # This is the heap returned by GetProcessHeap().
 # As we use the CRT heap, the default size is too large and wastes VM.
--- a/mail/app/moz.build
+++ b/mail/app/moz.build
@@ -25,16 +25,21 @@ if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_
         '/mozilla/security/sandbox/chromium',
         '/mozilla/security/sandbox/chromium-shim',
     ]
 
     USE_LIBS += [
         'sandbox_s',
     ]
 
+    DELAYLOAD_DLLS += [
+        'winmm.dll',
+        'user32.dll',
+    ]
+
 if CONFIG['_MSC_VER']:
     # Always enter a Windows program through wmain, whether or not we're
     # a console application.
     WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup']
 
 # Control the default heap size.
 # This is the heap returned by GetProcessHeap().
 # As we use the CRT heap, the default size is too large and wastes VM.
--- a/suite/app/moz.build
+++ b/suite/app/moz.build
@@ -28,16 +28,21 @@ if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_
         '/mozilla/security/sandbox/chromium',
         '/mozilla/security/sandbox/chromium-shim',
     ]
 
     USE_LIBS += [
         'sandbox_s',
     ]
 
+    DELAYLOAD_DLLS += [
+        'winmm.dll',
+        'user32.dll',
+    ]
+
 # Control the default heap size.
 # This is the heap returned by GetProcessHeap().
 # As we use the CRT heap, the default size is too large and wastes VM.
 #
 # The default heap size is 1MB on Win32.
 # The heap will grow if need be.
 #
 # Set it to 256k.  See bug 127069.