summaryrefslogtreecommitdiff
path: root/libdeno/BUILD.gn
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-12-01 01:53:37 -0500
committerRyan Dahl <ry@tinyclouds.org>2018-12-03 13:44:21 -0800
commitb39f4c146e7c13a7489e37b315a86e1a4a03a1a8 (patch)
treeb943a4c19d57ee581c8efcc16b633754a4a34927 /libdeno/BUILD.gn
parentf727214db0677ebc31e0988287c71c517a858193 (diff)
gn snapshot template's target_name should be target
Diffstat (limited to 'libdeno/BUILD.gn')
-rw-r--r--libdeno/BUILD.gn8
1 files changed, 4 insertions, 4 deletions
diff --git a/libdeno/BUILD.gn b/libdeno/BUILD.gn
index 652369718..47971ee01 100644
--- a/libdeno/BUILD.gn
+++ b/libdeno/BUILD.gn
@@ -83,20 +83,20 @@ v8_executable("test_cc") {
"test.cc",
]
deps = [
- ":create_snapshot_libdeno_test",
":libdeno",
+ ":snapshot_test",
"//testing/gtest:gtest",
]
data = [
- "$target_gen_dir/snapshot_libdeno_test.bin",
+ "$target_gen_dir/snapshot_test.bin",
]
snapshot_path = rebase_path(data[0], root_build_dir)
defines = [ "SNAPSHOT_PATH=\"$snapshot_path\"" ]
configs = [ ":deno_config" ]
}
-# Generates $target_gen_dir/snapshot_libdeno_test.bin
-create_snapshot("libdeno_test") {
+# Generates $target_gen_dir/snapshot_test.bin
+snapshot("snapshot_test") {
testonly = true
js = "libdeno_test.js"
}