summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn12
1 files changed, 12 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 4e7ab41ad..6c2528704 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -221,6 +221,10 @@ bundle("main_bundle") {
deps = [
":deno_runtime_declaration",
":msg_ts",
+ ":write_gn_args",
+ ]
+ data = [
+ "$target_gen_dir/gn_args.txt",
]
}
@@ -260,3 +264,11 @@ snapshot("snapshot_compiler") {
":compiler_bundle",
]
}
+
+action("write_gn_args") {
+ script = "//tools/write_gn_args.py"
+ outputs = [
+ "$target_gen_dir/gn_args.txt",
+ ]
+ args = [ rebase_path(outputs[0], root_build_dir) ]
+}