summaryrefslogtreecommitdiffstats
path: root/third_party/README.chromium.template
diff options
context:
space:
mode:
authormnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-10 12:44:09 +0000
committermnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-10 12:44:09 +0000
commitfd00e49adcf05f05a5cff215abed207e738c606c (patch)
treea53a61b29acbbe88db2179e3e919817872ed98cc /third_party/README.chromium.template
parent0819558cee773646a70d92adb6ed2ca944677e0d (diff)
downloadchromium_src-fd00e49adcf05f05a5cff215abed207e738c606c.zip
chromium_src-fd00e49adcf05f05a5cff215abed207e738c606c.tar.gz
chromium_src-fd00e49adcf05f05a5cff215abed207e738c606c.tar.bz2
Add checking for license formats to third_party/PRESUBMIT
Since we expect a certain format for the "License:" field, it's better to check it earlier -- during the presubmit stage, so people won't get surprises later. Also, updated the license checking code to accept multiple licenses if one of them is compatible with Android. BUG=168324 R=dannyb@google.com, mkosiba@chromium.org TBR=darin@chromium.org Review URL: https://codereview.chromium.org/146803006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250068 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/README.chromium.template')
-rw-r--r--third_party/README.chromium.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/README.chromium.template b/third_party/README.chromium.template
index 7294612..fb27166 100644
--- a/third_party/README.chromium.template
+++ b/third_party/README.chromium.template
@@ -4,7 +4,7 @@ URL: The URL where the package lives
Version: A searchable version number for the package (if the package does not version or is versioned by date or revision this field should be "0" and the revision, or date should be enumerated in the appropriate field)
Date: (OPTIONAL if version is supplied) The date that the package was updated
Revision: (OPTIONAL if version is supplied) The current revision of the package
-License: The license under which the package is distributed. Arbitrary text is allowed, but prefer standard forms, eg MIT/X11/BSD/Apache 2.0/GPL/LGPL.
+License: The license under which the package is distributed. Standard forms are only accepted, eg MIT/X11/BSD/Apache 2.0/GPL/LGPL. See ANDROID_WHITELISTED_LICENSES in PRESUBMIT.py for allowed patterns.
License File: (OPTIONAL) File that contains a copy of the package's license. Use the special value NOT_SHIPPED to indicate that the package is not included in the shipped product, so its license does not need to be included in about:credits and no license file is required.
Security Critical: Either yes or no depending on whether this package is shipped in releases. For example openssl is critical where cygwin is not.
License Android Compatible: (OPTIONAL) Whether the package uses a license compatible with Android. Required only if the package is compatible and the 'License' field uses a non-standard value.