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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « components/cronet/ios/BUILD.gn ('k') | components/version_info/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//chrome/version.gni") 5 import("//build/util/process_version.gni")
6 6
7 # Variables: 7 # Variables:
8 # deps: Extra dependencies. 8 # deps: Extra dependencies.
9 template("common_tmpl") { 9 template("common_tmpl") {
10 static_library(target_name) { 10 static_library(target_name) {
11 sources = [ 11 sources = [
12 "data_reduction_proxy_bypass_action_list.h", 12 "data_reduction_proxy_bypass_action_list.h",
13 "data_reduction_proxy_bypass_type_list.h", 13 "data_reduction_proxy_bypass_type_list.h",
14 "data_reduction_proxy_config_values.h", 14 "data_reduction_proxy_config_values.h",
15 "data_reduction_proxy_event_creator.cc", 15 "data_reduction_proxy_event_creator.cc",
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 "//components/data_reduction_proxy/core/browser", 102 "//components/data_reduction_proxy/core/browser",
103 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", 103 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
104 "//components/variations", 104 "//components/variations",
105 "//net:test_support", 105 "//net:test_support",
106 "//testing/gtest", 106 "//testing/gtest",
107 ] 107 ]
108 } 108 }
109 109
110 process_version("version_header") { 110 process_version("version_header") {
111 template_file = "version.h.in" 111 template_file = "version.h.in"
112 sources = [
113 "//chrome/VERSION",
114 ]
112 output = "$target_gen_dir/version.h" 115 output = "$target_gen_dir/version.h"
113 extra_args = [ 116 extra_args = [
114 "-e", 117 "-e",
115 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", 118 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)",
116 ] 119 ]
117 } 120 }
OLDNEW
« 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