| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/util/process_version.gni") | 6 import("//build/util/process_version.gni") |
| 7 import("//chrome/process_version_rc_template.gni") # For branding_file_path. | 7 import("//build/util/process_version_rc_template.gni") |
| 8 | 8 |
| 9 declare_args() { | 9 declare_args() { |
| 10 use_unofficial_version_number = !is_chrome_branded | 10 use_unofficial_version_number = !is_chrome_branded |
| 11 } | 11 } |
| 12 | 12 |
| 13 static_library("version_info") { | 13 static_library("version_info") { |
| 14 sources = [ | 14 sources = [ |
| 15 "version_info.cc", | 15 "version_info.cc", |
| 16 "version_info.h", | 16 "version_info.h", |
| 17 ] | 17 ] |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 process_version("generate_version_info") { | 55 process_version("generate_version_info") { |
| 56 template_file = "version_info_values.h.version" | 56 template_file = "version_info_values.h.version" |
| 57 sources = [ | 57 sources = [ |
| 58 "//build/util/LASTCHANGE", | 58 "//build/util/LASTCHANGE", |
| 59 "//chrome/VERSION", | 59 "//chrome/VERSION", |
| 60 branding_file_path, | 60 branding_file_path, |
| 61 ] | 61 ] |
| 62 output = "$target_gen_dir/version_info_values.h" | 62 output = "$target_gen_dir/version_info_values.h" |
| 63 } | 63 } |
| OLD | NEW |