From ed22748f655aa044b37ec004880529505a33308e Mon Sep 17 00:00:00 2001 From: "torne@chromium.org" Date: Tue, 30 Jul 2013 09:14:41 +0000 Subject: Add tools/gn to the license exclusion list. This directory contains a "secondary" directory which includes a mirror of part of the chromium directory structure for temporarily holding experimental build files. This hierarchy contains some directories named "third_party" which confuse the script. The files in here are only build files that are copyright Google. BUG= NOTRY=true Review URL: https://codereview.chromium.org/21180003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214323 0039d316-1c4b-4281-b951-d872f2087c98 --- android_webview/tools/webview_licenses.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android_webview/tools/webview_licenses.py b/android_webview/tools/webview_licenses.py index 853778b..9437423 100755 --- a/android_webview/tools/webview_licenses.py +++ b/android_webview/tools/webview_licenses.py @@ -186,6 +186,10 @@ def _FindThirdPartyDirs(): os.path.join('third_party', 'llvm-build'), # Binaries doesn't apply to android os.path.join('third_party', 'widevine'), + # third_party directories in this tree aren't actually third party, but + # provide a way to shadow experimental buildfiles into those directories. + # Files in here are Copyright Google. + os.path.join('tools', 'gn', 'secondary'), ] third_party_dirs = licenses.FindThirdPartyDirs(prune_paths, REPOSITORY_ROOT) return licenses.FilterDirsWithFiles(third_party_dirs, REPOSITORY_ROOT) -- cgit v1.1