Bug 1317968 - Package the minidump-analyzer tool r=ted a=jcristau
☠☠ backed out by e84e0565f940 ☠ ☠
authorGabriele Svelto <gsvelto@mozilla.com>
Wed, 16 Nov 2016 15:24:05 +0100
changeset 352900 f597f21b42f5fe20bb9b37758250188d59a5c65e
parent 352899 4ac86351a69e89de624f67cbee029e1673999df3
child 352901 11e76531aa74395dbb0f6f596909ad57eff416bc
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted, jcristau
bugs1317968
milestone52.0a2
Bug 1317968 - Package the minidump-analyzer tool r=ted a=jcristau
browser/installer/package-manifest.in
browser/installer/windows/nsis/shared.nsh
python/mozbuild/mozbuild/artifacts.py
--- a/browser/installer/package-manifest.in
+++ b/browser/installer/package-manifest.in
@@ -772,16 +772,17 @@ bin/libfreebl_32int64_3.so
 #ifdef MOZ_CRASHREPORTER
 @RESPATH@/components/CrashService.manifest
 @RESPATH@/components/CrashService.js
 @RESPATH@/components/toolkit_crashservice.xpt
 #ifdef XP_MACOSX
 @BINPATH@/crashreporter.app/
 #else
 @BINPATH@/crashreporter@BIN_SUFFIX@
+@BINPATH@/minidump-analyzer@BIN_SUFFIX@
 @RESPATH@/crashreporter.ini
 #ifdef XP_UNIX
 @RESPATH@/Throbber-small.gif
 #endif
 #endif
 @RESPATH@/browser/crashreporter-override.ini
 #ifdef MOZ_CRASHREPORTER_INJECTOR
 @BINPATH@/breakpadinjector.dll
--- a/browser/installer/windows/nsis/shared.nsh
+++ b/browser/installer/windows/nsis/shared.nsh
@@ -1173,16 +1173,17 @@
   Push "IA2Marshal.dll"
   Push "freebl3.dll"
   Push "nssckbi.dll"
   Push "nspr4.dll"
   Push "nssdbm3.dll"
   Push "mozsqlite3.dll"
   Push "xpcom.dll"
   Push "crashreporter.exe"
+  Push "minidump-analyzer.exe"
   Push "updater.exe"
   Push "${FileMainEXE}"
 !macroend
 !define PushFilesToCheck "!insertmacro PushFilesToCheck"
 
 
 ; Pushes the string "true" to the top of the stack if the Firewall service is
 ; running and pushes the string "false" to the top of the stack if it isn't.
--- a/python/mozbuild/mozbuild/artifacts.py
+++ b/python/mozbuild/mozbuild/artifacts.py
@@ -246,16 +246,17 @@ class LinuxArtifactJob(ArtifactJob):
     product = 'firefox'
 
     package_artifact_patterns = {
         'firefox/application.ini',
         'firefox/crashreporter',
         'firefox/dependentlibs.list',
         'firefox/firefox',
         'firefox/firefox-bin',
+        'firefox/minidump-analyzer',
         'firefox/platform.ini',
         'firefox/plugin-container',
         'firefox/updater',
         'firefox/**/*.so',
         'firefox/**/interfaces.xpt',
     }
 
     def process_package_artifact(self, filename, processed_filename):
@@ -315,16 +316,17 @@ class MacArtifactJob(ArtifactJob):
             bundle_dirs = glob.glob(mozpath.join(tempdir, '*.app'))
             if len(bundle_dirs) != 1:
                 raise ValueError('Expected one source bundle, found: {}'.format(bundle_dirs))
             [source] = bundle_dirs
 
             # These get copied into dist/bin without the path, so "root/a/b/c" -> "dist/bin/c".
             paths_no_keep_path = ('Contents/MacOS', [
                 'crashreporter.app/Contents/MacOS/crashreporter',
+                'crashreporter.app/Contents/MacOS/minidump-analyzer',
                 'firefox',
                 'firefox-bin',
                 'libfreebl3.dylib',
                 'liblgpllibs.dylib',
                 # 'liblogalloc.dylib',
                 'libmozglue.dylib',
                 'libnss3.dylib',
                 'libnssckbi.dylib',