Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Unified Diff: components/version_info/BUILD.gn

Issue 2308313003: gn: Generalize process_version() and move it to build/util (Closed)
Patch Set: Move branding_file_path to chrome/process_version_rc_template.gni Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/data_reduction_proxy/core/common/BUILD.gn ('k') | extensions/shell/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
}
« no previous file with comments | « components/data_reduction_proxy/core/common/BUILD.gn ('k') | extensions/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698