Refactor the atom_js2c target to include javascript from multiple dirs.
authorThiago de Arruda <tpadilha84@gmail.com>
Sat, 20 Aug 2016 15:19:14 +0000 (12:19 -0300)
committerThiago de Arruda <tpadilha84@gmail.com>
Tue, 27 Sep 2016 09:01:46 +0000 (06:01 -0300)
commit1713200084084e6ec8ce058ae0e16566789a91d7
tree0d7616ca2a9e3f023f94fdd112f3d9bb94a95720
parent6afe8aa7f2765cfcb2553651b0fc11dcce948eca
Refactor the atom_js2c target to include javascript from multiple dirs.

Before invoking js2c, copy all files that must be embedded into the shared
intermediate directory, and modify the js2c wrapper script to include all files
from that directory(which is passed as argument).

This allows the build system to embed files that don't share a common base
directory, such as javascript generated at build time.
electron.gyp
tools/js2c.py