OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("ios_web_shell") { | 7 ios_app_bundle("ios_web_shell") { |
8 info_plist = "Info.plist" | 8 info_plist = "Info.plist" |
9 | 9 |
10 sources = [ | 10 sources = [ |
11 "web_exe_main.mm", | 11 "web_exe_main.mm", |
12 ] | 12 ] |
13 | 13 |
14 deps = [ | 14 deps = [ |
15 ":shell", | 15 ":shell", |
16 | 16 |
17 # All shared libraries must have the sanitizer deps to properly link in | 17 # All shared libraries must have the sanitizer deps to properly link in |
18 # asan mode (this target will be empty in other cases). | 18 # asan mode (this target will be empty in other cases). |
19 "//build/config/sanitizers:deps", | 19 "//build/config/sanitizers:deps", |
20 ] | 20 ] |
21 | 21 |
22 ldflags = [ | 22 ldflags = [ |
23 "-Xlinker", | 23 "-Xlinker", |
24 "-objc_abi_version", | 24 "-objc_abi_version", |
25 "-Xlinker", | 25 "-Xlinker", |
26 "2", | 26 "2", |
27 ] | 27 ] |
| 28 |
| 29 configs += [ "//build/config/compiler:enable_arc" ] |
28 } | 30 } |
29 | 31 |
30 bundle_data_xib("main_view_bundle_data") { | 32 bundle_data_xib("main_view_bundle_data") { |
31 visibility = [ ":shell" ] | 33 visibility = [ ":shell" ] |
32 source = "MainView.xib" | 34 source = "MainView.xib" |
33 } | 35 } |
34 | 36 |
35 bundle_data("shell_bundle_data") { | 37 bundle_data("shell_bundle_data") { |
36 visibility = [ ":shell" ] | 38 visibility = [ ":shell" ] |
37 sources = [ | 39 sources = [ |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 "//net:extras", | 79 "//net:extras", |
78 "//ui/base", | 80 "//ui/base", |
79 ] | 81 ] |
80 | 82 |
81 libs = [ | 83 libs = [ |
82 "CoreGraphics.framework", | 84 "CoreGraphics.framework", |
83 "CoreFoundation.framework", | 85 "CoreFoundation.framework", |
84 "Foundation.framework", | 86 "Foundation.framework", |
85 "UIKit.framework", | 87 "UIKit.framework", |
86 ] | 88 ] |
| 89 |
| 90 configs += [ "//build/config/compiler:enable_arc" ] |
87 } | 91 } |
OLD | NEW |