Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: components/cronet/ios/BUILD.gn

Issue 2338093003: Revert of gn: Generalize process_version() and move it to build/util (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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")
10 import("//build/util/version.gni") 9 import("//build/util/version.gni")
10 import("//chrome/version.gni")
11 import("//testing/test.gni") 11 import("//testing/test.gni")
12 import("//url/features.gni") 12 import("//url/features.gni")
13 13
14 assert(!is_component_build, "Cronet requires static library build.") 14 assert(!is_component_build, "Cronet requires static library build.")
15 15
16 declare_args() { 16 declare_args() {
17 cronet_enable_data_reduction_proxy_support = false 17 cronet_enable_data_reduction_proxy_support = false
18 } 18 }
19 19
20 process_version("cronet_version_header") { 20 process_version("cronet_version_header") {
21 template_file = "//components/cronet/version.h.in" 21 template_file = "//components/cronet/version.h.in"
22 sources = [
23 "//chrome/VERSION",
24 ]
25 output = "$target_gen_dir/version.h" 22 output = "$target_gen_dir/version.h"
26 extra_args = [ 23 extra_args = [
27 "-e", 24 "-e",
28 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)", 25 "VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)",
29 ] 26 ]
30 } 27 }
31 28
32 source_set("cronet_sources") { 29 source_set("cronet_sources") {
33 deps = [ 30 deps = [
34 ":cronet_version_header", 31 ":cronet_version_header",
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 ] 180 ]
184 } 181 }
185 182
186 group("cronet_package") { 183 group("cronet_package") {
187 deps = [ 184 deps = [
188 ":cronet_package_copy", 185 ":cronet_package_copy",
189 ":generate_license", 186 ":generate_license",
190 ] 187 ]
191 } 188 }
192 } 189 }
OLDNEW
« no previous file with comments | « components/cronet/android/BUILD.gn ('k') | components/data_reduction_proxy/core/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698