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

Unified Diff: android_webview/tools/webview_licenses.py

Issue 660163002: Collect license version as an optional_key in licenses.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed Required Text functionality Created 6 years, 2 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 | chrome/browser/resources/about_credits_entry.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/tools/webview_licenses.py
diff --git a/android_webview/tools/webview_licenses.py b/android_webview/tools/webview_licenses.py
index 01b271540994b03848120ef8bf47e7b658e5dbe8..a85b0797681e4a10cdd6ea6e0970827050178a3c 100755
--- a/android_webview/tools/webview_licenses.py
+++ b/android_webview/tools/webview_licenses.py
@@ -63,7 +63,8 @@ def GetIncompatibleDirectories():
continue
try:
metadata = licenses.ParseDir(directory, REPOSITORY_ROOT,
- require_license_file=False)
+ require_license_file=False,
+ optional_keys=['License Android Compatible'])
except licenses.LicenseError as e:
print 'Got LicenseError while scanning ' + directory
raise
« no previous file with comments | « no previous file | chrome/browser/resources/about_credits_entry.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698