| Index: chrome/browser/resources/vulcanize_gn.py
|
| diff --git a/chrome/browser/resources/vulcanize_gn.py b/chrome/browser/resources/vulcanize_gn.py
|
| index 834bca1bf58a01d12667dc7721f0cc709efb3773..309ab32be4bb53533003a2116b68bdb96f1cee12 100755
|
| --- a/chrome/browser/resources/vulcanize_gn.py
|
| +++ b/chrome/browser/resources/vulcanize_gn.py
|
| @@ -168,6 +168,10 @@ def _vulcanize(in_folder, args):
|
| '--html', html_out_path,
|
| '--js', js_out_path])
|
|
|
| + # Create an empty JS file if crisper did not create one.
|
| + if not os.path.isfile(js_out_path):
|
| + open(js_out_path, 'w').close()
|
| +
|
| node.RunNode([node_modules.PathToUglifyJs(), js_out_path,
|
| '--comments', '"/Copyright|license|LICENSE|\<\/?if/"',
|
| '--output', js_out_path])
|
|
|