diff options
| author | Jez Ng <me@jezng.com> | 2013-06-06 18:12:39 -0700 | 
|---|---|---|
| committer | Jez Ng <me@jezng.com> | 2013-06-19 01:22:01 -0700 | 
| commit | 165befaa29b7226b28caecd2f30bae91dc20f26f (patch) | |
| tree | fa50042f6eba9fd29e0c27773af7051188f3b4a8 /emcc | |
| parent | 747f74e1055feaea11222978d46c421ac92602ea (diff) | |
Add check for keep_llvm_debug + minor touchups.
Diffstat (limited to 'emcc')
| -rwxr-xr-x | emcc | 4 | 
1 files changed, 2 insertions, 2 deletions
@@ -1595,7 +1595,7 @@ try:      shell = open(shell_path).read()      html = open(target, 'w')      if not Compression.on: -      if keep_js_debug: generate_source_maps(final, target) +      if keep_llvm_debug and keep_js_debug: generate_source_maps(final, target)        html.write(shell.replace('{{{ SCRIPT_CODE }}}', open(final).read()))      else:        # Compress the main code @@ -1666,7 +1666,7 @@ try:          from tools.split import split_javascript_file          split_javascript_file(final, unsuffixed(target), split_js_file)      else: -        if keep_js_debug: generate_source_maps(final, target) +        if keep_llvm_debug and keep_js_debug: generate_source_maps(final, target)          # copy final JS to output          shutil.move(final, target)  | 
