| 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 group("cronet_consumer_group") { |
| 18 deps = [ |
| 19 "//components/cronet/ios/cronet_consumer", |
| 20 ] |
| 21 } |
| 22 |
| 17 process_version("cronet_version_header") { | 23 process_version("cronet_version_header") { |
| 18 template_file = "//components/cronet/version.h.in" | 24 template_file = "//components/cronet/version.h.in" |
| 19 sources = [ | 25 sources = [ |
| 20 "//chrome/VERSION", | 26 "//chrome/VERSION", |
| 21 ] | 27 ] |
| 22 output = "$target_gen_dir/version.h" | 28 output = "$target_gen_dir/version.h" |
| 23 extra_args = [ | 29 extra_args = [ |
| 24 "-e", | 30 "-e", |
| 25 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", | 31 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", |
| 26 ] | 32 ] |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 } | 208 } |
| 203 | 209 |
| 204 group("cronet_package") { | 210 group("cronet_package") { |
| 205 deps = [ | 211 deps = [ |
| 206 ":cronet_dsym_archive", | 212 ":cronet_dsym_archive", |
| 207 ":cronet_package_copy", | 213 ":cronet_package_copy", |
| 208 ":generate_license", | 214 ":generate_license", |
| 209 ] | 215 ] |
| 210 } | 216 } |
| 211 } | 217 } |
| OLD | NEW |