| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 } | 50 } |
| 51 } | 51 } |
| 52 | 52 |
| 53 common_tmpl("common") { | 53 common_tmpl("common") { |
| 54 deps = [ | 54 deps = [ |
| 55 "//net", | 55 "//net", |
| 56 "//url", | 56 "//url", |
| 57 ] | 57 ] |
| 58 } | 58 } |
| 59 | 59 |
| 60 source_set("test_support") { | 60 static_library("test_support") { |
| 61 testonly = true | 61 testonly = true |
| 62 sources = [ | 62 sources = [ |
| 63 "data_reduction_proxy_event_storage_delegate_test_utils.cc", | 63 "data_reduction_proxy_event_storage_delegate_test_utils.cc", |
| 64 "data_reduction_proxy_event_storage_delegate_test_utils.h", | 64 "data_reduction_proxy_event_storage_delegate_test_utils.h", |
| 65 "data_reduction_proxy_headers_test_utils.cc", | 65 "data_reduction_proxy_headers_test_utils.cc", |
| 66 "data_reduction_proxy_headers_test_utils.h", | 66 "data_reduction_proxy_headers_test_utils.h", |
| 67 "data_reduction_proxy_params_test_utils.cc", | 67 "data_reduction_proxy_params_test_utils.cc", |
| 68 "data_reduction_proxy_params_test_utils.h", | 68 "data_reduction_proxy_params_test_utils.h", |
| 69 ] | 69 ] |
| 70 | 70 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 } | 106 } |
| 107 | 107 |
| 108 process_version("version_header") { | 108 process_version("version_header") { |
| 109 template_file = "version.h.in" | 109 template_file = "version.h.in" |
| 110 output = "$target_gen_dir/version.h" | 110 output = "$target_gen_dir/version.h" |
| 111 extra_args = [ | 111 extra_args = [ |
| 112 "-e", | 112 "-e", |
| 113 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", | 113 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", |
| 114 ] | 114 ] |
| 115 } | 115 } |
| OLD | NEW |