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

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

Issue 2169973002: Add bundle_deps to ios_{app,framework}_bundle templates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios-app-bundle-executable
Patch Set: Fix compilation of fat builds. Created 4 years, 5 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
« no previous file with comments | « build/config/mac/base_rules.gni ('k') | testing/test.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/version.gni") 9 import("//build/util/version.gni")
10 import("//chrome/version.gni") 10 import("//chrome/version.gni")
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 # Compile plist into |output_name|. 64 # Compile plist into |output_name|.
65 ios_info_plist("compile_cronet_plist") { 65 ios_info_plist("compile_cronet_plist") {
66 executable_name = "Cronet" 66 executable_name = "Cronet"
67 output_name = "$target_gen_dir/Info.plist" 67 output_name = "$target_gen_dir/Info.plist"
68 info_plist_target = ":tweak_cronet_plist" 68 info_plist_target = ":tweak_cronet_plist"
69 } 69 }
70 70
71 # Bundle plist into Cronet.Framework. 71 # Bundle plist into Cronet.Framework.
72 bundle_data("cronet_info_plist") { 72 bundle_data("cronet_info_plist") {
73 deps = [ 73 public_deps = [
74 ":compile_cronet_plist", 74 ":compile_cronet_plist",
75 ] 75 ]
76 76
77 sources = [ 77 sources = [
78 "$target_gen_dir/Info.plist", 78 "$target_gen_dir/Info.plist",
79 ] 79 ]
80 outputs = [ 80 outputs = [
81 "{{bundle_root_dir}}/Info.plist", 81 "{{bundle_root_dir}}/Info.plist",
82 ] 82 ]
83 } 83 }
84 84
85 ios_framework_bundle("cronet_framework") { 85 ios_framework_bundle("cronet_framework") {
86 output_name = "Cronet" 86 output_name = "Cronet"
87 87
88 deps = [ 88 deps = [
89 ":compile_cronet_plist",
90 ":cronet_info_plist",
91 ":cronet_sources", 89 ":cronet_sources",
92 "//base", 90 "//base",
93 "//net:net", 91 "//net:net",
94 ] 92 ]
95 93
94 bundle_deps = [ ":cronet_info_plist" ]
95
96 libs = [ "UIKit.Framework" ] 96 libs = [ "UIKit.Framework" ]
97 97
98 public_headers = [ 98 public_headers = [
99 "Cronet.h", 99 "Cronet.h",
100 "cronet_c_for_grpc.h", 100 "cronet_c_for_grpc.h",
101 ] 101 ]
102 102
103 sources = [ 103 sources = [
104 "Cronet.h", 104 "Cronet.h",
105 "Cronet.mm", 105 "Cronet.mm",
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 ] 193 ]
194 } 194 }
195 195
196 group("cronet_package") { 196 group("cronet_package") {
197 deps = [ 197 deps = [
198 ":cronet_package_copy", 198 ":cronet_package_copy",
199 ":generate_license", 199 ":generate_license",
200 ] 200 ]
201 } 201 }
202 } 202 }
OLDNEW
« no previous file with comments | « build/config/mac/base_rules.gni ('k') | testing/test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698