Skip to content

Commit

Permalink
fixup! build: pass directory instead of list of files to js2c.py
Browse files Browse the repository at this point in the history
  • Loading branch information
joyeecheung committed Jun 19, 2021
1 parent 1cbb9af commit c9f09ab
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions node.gyp
Expand Up @@ -32,6 +32,9 @@
# The lengths of their file names combined should not exceed the
# Windows command length limit or there would be an error.
# See https://docs.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/command-line-string-limitation
'library_files': [
'<!@(python tools/search_files.py --ext js lib)',
],
'deps_files': [
'deps/v8/tools/splaytree.mjs',
'deps/v8/tools/codemap.mjs',
Expand Down Expand Up @@ -554,7 +557,7 @@
# Dependency headers
'deps/v8/include/v8.h',
# javascript files to make for an even more pleasant IDE experience
'<!@(python tools/search_files.py --ext js lib)',
'<@(library_files)',
'<@(deps_files)',
# node.gyp is added by default, common.gypi is added for change detection
'common.gypi',
Expand Down Expand Up @@ -808,7 +811,7 @@
'inputs': [
# Put the code first so it's a dependency and can be used for invocation.
'tools/js2c.py',
'<!@(python tools/search_files.py --ext js lib)',
'<@(library_files)',
'<@(deps_files)',
'config.gypi'
],
Expand Down Expand Up @@ -1366,7 +1369,7 @@
'deps/v8/include',
],
'sources': [
'<!@(python tools/search_files.py --ext js lib)',
'<@(library_files)',
'<@(deps_files)',
'common.gypi',
],
Expand Down

0 comments on commit c9f09ab

Please sign in to comment.