Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1223)

Unified Diff: third_party/devscripts/chromium-1.patch

Issue 7974012: Speed up check_licenses by another 30% by scanning less files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/devscripts/licensecheck.pl » ('j') | third_party/devscripts/licensecheck.pl » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/devscripts/chromium-1.patch
diff --git a/third_party/devscripts/chromium-1.patch b/third_party/devscripts/chromium-1.patch
index 3dd92644ff380bc69f48ae4953c63656971798c0..ed40b4dcf73f778cbe9d43a1b05dff328b3516d8 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);
« no previous file with comments | « no previous file | third_party/devscripts/licensecheck.pl » ('j') | third_party/devscripts/licensecheck.pl » ('J')

Powered by Google App Engine
This is Rietveld 408576698