Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
build: include chakrashim headers in install.py
Browse files Browse the repository at this point in the history
Reviewed-By: Kunal Pathak <[email protected]>
PR-URL: #151
  • Loading branch information
joaocgreis committed Dec 13, 2016
1 parent 121a342 commit a1092a7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tools/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,13 @@ def headers(action):
if sys.platform.startswith('aix'):
action(['out/Release/node.exp'], 'include/node/')

subdir_files('deps/v8/include', 'include/node/', action)
if 'v8' == variables.get('node_engine'):
subdir_files('deps/v8/include', 'include/node/', action)
elif 'chakracore' == variables.get('node_engine'):
subdir_files('deps/chakrashim/include', 'include/node/', action)
subdir_files('deps/chakrashim/src', 'include/node/', action)
else:
raise RuntimeError('Unknown engine: %s\n' % variables.get('node_engine'))

if 'false' == variables.get('node_shared_cares'):
subdir_files('deps/cares/include', 'include/node/', action)
Expand Down

0 comments on commit a1092a7

Please sign in to comment.