| 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 28 matching lines...) Expand all Loading... |
| 39 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", | 39 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", |
| 40 "//components/variations", | 40 "//components/variations", |
| 41 ] | 41 ] |
| 42 | 42 |
| 43 if (defined(invoker.deps)) { | 43 if (defined(invoker.deps)) { |
| 44 deps += invoker.deps | 44 deps += invoker.deps |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 } | 47 } |
| 48 | 48 |
| 49 if (is_android) { | |
| 50 common_tmpl("common_small") { | |
| 51 deps = [ | |
| 52 "//net:net_small", | |
| 53 "//url:url_lib_use_icu_alternatives_on_android", | |
| 54 ] | |
| 55 } | |
| 56 } | |
| 57 | |
| 58 common_tmpl("common") { | 49 common_tmpl("common") { |
| 59 deps = [ | 50 deps = [ |
| 60 "//net", | 51 "//net", |
| 61 "//url", | 52 "//url", |
| 62 ] | 53 ] |
| 63 } | 54 } |
| 64 | 55 |
| 65 source_set("test_support") { | 56 source_set("test_support") { |
| 66 testonly = true | 57 testonly = true |
| 67 sources = [ | 58 sources = [ |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 } | 102 } |
| 112 | 103 |
| 113 process_version("version_header") { | 104 process_version("version_header") { |
| 114 template_file = "version.h.in" | 105 template_file = "version.h.in" |
| 115 output = "$target_gen_dir/version.h" | 106 output = "$target_gen_dir/version.h" |
| 116 extra_args = [ | 107 extra_args = [ |
| 117 "-e", | 108 "-e", |
| 118 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", | 109 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", |
| 119 ] | 110 ] |
| 120 } | 111 } |
| OLD | NEW |