You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bazel/emscripten_toolchain/wasm_binary.py
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@
14
14
importargparse
15
15
importos
16
16
importtarfile
17
-
17
+
importshutil
18
18
19
19
defensure(f):
20
20
ifnotos.path.exists(f):
@@ -26,11 +26,20 @@ def main():
26
26
parser=argparse.ArgumentParser()
27
27
parser.add_argument('--archive', help='The archive to extract from.')
28
28
parser.add_argument('--outputs', help='Comma separated list of files that should be extracted from the archive. Only the extname has to match a file in the archive.')
29
+
parser.add_argument('--dwp_file', help='Optional dwp input file, generated when fission flags set.')
29
30
parser.add_argument('--allow_empty_outputs', help='If an output listed in --outputs does not exist, create it anyways.', action='store_true')
0 commit comments