Lines Matching refs:action

83 def package_files(action, name, bins):
96 action(paths, target_path + dirname[len(root) + 1:] + '/')
101 if action == uninstall:
102 action([link_path], 'bin/' + bin_name)
103 elif action == install:
106 assert 0 # unhandled action type
108 def npm_files(action):
109 package_files(action, 'npm', {
114 def corepack_files(action):
115 package_files(action, 'corepack', {
128 if action == uninstall:
129 action([link_path], 'bin/node-gyp')
130 elif action == install:
133 assert 0 # unhandled action type
135 def subdir_files(path, dest, action):
141 action(files_in_path, subdir + '/')
143 def files(action):
150 action([output_prefix + output_file], 'bin/' + output_file)
154 action([output_prefix + 'libnode.dll'], 'bin/libnode.dll')
155 action([output_prefix + 'libnode.lib'], 'lib/libnode.lib')
162 action([output_prefix + output_lib], 'lib/' + output_lib)
172 action([output_prefix + so_name], variables.get('libdir') + '/' + so_name)
179 action([output_prefix + output_lib], variables.get('libdir') + '/' + output_lib)
181 action(['out/Release/node.d'], 'lib/dtrace/node.d')
184 action(['src/node.stp'], 'share/systemtap/tapset/')
186 action(['deps/v8/tools/gdbinit'], 'share/doc/node/')
187 action(['deps/v8/tools/lldb_commands.py'], 'share/doc/node/')
190 action(['doc/node.1'], 'man/man1/')
192 action(['doc/node.1'], 'share/man/man1/')
195 npm_files(action)
198 corepack_files(action)
200 headers(action)
202 def headers(action):
260 action(files_arg, dest)
266 action(files_arg, dest)
268 action([
283 action(['out/Release/node.exp'], 'include/node/')
288 subdir_files('deps/uv/include', 'include/node/', action)
292 subdir_files('deps/openssl/openssl/include/openssl', 'include/node/openssl/', action)
293 subdir_files('deps/openssl/config/archs', 'include/node/openssl/archs', action)
294 subdir_files('deps/openssl/config', 'include/node/openssl', action)
297 action([