| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/ios/rules.gni") | 6 import("//build/config/ios/rules.gni") |
| 7 import("//build/config/mac/symbols.gni") | 7 import("//build/config/mac/symbols.gni") |
| 8 import("//build/mac/tweak_info_plist.gni") | 8 import("//build/mac/tweak_info_plist.gni") |
| 9 import("//build/util/process_version.gni") | 9 import("//build/util/process_version.gni") |
| 10 import("//build/util/version.gni") | 10 import("//build/util/version.gni") |
| 11 import("//components/grpc_support/include/headers.gni") | 11 import("//components/grpc_support/include/headers.gni") |
| 12 import("//testing/test.gni") | 12 import("//testing/test.gni") |
| 13 import("//url/features.gni") | 13 import("//url/features.gni") |
| 14 | 14 |
| 15 assert(!is_component_build, "Cronet requires static library build.") | 15 assert(!is_component_build, "Cronet requires static library build.") |
| 16 | 16 |
| 17 declare_args() { | |
| 18 cronet_enable_data_reduction_proxy_support = false | |
| 19 } | |
| 20 | |
| 21 process_version("cronet_version_header") { | 17 process_version("cronet_version_header") { |
| 22 template_file = "//components/cronet/version.h.in" | 18 template_file = "//components/cronet/version.h.in" |
| 23 sources = [ | 19 sources = [ |
| 24 "//chrome/VERSION", | 20 "//chrome/VERSION", |
| 25 ] | 21 ] |
| 26 output = "$target_gen_dir/version.h" | 22 output = "$target_gen_dir/version.h" |
| 27 extra_args = [ | 23 extra_args = [ |
| 28 "-e", | 24 "-e", |
| 29 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", | 25 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", |
| 30 ] | 26 ] |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 } | 202 } |
| 207 | 203 |
| 208 group("cronet_package") { | 204 group("cronet_package") { |
| 209 deps = [ | 205 deps = [ |
| 210 ":cronet_dsym_archive", | 206 ":cronet_dsym_archive", |
| 211 ":cronet_package_copy", | 207 ":cronet_package_copy", |
| 212 ":generate_license", | 208 ":generate_license", |
| 213 ] | 209 ] |
| 214 } | 210 } |
| 215 } | 211 } |
| OLD | NEW |