diff options
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") { |