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: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 bundle_deps = [ "//components/cronet/ios:cronet_framework+bundle" ] | 27 bundle_deps = [ "//components/cronet/ios:cronet_framework+bundle" ] |
28 | 28 |
29 configs += [ "//build/config/compiler:enable_arc" ] | 29 configs += [ "//build/config/compiler:enable_arc" ] |
30 } | 30 } |
OLD | NEW |