diff --git a/build/generateExterns.js b/build/generateExterns.js
index <HASH>..<HASH> 100755
--- a/build/generateExterns.js
+++ b/build/generateExterns.js
@@ -846,8 +846,12 @@ function main(args) {
   // Get externs.
   const externs = sorted.map((x) => x.externs).join('');
 
+  // Get license header.
+  const licenseHeader = fs.readFileSync(__dirname + '/license-header', 'utf-8');
+
   // Output generated externs, with an appropriate header.
   fs.writeFileSync(outputPath,
+      licenseHeader +
       '/**\n' +
       ' * @fileoverview Generated externs.  DO NOT EDIT!\n' +
       ' * @externs\n' +
fix: Add license header to generated externs

To comply with internal regulations, even our generated externs should
have a license header.  This prepends the header to all generated
externs.

Closes #<I>

Change-Id: Idef8e7bff<I>aefa<I>a8f<I>e<I>fa