summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/devscripts/chromium-1.patch13
-rwxr-xr-xthird_party/devscripts/licensecheck.pl6
2 files changed, 19 insertions, 0 deletions
diff --git a/third_party/devscripts/chromium-1.patch b/third_party/devscripts/chromium-1.patch
index 3dd9264..ed40b4d 100644
--- a/third_party/devscripts/chromium-1.patch
+++ b/third_party/devscripts/chromium-1.patch
@@ -1,5 +1,18 @@
--- licensecheck.pl.orig 2011-09-22 10:51:25.934402455 -0700
+++ licensecheck.pl 2011-09-22 10:45:54.585545044 -0700
+@@ -241,6 +241,12 @@ my @files = ();
+ my @find_args = ();
+ my $files_count = @ARGV;
+
++push @find_args, qw(-not ( -path */LayoutTests/* -prune ) );
++push @find_args, qw(-not ( -path */out/Debug/* -prune ) );
++push @find_args, qw(-not ( -path */out/Release/* -prune ) );
++push @find_args, qw(-not ( -path *.git* -prune ) );
++push @find_args, qw(-not ( -path *.svn* -prune ) );
++
+ push @find_args, qw(-maxdepth 1) unless $opt_recursive;
+ push @find_args, qw(-follow -type f -print);
+
@@ -277,10 +277,6 @@
while (<F>) {
last if ($. > $opt_lines);
diff --git a/third_party/devscripts/licensecheck.pl b/third_party/devscripts/licensecheck.pl
index f6cb47d..abdb1a4 100755
--- a/third_party/devscripts/licensecheck.pl
+++ b/third_party/devscripts/licensecheck.pl
@@ -241,6 +241,12 @@ my @files = ();
my @find_args = ();
my $files_count = @ARGV;
+push @find_args, qw(-not ( -path */LayoutTests/* -prune ) );
+push @find_args, qw(-not ( -path */out/Debug/* -prune ) );
+push @find_args, qw(-not ( -path */out/Release/* -prune ) );
+push @find_args, qw(-not ( -path *.git* -prune ) );
+push @find_args, qw(-not ( -path *.svn* -prune ) );
+
push @find_args, qw(-maxdepth 1) unless $opt_recursive;
push @find_args, qw(-follow -type f -print);