File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,13 @@ mkdir -p "$src_dir" "$third_party_src_dir"
115115# # Generate deps.js
116116../closure_deps_graph.sh
117117
118+ # # Normalize deps.js
119+ perl -p -i -e ' s/\]\);/\], \{\}\);/go' \
120+ " $closure_library_base /goog/deps.js"
121+
122+ perl -p -i -e ' s/..\/..\/third_party\/closure\/goog\///go' \
123+ " $closure_library_base /goog/deps.js"
124+
118125# # Copy Closure sources
119126
120127cp -r \
Original file line number Diff line number Diff line change 2222 []
2323 (map #(SourceFile/fromFile (.getAbsolutePath %))
2424 (mapcat (comp js-files-in io/file)
25- [" closure-library/closure/goog" ]))
25+ [" closure-library/closure/goog" " closure-library/third_party/closure/goog " ]))
2626 DepsGenerator$InclusionStrategy/ALWAYS
2727 (.getAbsolutePath (io/file " closure-library/closure/goog" ))
2828 (proxy [BasicErrorManager] []
You can’t perform that action at this time.
0 commit comments