License validation tweaks for webpki.
1) Tweak ISC license
Change author --> authors and eliminate a stray space. It now correctly
recognizes crates/inotify/LICENSE, and the other ISC licensed crates
(inotify, inotify-sys, libloading, untrusted) are still detected
correctly due to fuzzy matching.
2. Find crates/webpki/third-party/chromium/LICENSE.
These two changes make webpki pass license validation.
Test: ./crate_tool fix-licenses inotify inotify-sys libloading untrusted webpki
Change-Id: Ie7188d042c59e13006f2d28b732036c1ac7eda7f
diff --git a/tools/external_crates/license_checker/src/license_file_finder.rs b/tools/external_crates/license_checker/src/license_file_finder.rs
index 4c6a6f1..5497762 100644
--- a/tools/external_crates/license_checker/src/license_file_finder.rs
+++ b/tools/external_crates/license_checker/src/license_file_finder.rs
@@ -31,6 +31,7 @@
"COPYING",
"license",
"license.*",
+ "third-party/chromium/LICENSE",
];
pub(crate) fn find_license_files(
diff --git a/tools/external_crates/license_checker/src/licenses/ISC.txt b/tools/external_crates/license_checker/src/licenses/ISC.txt
index c6c2f5e..6b2b5b1 100644
--- a/tools/external_crates/license_checker/src/licenses/ISC.txt
+++ b/tools/external_crates/license_checker/src/licenses/ISC.txt
@@ -1,10 +1,10 @@
-Permission to use, copy, modify, and /or distribute this software for
+Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF