summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-08-10 15:09:28 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-08-11 09:02:07 -0700
commitc7ce450ee97497944756b6af60034521953431fc (patch)
tree6ff922c90d067f0e2bd3cd0fd7ef42dbe66c1bd1 /BUILD.gn
parent89eee51f07f5b1689022c84a7d50d9158eaf9cd6 (diff)
Rename mock_runtime_test to libdeno_test
Fixes #465
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn18
1 files changed, 9 insertions, 9 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 32d1b527c..e989ed908 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -161,7 +161,7 @@ static_library("libdeno") {
configs += [ ":deno_config" ]
}
-# Only functionality needed for mock_runtime_test and snapshot_creator
+# Only functionality needed for libdeno_test and snapshot_creator
# In particular no flatbuffers, no assets, no rust, no msg handlers.
# Because snapshots are slow, it's important that snapshot_creator's
# dependencies are minimal.
@@ -184,17 +184,17 @@ v8_source_set("deno_base_test") {
sources = [
"src/file_util_test.cc",
"src/from_snapshot.cc",
- "src/mock_runtime_test.cc",
+ "src/libdeno_test.cc",
]
inputs = [
- "$target_gen_dir/snapshot_mock_runtime.bin",
+ "$target_gen_dir/snapshot_libdeno_test.bin",
]
deps = [
- ":create_snapshot_mock_runtime",
+ ":create_snapshot_libdeno_test",
":deno_base",
"//testing/gtest:gtest",
]
- defines = [ "DENO_MOCK_RUNTIME" ]
+ defines = [ "LIBDENO_TEST" ]
configs = [ ":deno_config" ]
}
@@ -353,7 +353,7 @@ rust_flatbuffer("msg_rs") {
]
}
-# Generates $target_gen_dir/snapshot_deno.cc
+# Generates $target_gen_dir/snapshot_deno.bin
create_snapshot("deno") {
js = "$target_gen_dir/bundle/main.js"
source_map = "$target_gen_dir/bundle/main.js.map"
@@ -362,8 +362,8 @@ create_snapshot("deno") {
]
}
-# Generates $target_gen_dir/snapshot_mock_runtime.cc
-create_snapshot("mock_runtime") {
+# Generates $target_gen_dir/snapshot_libdeno_test.bin
+create_snapshot("libdeno_test") {
testonly = true
- js = "js/mock_runtime.js"
+ js = "js/libdeno_test.js"
}