summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
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 cc9850778..039909893 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -197,8 +197,8 @@ v8_executable("test_cc") {
data = [
"$target_gen_dir/snapshot_libdeno_test.bin",
]
- snapshot_abs_path = rebase_path(data[0])
- defines = [ "SNAPSHOT_PATH=\"$snapshot_abs_path\"" ]
+ snapshot_path = rebase_path(data[0], root_build_dir)
+ defines = [ "SNAPSHOT_PATH=\"$snapshot_path\"" ]
configs = [ ":deno_config" ]
}