Bug 1467307 - whitelist BSD-2-Clause license for Rust crates, r=gps
authorMyk Melez <myk@mykzilla.org>
Wed, 06 Jun 2018 07:46:57 -0700
changeset 479737 b295397ebb08320fbe518f0e28dddd48061c53e0
parent 479736 40b467f3830618e185c0e6d6f857b07f345b62ef
child 479738 fc6c078e39d968c819341ffcbcfaa54f2d9a8d16
push id1757
push userffxbld-merge
push dateFri, 24 Aug 2018 17:02:43 +0000
treeherdermozilla-release@736023aebdb1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1467307
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1467307 - whitelist BSD-2-Clause license for Rust crates, r=gps MozReview-Commit-ID: HVOlQlfley1
python/mozbuild/mozbuild/vendor_rust.py
--- a/python/mozbuild/mozbuild/vendor_rust.py
+++ b/python/mozbuild/mozbuild/vendor_rust.py
@@ -143,33 +143,31 @@ Please commit or stash these changes bef
 
         # Licenses for code used at runtime. Please see the above comment before
         # adding anything to this list.
         RUNTIME_LICENSE_WHITELIST = [
             'Apache-2.0',
             'Apache-2.0 / MIT',
             'Apache-2.0/MIT',
             'Apache-2 / MIT',
+            'BSD-2-Clause',
             'CC0-1.0',
             'ISC',
             'ISC/Apache-2.0',
             'MIT',
             'MIT / Apache-2.0',
             'MIT/Apache-2.0',
             'MIT OR Apache-2.0',
             'MPL-2.0',
             'Unlicense/MIT',
         ]
 
         # Licenses for code used at build time (e.g. code generators). Please see the above
         # comments before adding anything to this list.
         BUILDTIME_LICENSE_WHITELIST = {
-            'BSD-2-Clause': [
-                'Inflector',
-            ],
             'BSD-3-Clause': [
                 'adler32',
                 'bindgen',
                 'fuchsia-zircon',
                 'fuchsia-zircon-sys',
             ]
         }