summaryrefslogtreecommitdiff
path: root/deno2/BUILD.gn
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-06-12 06:36:01 +0200
committerRyan Dahl <ry@tinyclouds.org>2018-06-12 17:26:18 +0200
commit7784cc2c1537a23b8b8ffa634b1a9b1ddf88886a (patch)
tree9c9d1de258b586e7fe866b8a4085cecf9fda430a /deno2/BUILD.gn
parentdd48f8095c3357e6ec0e66042141c4e342707da5 (diff)
Fix protobufjs snapshotting.
Diffstat (limited to 'deno2/BUILD.gn')
-rw-r--r--deno2/BUILD.gn5
1 files changed, 4 insertions, 1 deletions
diff --git a/deno2/BUILD.gn b/deno2/BUILD.gn
index ef4336e07..58859293f 100644
--- a/deno2/BUILD.gn
+++ b/deno2/BUILD.gn
@@ -98,7 +98,7 @@ run_node("bundle") {
run_node("run_tsc") {
main_source = "js/main.ts"
sources = [
- "js/msg.pb.d.ts",
+ #"js/msg.pb.d.ts",
"js/msg.pb.js",
"js/tsconfig.json",
main_source,
@@ -178,6 +178,9 @@ template("create_snapshot") {
rebase_path(natives_out_cc, root_build_dir),
rebase_path(snapshot_out_cc, root_build_dir),
]
+
+ # To debug snapshotting problems:
+ # args += ["--trace-serializer"]
data = [
invoker.js,
]