Chromium Code Reviews| Index: components/cronet/ios/cronet_consumer/BUILD.gn |
| diff --git a/components/cronet/ios/cronet_consumer/BUILD.gn b/components/cronet/ios/cronet_consumer/BUILD.gn |
| index 4ad4358eaf4b0544907e7d52debc9420c27aee80..533b97151ace0d6ba6d6f619f55238117b2e9982 100644 |
| --- a/components/cronet/ios/cronet_consumer/BUILD.gn |
| +++ b/components/cronet/ios/cronet_consumer/BUILD.gn |
| @@ -24,7 +24,34 @@ ios_app_bundle("cronet_consumer") { |
| "main.mm", |
| ] |
| + include_dirs = [ "//components/grpc_support/include" ] |
| + |
| bundle_deps = [ "//components/cronet/ios:cronet_framework+bundle" ] |
| configs += [ "//build/config/compiler:enable_arc" ] |
| } |
| + |
| +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.
|
| + info_plist = "cronet-consumer-Info.plist" |
| + |
| + deps = [ |
| + "//base:base", |
| + "//components/cronet/ios:lib_cronet", |
| + |
| + # All shared libraries must have the sanitizer deps to properly link in |
| + # asan mode (this target will be empty in other cases). |
| + "//build/config/sanitizers:deps", |
| + ] |
| + |
| + sources = [ |
| + "cronet_consumer_app_delegate.h", |
| + "cronet_consumer_app_delegate.mm", |
| + "cronet_consumer_view_controller.h", |
| + "cronet_consumer_view_controller.m", |
| + "main.mm", |
| + ] |
| + |
| + include_dirs = [ "//components/grpc_support/include" ] |
| + |
| + configs += [ "//build/config/compiler:enable_arc" ] |
| +} |