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 966057c455dd82796d8516e7b42c88d115dac48c..47d3cd304100f97ea9fae67ae1253fae59ac2dcb 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" ] |
|
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
|
| + |
| bundle_deps = [ "//components/cronet/ios:cronet_framework+bundle" ] |
| configs += [ "//build/config/compiler:enable_arc" ] |
| } |
| + |
| +ios_app_bundle("cronet_consumer_static") { |
| + info_plist = "cronet-consumer-Info.plist" |
| + |
| + deps = [ |
| + "//base:base", |
| + "//components/cronet/ios:cronet_hide", |
| + |
| + # 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" ] |
| +} |