diff options
Diffstat (limited to 'testing/emscripten/closurecompiler-externs-path.patch')
-rw-r--r-- | testing/emscripten/closurecompiler-externs-path.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/emscripten/closurecompiler-externs-path.patch b/testing/emscripten/closurecompiler-externs-path.patch new file mode 100644 index 0000000000..d760156c8d --- /dev/null +++ b/testing/emscripten/closurecompiler-externs-path.patch @@ -0,0 +1,17 @@ +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')] |