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

Unified Diff: components/version_info/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: components/version_info/BUILD.gn
diff --git a/components/version_info/BUILD.gn b/components/version_info/BUILD.gn
index 7e0281a285c6b3c808fd910ec406bb86484da684..91375f95778ed74b380946b4279aec021fa5bacf 100644
--- a/components/version_info/BUILD.gn
+++ b/components/version_info/BUILD.gn
@@ -3,7 +3,7 @@
# found in the LICENSE file.
import("//build/config/chrome_build.gni")
-import("//chrome/version.gni")
+import("//build/util/process_version.gni")
declare_args() {
use_unofficial_version_number = !is_chrome_branded
@@ -29,5 +29,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"
}

Powered by Google App Engine
This is Rietveld 408576698