OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/ios/rules.gni") |
| 6 |
| 7 ios_app_bundle("cronet_sample_static") { |
| 8 info_plist = "cronet-sample-Info.plist" |
| 9 |
| 10 deps = [ |
| 11 "//base", |
| 12 |
| 13 # "//components/cronet/ios:cronet_static", |
| 14 "//components/cronet/ios:lib_cronet", |
| 15 |
| 16 # All shared libraries must have the sanitizer deps to properly link in |
| 17 # asan mode (this target will be empty in other cases). |
| 18 "//build/config/sanitizers:deps", |
| 19 ] |
| 20 |
| 21 sources = [ |
| 22 "cronet_sample_app_delegate.h", |
| 23 "cronet_sample_app_delegate.mm", |
| 24 "cronet_sample_view_controller.h", |
| 25 "cronet_sample_view_controller.m", |
| 26 "main.mm", |
| 27 ] |
| 28 |
| 29 include_dirs = [ "//components/grpc_support/include" ] |
| 30 |
| 31 # bundle_deps = [ "//ios/crnet:crnet_framework+bundle" ] |
| 32 |
| 33 configs += [ "//build/config/compiler:enable_arc" ] |
| 34 } |
| 35 |
| 36 ios_app_bundle("cronet_sample") { |
| 37 info_plist = "cronet-sample-Info.plist" |
| 38 |
| 39 deps = [ |
| 40 "//base", |
| 41 "//components/cronet/ios:cronet_framework+link", |
| 42 |
| 43 # All shared libraries must have the sanitizer deps to properly link in |
| 44 # asan mode (this target will be empty in other cases). |
| 45 "//build/config/sanitizers:deps", |
| 46 ] |
| 47 |
| 48 sources = [ |
| 49 "cronet_sample_app_delegate.h", |
| 50 "cronet_sample_app_delegate.mm", |
| 51 "cronet_sample_view_controller.h", |
| 52 "cronet_sample_view_controller.m", |
| 53 "main.mm", |
| 54 ] |
| 55 |
| 56 include_dirs = [ "//components/grpc_support/include" ] |
| 57 |
| 58 bundle_deps = [ "//components/cronet/ios:cronet_framework+bundle" ] |
| 59 |
| 60 configs += [ "//build/config/compiler:enable_arc" ] |
| 61 } |
OLD | NEW |