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

Unified Diff: chrome/installer/linux/BUILD.gn

Issue 2308313003: gn: Generalize process_version() and move it to build/util (Closed)
Patch Set: Fix chromecast 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
Index: chrome/installer/linux/BUILD.gn
diff --git a/chrome/installer/linux/BUILD.gn b/chrome/installer/linux/BUILD.gn
index 9b71c46fcdfb257373e1b80ea232c498b76d1da3..2c75891a38341301db4cfb81a2dbd1246eb9cb81 100644
--- a/chrome/installer/linux/BUILD.gn
+++ b/chrome/installer/linux/BUILD.gn
@@ -5,8 +5,8 @@
import("//build/config/chrome_build.gni")
import("//build/config/features.gni")
import("//build/config/sanitizers/sanitizers.gni")
+import("//build/util/process_version.gni")
import("//build/util/version.gni")
-import("//chrome/version.gni")
if (current_cpu == "x86" || current_cpu == "x64") {
import("//media/cdm/ppapi/cdm_paths.gni")
@@ -150,6 +150,10 @@ if (!is_chromeos) {
process_version("save_build_info") {
# Just output the default version info variables (no template).
process_only = true
+ sources = [
+ "//chrome/VERSION",
+ branding_file_path,
+ ]
output = "$root_out_dir/installer/version.txt"
}

Powered by Google App Engine
This is Rietveld 408576698