commit | 03f14e4b4f0e23fc0454a36715b3f22a1a8467eb | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Oct 19 18:38:30 2020 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Mon Oct 19 23:15:50 2020 -0700 |
tree | 4f2681158f4e7a83d4169d737d1cd74aaf17c775 | |
parent | dc03000e928650f807c3cac2493abf5a40406506 [diff] |
Better heuristic to find license types * Handle lower case file names like LICENSE-Apache. * Use "license" key value in Cargo.toml if LICENSE-* files are missing. * Recognize license type: ISC * Improve readability of a sequence of if-statements. Bug: 170254513 Test: get_rust_pkg.py --add3prf time-macros-impl Test: run add3prf.py in current rust/crates/* projects Change-Id: I9642f52090b20922302513a94fa97d41277f9762