| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |