License: Copied from master.

(cherry picked from commit 476e7fd447e97028f712756ea1564d12f4a9bc7e)