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

Side by Side Diff: components/data_reduction_proxy/core/common/BUILD.gn

Issue 2103223002: Adding version info to the client config request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removing leftover headers Created 4 years, 5 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
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("//chrome/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 source_set(target_name) { 10 source_set(target_name) {
(...skipping 21 matching lines...) Expand all
32 "lofi_ui_service.h", 32 "lofi_ui_service.h",
33 ] 33 ]
34 34
35 public_deps = [ 35 public_deps = [
36 ":version_header", 36 ":version_header",
37 ] 37 ]
38 deps = [ 38 deps = [
39 "//base", 39 "//base",
40 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", 40 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
41 "//components/variations", 41 "//components/variations",
42 "//components/version_info",
42 "//google_apis", 43 "//google_apis",
43 ] 44 ]
44 45
45 defines = [ "USE_GOOGLE_API_KEYS" ] 46 defines = [ "USE_GOOGLE_API_KEYS" ]
46 47
47 if (defined(invoker.deps)) { 48 if (defined(invoker.deps)) {
48 deps += invoker.deps 49 deps += invoker.deps
49 } 50 }
50 } 51 }
51 } 52 }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 } 107 }
107 108
108 process_version("version_header") { 109 process_version("version_header") {
109 template_file = "version.h.in" 110 template_file = "version.h.in"
110 output = "$target_gen_dir/version.h" 111 output = "$target_gen_dir/version.h"
111 extra_args = [ 112 extra_args = [
112 "-e", 113 "-e",
113 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", 114 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)",
114 ] 115 ]
115 } 116 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698