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

Unified Diff: components/data_reduction_proxy/core/common/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/cronet/ios/BUILD.gn ('k') | components/version_info/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/common/BUILD.gn
diff --git a/components/data_reduction_proxy/core/common/BUILD.gn b/components/data_reduction_proxy/core/common/BUILD.gn
index d12881385d02bfa8aa0eb8e49dafd570bc381354..d829ef253f510bd2ff2fba5cb4a0def0f9ef4d15 100644
--- a/components/data_reduction_proxy/core/common/BUILD.gn
+++ b/components/data_reduction_proxy/core/common/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")
# Variables:
# deps: Extra dependencies.
@@ -109,6 +109,9 @@ source_set("unit_tests") {
process_version("version_header") {
template_file = "version.h.in"
+ sources = [
+ "//chrome/VERSION",
+ ]
output = "$target_gen_dir/version.h"
extra_args = [
"-e",
« no previous file with comments | « components/cronet/ios/BUILD.gn ('k') | components/version_info/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698