From: Jakub Jirutka <jakub@jirutka.cz>
Date: Mon, 4 Apr 2017 19:30:00 +0200
Subject: [PATCH] Fix path to closurecompiler-externs

We ship closurecompiler-externs in package node-closurecompiler-externs.

--- a/tools/shared.py
+++ b/tools/shared.py
@@ -2130,7 +2130,7 @@
         raise Exception('closure compiler check failed')
 
       CLOSURE_EXTERNS = path_from_root('src', 'closure-externs.js')
-      NODE_EXTERNS_BASE = path_from_root('third_party', 'closure-compiler', 'node-externs')
+      NODE_EXTERNS_BASE = '/usr/lib/node_modules/closurecompiler-externs'
       NODE_EXTERNS = os.listdir(NODE_EXTERNS_BASE)
       NODE_EXTERNS = [os.path.join(NODE_EXTERNS_BASE, name) for name in NODE_EXTERNS
                       if name.endswith('.js')]
