| Index: chrome/BUILD.gn
|
| diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
|
| index 4693d6c2c23c12361d6cdf5a9ab71c65a4ec65a0..67431e3775835f280482d62400e840394ac79c6a 100644
|
| --- a/chrome/BUILD.gn
|
| +++ b/chrome/BUILD.gn
|
| @@ -425,6 +425,22 @@
|
| }
|
|
|
| if (is_win) {
|
| + # TODO(brettw) this duplicates "//chrome/common:version" which applies to
|
| + # Linux.
|
| + process_version("version_header") {
|
| + # TODO(brettW) this should have more reduced visibility, but chrome/browser
|
| + # currently depends on this.
|
| + #visibility = [ ":*" ]
|
| +
|
| + # This one just uses the custom template and no separate sources.
|
| + sources = []
|
| + template_file = "version.h.in"
|
| +
|
| + # TODO(brettw) this should move to $target_gen_dir/version.h and
|
| + # source files including it should reference it via "chrome/version.h"
|
| + output = "$root_gen_dir/version.h"
|
| + }
|
| +
|
| process_version("chrome_exe_version") {
|
| template_file = chrome_version_rc_template
|
| sources = [
|
|
|