summaryrefslogtreecommitdiff
path: root/tools/v8_gypfiles/ForEachFormat.py
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2019-03-24 22:58:29 -0400
committerRefael Ackermann <refack@gmail.com>2019-03-28 16:39:16 -0400
commit3b5773fee389c52077bd9f2dd324739af27fb6b5 (patch)
treea3967e13f38c431ab1ab9ca3dbfcb102e0bd0526 /tools/v8_gypfiles/ForEachFormat.py
parent3d8b844112bf6526ce126ecaec85f83b31a0a9aa (diff)
downloadandroid-node-v8-3b5773fee389c52077bd9f2dd324739af27fb6b5.tar.gz
android-node-v8-3b5773fee389c52077bd9f2dd324739af27fb6b5.tar.bz2
android-node-v8-3b5773fee389c52077bd9f2dd324739af27fb6b5.zip
build,deps: move gypfiles out 2/2 - moving
* move all used files to `tools/v8_gypfiles` directory * fix references in node configuration PR-URL: https://github.com/nodejs/node/pull/26685 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'tools/v8_gypfiles/ForEachFormat.py')
-rw-r--r--tools/v8_gypfiles/ForEachFormat.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/v8_gypfiles/ForEachFormat.py b/tools/v8_gypfiles/ForEachFormat.py
new file mode 100644
index 0000000000..3015cb8b82
--- /dev/null
+++ b/tools/v8_gypfiles/ForEachFormat.py
@@ -0,0 +1,5 @@
+# Copyright (c) 2019 Refael Ackeramnn<refack@gmail.com>. All rights reserved.
+# Use of this source code is governed by an MIT-style license.
+def DoMain(args):
+ format_str = args.pop(0)
+ return ' '.join(format_str % a for a in args)