summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-12-06 23:05:36 -0500
committerGitHub <noreply@github.com>2018-12-06 23:05:36 -0500
commitc113df1bb8a0c7d0c560ad32c0291c918c7da7b4 (patch)
tree0d15de448be602c22aecb2ec65ac7667c437a209 /BUILD.gn
parent568ac0c9026b6f4012e2511a026bb5eb31a06020 (diff)
Process source maps in Rust instead of JS (#1280)
- Improves speed and binary size significantly. - Makes deno_last_exception() output a JSON structure. - Isolate::execute and Isolate::event_loop now return structured, mapped JSError objects on errors. - Removes libdeno functions: libdeno.setGlobalErrorHandler() libdeno.setPromiseRejectHandler() libdeno.setPromiseErrorExaminer() In collaboration with Ryan Dahl.
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn4
1 files changed, 2 insertions, 2 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 86326ed6e..f2e96bbbb 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -39,6 +39,8 @@ main_extern = [
"$rust_build:remove_dir_all",
"$rust_build:ring",
"$rust_build:rustyline",
+ "$rust_build:serde_json",
+ "$rust_build:source_map_mappings",
"$rust_build:tempfile",
"$rust_build:tokio",
"$rust_build:tokio_executor",
@@ -84,7 +86,6 @@ ts_sources = [
"js/platform.ts",
"js/plugins.d.ts",
"js/process.ts",
- "js/promise_util.ts",
"js/read_dir.ts",
"js/read_file.ts",
"js/read_link.ts",
@@ -101,7 +102,6 @@ ts_sources = [
"js/types.ts",
"js/url_search_params.ts",
"js/util.ts",
- "js/v8_source_maps.ts",
"js/write_file.ts",
"tsconfig.json",