Skip to content

Instantly share code, notes, and snippets.

@rail
Created October 24, 2015 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rail/401b7b9681fb6f44f5e1 to your computer and use it in GitHub Desktop.
Save rail/401b7b9681fb6f44f5e1 to your computer and use it in GitHub Desktop.
--- a/python/mozbuild/mozbuild/mach_commands.py Fri Oct 23 08:08:38 2015 -0400
+++ b/python/mozbuild/mozbuild/mach_commands.py Sat Oct 24 13:08:48 2015 +0000
@@ -1139,6 +1139,16 @@
return self._run_make(directory=".", target='buildsymbols', ensure_exit_code=False)
@CommandProvider
+class SourcePackage(MachCommandBase):
+ """Produce a package of debug symbols suitable for use with Breakpad."""
+
+ @Command('source-package', category='build',
+ description='Produce a source package .')
+ @CommandArgument('-r', '--revision')
+ def sourcepackage(self, revision):
+ return self._run_make(directory=self.topobjdir, target=['source-package', 'hg-bundle'], append_env={b"HG_BUNDLE_REVISION": revision})
+
+@CommandProvider
class Makefiles(MachCommandBase):
@Command('empty-makefiles', category='build-dev',
description='Find empty Makefile.in in the tree.')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment