aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorJez Ng <me@jezng.com>2013-06-21 17:39:37 -0700
committerJez Ng <me@jezng.com>2013-06-22 01:23:22 -0700
commit9382556ed563b1e4c36b90b1cbe4acafffef930d (patch)
tree5162181d60eb6546962106e777e9179adac09dc9 /emcc
parent88feddf045882bbddd29d9286eae4e6a9086e286 (diff)
Test that source mapping works with EMCC_DEBUG=2.
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc4
1 files changed, 3 insertions, 1 deletions
diff --git a/emcc b/emcc
index d4047319..c68d9e63 100755
--- a/emcc
+++ b/emcc
@@ -1483,9 +1483,11 @@ try:
open(final, 'w').write(src)
if DEBUG: save_intermediate('bind')
- # TODO: support source maps with js_transform
# Apply a source code transformation, if requested
if js_transform:
+ # TODO: support source maps with js_transform
+ logging.warning('disabling source maps because a js transform is being done')
+ make_source_map = False
shutil.copyfile(final, final + '.tr.js')
final += '.tr.js'
posix = True if not shared.WINDOWS else False