Add --output option to tools/compiledump.py

To get the output without explicitly unpacking to a temp.

Change-Id: I251a4c38aa780b52a0d529f4787584427d4428ea
diff --git a/tools/compiledump.py b/tools/compiledump.py
index aaca981..6474441 100755
--- a/tools/compiledump.py
+++ b/tools/compiledump.py
@@ -29,6 +29,11 @@
     help='Dump file or directory to compile',
     default=None)
   parser.add_argument(
+    '-o',
+    '--output',
+    help='File to output (defaults to out.jar in temp)',
+    default=None)
+  parser.add_argument(
     '--temp',
     help='Temp directory to extract the dump to, allows you to rerun the command'
       ' more easily in the terminal with changes',
@@ -325,6 +330,8 @@
   return []
 
 def determine_output(args, temp):
+  if (args.output):
+    return args.output
   return os.path.join(temp, 'out.jar')
 
 def determine_min_api(args, build_properties):