diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-12-01 01:53:37 -0500 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-12-03 13:44:21 -0800 |
| commit | b39f4c146e7c13a7489e37b315a86e1a4a03a1a8 (patch) | |
| tree | b943a4c19d57ee581c8efcc16b633754a4a34927 /libdeno/BUILD.gn | |
| parent | f727214db0677ebc31e0988287c71c517a858193 (diff) | |
gn snapshot template's target_name should be target
Diffstat (limited to 'libdeno/BUILD.gn')
| -rw-r--r-- | libdeno/BUILD.gn | 8 |
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" } |
