diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2018-08-10 10:41:12 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-08-10 11:50:45 -0700 |
commit | 2c8bdd2f5fda04254551d04923ef91c79524282f (patch) | |
tree | 28a1a4f69bd318f9c123782fad8fd913835d6707 /BUILD.gn | |
parent | c4cafcecb1f50e38275b7d82852fd33b63964fb2 (diff) |
Fix stacktraces in deno_ns
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -321,6 +321,11 @@ run_node("bundle") { } source_set("libdeno_nosnapshot") { + bundle_outputs = get_target_outputs(":bundle") + bundle_location = rebase_path(bundle_outputs[0]) + bundle_rel_location = rebase_path(bundle_outputs[0], root_build_dir) + bundle_map_location = rebase_path(bundle_outputs[1]) + inputs = bundle_outputs sources = [ "src/from_filesystem.cc", ] @@ -329,9 +334,11 @@ source_set("libdeno_nosnapshot") { ":deno_bindings", ] configs += [ ":deno_config" ] - bundle_outputs = get_target_outputs(":bundle") - bundle_location = rebase_path(bundle_outputs[0]) - defines = [ "BUNDLE_LOCATION=\"$bundle_location\"" ] + defines = [ + "BUNDLE_LOCATION=\"$bundle_location\"", + "BUNDLE_REL_LOCATION=\"$bundle_rel_location\"", + "BUNDLE_MAP_LOCATION=\"$bundle_map_location\"", + ] } ts_flatbuffer("msg_ts") { |