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

Unified Diff: chrome/tools/disable_outdated_build_detector/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/tools/disable_outdated_build_detector/BUILD.gn
diff --git a/chrome/tools/disable_outdated_build_detector/BUILD.gn b/chrome/tools/disable_outdated_build_detector/BUILD.gn
index 7a8eedb19d845b0cb95df5b992764057b96b97d8..222536e4e8034ba3f48ae77ebeec8c4974e63a9f 100644
--- a/chrome/tools/disable_outdated_build_detector/BUILD.gn
+++ b/chrome/tools/disable_outdated_build_detector/BUILD.gn
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//chrome/version.gni")
+import("//build/util/process_version.gni")
import("//testing/test.gni")
if (is_win) {
@@ -37,7 +37,7 @@ if (is_win) {
]
}
- process_version("disable_outdated_build_detector_exe_version") {
+ process_version_rc_template("disable_outdated_build_detector_exe_version") {
template_file = "disable_outdated_build_detector_exe_version.rc.version"
output = "$target_gen_dir/disable_outdated_build_detector_exe_version.rc"
}

Powered by Google App Engine
This is Rietveld 408576698