summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-08-26 01:38:23 +0200
committerBert Belder <bertbelder@gmail.com>2018-08-26 18:27:23 +0200
commit79f60f67319fb5bb52923e6a6b1122a93025ebbf (patch)
tree0a09903f775616cd188c293acdf96dab379ed807 /BUILD.gn
parent26707446fc83a6f6c7152153db43db4152698f58 (diff)
build: do not bake absolute paths into deno_ns
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn6
1 files changed, 2 insertions, 4 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 5bb2d2ef2..9e996d9ff 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -243,9 +243,8 @@ 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])
+ bundle_location = rebase_path(bundle_outputs[0], root_build_dir)
+ bundle_map_location = rebase_path(bundle_outputs[1], root_build_dir)
inputs = bundle_outputs
sources = [
"libdeno/from_filesystem.cc",
@@ -257,7 +256,6 @@ source_set("libdeno_nosnapshot") {
configs += [ ":deno_config" ]
defines = [
"BUNDLE_LOCATION=\"$bundle_location\"",
- "BUNDLE_REL_LOCATION=\"$bundle_rel_location\"",
"BUNDLE_MAP_LOCATION=\"$bundle_map_location\"",
]
}