diff options
Diffstat (limited to 'build/util/process_version.gni')
-rw-r--r-- | build/util/process_version.gni | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/util/process_version.gni b/build/util/process_version.gni index cd9671ccd..90d921e4c 100644 --- a/build/util/process_version.gni +++ b/build/util/process_version.gni @@ -40,6 +40,9 @@ import("//build/util/lastchange.gni") # doesn't attempt to link the result into a source set. This is for if # you are processing the version as data only. # +# executable (optional, defaults to false) +# Sets the executable bit on the output file (POSIX only). +# # visibility (optional) # # Example: @@ -92,6 +95,10 @@ template("process_version") { } } + if (defined(invoker.executable) && invoker.executable) { + args += [ "-x" ] + } + if (defined(invoker.extra_args)) { args += invoker.extra_args } |