Skip to content

Commit

Permalink
A simple script for parsing jar_maker calls from build output
Browse files Browse the repository at this point in the history
This do not include jar.mns processed by the FasterMake.
  • Loading branch information
rainemak committed Apr 29, 2020
1 parent 26b657a commit c069e3f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions embedding/embedlite/tools/jar_command_args
@@ -0,0 +1,9 @@
#!/usr/bin/perl -w

foreach my $index (0 .. $#ARGV) {
my $jar = $ARGV[$index];
if ($jar =~ /jar[.]mn/) {
print "$jar\n";
}
}

3 changes: 3 additions & 0 deletions embedding/embedlite/tools/jar_maker_calls
@@ -0,0 +1,3 @@
#!/bin/bash
TOOLS_DIR=$(dirname "$0")
grep "mozbuild[.]action[.]jar_maker.*jar.mn" $1 | grep -v "processing" | xargs $TOOLS_DIR/jar_command_args | cut -d'/' -f8- | sort

0 comments on commit c069e3f

Please sign in to comment.