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

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

Issue 2807283002: [Cronet] Build static libcronet.a for iOS with complete dependencies. (Closed)
Patch Set: Workaround i386 debug failure by using input library without dependencies. Created 3 years, 7 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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/config/ios/rules.gni") 5 import("//build/config/ios/rules.gni")
6 6
7 ios_app_bundle("cronet_consumer") { 7 ios_app_bundle("cronet_consumer") {
8 info_plist = "cronet-consumer-Info.plist" 8 info_plist = "cronet-consumer-Info.plist"
9 9
10 deps = [ 10 deps = [
11 "//base:base", 11 "//base:base",
12 "//components/cronet/ios:cronet_framework+link", 12 "//components/cronet/ios:cronet_framework+link",
13 13
14 # All shared libraries must have the sanitizer deps to properly link in 14 # All shared libraries must have the sanitizer deps to properly link in
15 # asan mode (this target will be empty in other cases). 15 # asan mode (this target will be empty in other cases).
16 "//build/config:exe_and_shlib_deps", 16 "//build/config:exe_and_shlib_deps",
17 ] 17 ]
18 18
19 sources = [ 19 sources = [
20 "cronet_consumer_app_delegate.h", 20 "cronet_consumer_app_delegate.h",
21 "cronet_consumer_app_delegate.mm", 21 "cronet_consumer_app_delegate.mm",
22 "cronet_consumer_view_controller.h", 22 "cronet_consumer_view_controller.h",
23 "cronet_consumer_view_controller.m", 23 "cronet_consumer_view_controller.m",
24 "main.mm", 24 "main.mm",
25 ] 25 ]
26 26
27 include_dirs = [ "//components/grpc_support/include" ]
Robert Sesek 2017/05/19 20:01:41 If all cronet consumers will need this include_dir
mef 2017/05/22 15:12:30 Ideally those headers will come from Cronet[Static
28
27 bundle_deps = [ "//components/cronet/ios:cronet_framework+bundle" ] 29 bundle_deps = [ "//components/cronet/ios:cronet_framework+bundle" ]
28 30
29 configs += [ "//build/config/compiler:enable_arc" ] 31 configs += [ "//build/config/compiler:enable_arc" ]
30 } 32 }
33
34 ios_app_bundle("cronet_consumer_static") {
35 info_plist = "cronet-consumer-Info.plist"
36
37 deps = [
38 "//base:base",
39 "//components/cronet/ios:cronet_hide",
40
41 # All shared libraries must have the sanitizer deps to properly link in
42 # asan mode (this target will be empty in other cases).
43 "//build/config/sanitizers:deps",
44 ]
45
46 sources = [
47 "cronet_consumer_app_delegate.h",
48 "cronet_consumer_app_delegate.mm",
49 "cronet_consumer_view_controller.h",
50 "cronet_consumer_view_controller.m",
51 "main.mm",
52 ]
53
54 include_dirs = [ "//components/grpc_support/include" ]
55
56 configs += [ "//build/config/compiler:enable_arc" ]
57 }
OLDNEW
« no previous file with comments | « components/cronet/ios/BUILD.gn ('k') | components/cronet/ios/cronet_consumer/cronet_consumer_app_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698