diff options
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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) ] +} |