diff options
| author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-03-02 09:33:28 +0900 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-01 19:33:28 -0500 |
| commit | a7bb8ccce85c6e8bd619cce32d34a5d372ef85b7 (patch) | |
| tree | b42939351072d2063f4ca0756ac638ed9531880d /BUILD.gn | |
| parent | 8c310d3d56c6b1bc67ee81d8c5ea9b20abee8088 (diff) | |
Add Deno.version.gnArgs (#1845)
To display specific build args passed to GN.
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) ] +} |
