aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJez Ng <me@jezng.com>2013-06-19 05:08:43 -0700
committerJez Ng <me@jezng.com>2013-06-19 14:15:18 -0700
commit54a59bee849be1da0c6d1de0dc4a6a73744c6d04 (patch)
tree67405818086e42333a459adfe5ebca140cd33efe
parent0f73e28bab1c1b8caa8f7b77692bebd705bebe6a (diff)
Move source mapping files into their own folder.
-rwxr-xr-xemcc2
-rwxr-xr-xtests/runner.py2
-rw-r--r--tools/source-maps/sourcemap2json.js (renamed from tools/sourcemap2json.js)0
-rwxr-xr-xtools/source-maps/sourcemapper.js (renamed from tools/sourcemapper.js)0
4 files changed, 2 insertions, 2 deletions
diff --git a/emcc b/emcc
index 8f9d195c..423ebe91 100755
--- a/emcc
+++ b/emcc
@@ -1587,7 +1587,7 @@ try:
logging.debug('did not see memory initialization')
def generate_source_map(filename, map_file_base_name, offset=0):
- jsrun.run_js(shared.path_from_root('tools', 'sourcemapper.js'),
+ jsrun.run_js(shared.path_from_root('tools', 'source-maps', 'sourcemapper.js'),
shared.NODE_JS, [filename, os.getcwd(), map_file_base_name, str(offset)])
# If we were asked to also generate HTML, do that
diff --git a/tests/runner.py b/tests/runner.py
index b3cfd1ae..63f5048a 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -9614,7 +9614,7 @@ def process(filename):
self.assertIdentical(src_filename, data['sources'][0])
self.assertIdentical(src, data['sourcesContent'][0])
mappings = json.loads(jsrun.run_js(
- path_from_root('tools', 'sourcemap2json.js'),
+ path_from_root('tools', 'source-maps', 'sourcemap2json.js'),
tools.shared.NODE_JS, [map_filename]))
seen_lines = set()
for m in mappings:
diff --git a/tools/sourcemap2json.js b/tools/source-maps/sourcemap2json.js
index 5dd162b2..5dd162b2 100644
--- a/tools/sourcemap2json.js
+++ b/tools/source-maps/sourcemap2json.js
diff --git a/tools/sourcemapper.js b/tools/source-maps/sourcemapper.js
index c7021a0f..c7021a0f 100755
--- a/tools/sourcemapper.js
+++ b/tools/source-maps/sourcemapper.js