Index: components/version_info/BUILD.gn |
diff --git a/components/version_info/BUILD.gn b/components/version_info/BUILD.gn |
index 7e0281a285c6b3c808fd910ec406bb86484da684..5dbee5f87a500437865bc29d354c58145c5a1099 100644 |
--- a/components/version_info/BUILD.gn |
+++ b/components/version_info/BUILD.gn |
@@ -3,7 +3,8 @@ |
# found in the LICENSE file. |
import("//build/config/chrome_build.gni") |
-import("//chrome/version.gni") |
+import("//build/util/process_version.gni") |
+import("//chrome/process_version_rc_template.gni") # For branding_file_path. |
declare_args() { |
use_unofficial_version_number = !is_chrome_branded |
@@ -29,5 +30,10 @@ static_library("version_info") { |
process_version("generate_version_info") { |
template_file = "version_info_values.h.version" |
+ sources = [ |
+ "//build/util/LASTCHANGE", |
+ "//chrome/VERSION", |
+ branding_file_path, |
+ ] |
output = "$target_gen_dir/version_info_values.h" |
} |