Chromium Code Reviews| OLD | NEW |
|---|---|
| 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/sanitizers:deps", | 16 "//build/config/sanitizers: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" ] | |
| 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") { | |
|
kapishnikov
2017/05/17 16:02:49
It looks that "cronet_consumer" & "cronet_consumer
mef
2017/05/19 18:07:59
Good idea. I'll try that in the next patch.
mef
2017/05/22 15:12:30
Done.
| |
| 35 info_plist = "cronet-consumer-Info.plist" | |
| 36 | |
| 37 deps = [ | |
| 38 "//base:base", | |
| 39 "//components/cronet/ios:lib_cronet", | |
| 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 } | |
| OLD | NEW |