| 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 import("//ios/build/config.gni") | 6 import("//ios/build/config.gni") |
| 7 | 7 |
| 8 ios_app_bundle("ios_web_shell") { | 8 ios_app_bundle("ios_web_shell") { |
| 9 info_plist = "Info.plist" | 9 info_plist = "Info.plist" |
| 10 | 10 |
| 11 sources = [ | 11 sources = [ |
| 12 "web_exe_main.mm", | 12 "web_exe_main.mm", |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 deps = [ | 15 deps = [ |
| 16 ":shell", | 16 ":shell", |
| 17 | 17 |
| 18 # All shared libraries must have the sanitizer deps to properly link in | 18 # All shared libraries must have the sanitizer deps to properly link in |
| 19 # asan mode (this target will be empty in other cases). | 19 # asan mode (this target will be empty in other cases). |
| 20 "//build/config/sanitizers:deps", | 20 "//build/config/sanitizers:deps", |
| 21 ] | 21 ] |
| 22 | 22 |
| 23 ldflags = [ | |
| 24 "-Xlinker", | |
| 25 "-objc_abi_version", | |
| 26 "-Xlinker", | |
| 27 "2", | |
| 28 ] | |
| 29 | |
| 30 configs += [ "//build/config/compiler:enable_arc" ] | 23 configs += [ "//build/config/compiler:enable_arc" ] |
| 31 | 24 |
| 32 assert_no_deps = ios_assert_no_deps | 25 assert_no_deps = ios_assert_no_deps |
| 33 } | 26 } |
| 34 | 27 |
| 35 bundle_data("shell_bundle_data") { | 28 bundle_data("shell_bundle_data") { |
| 36 visibility = [ ":shell" ] | 29 visibility = [ ":shell" ] |
| 37 sources = [ | 30 sources = [ |
| 38 "Default.png", | 31 "Default.png", |
| 39 "textfield_background@2x.png", | 32 "textfield_background@2x.png", |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 72 |
| 80 libs = [ | 73 libs = [ |
| 81 "CoreGraphics.framework", | 74 "CoreGraphics.framework", |
| 82 "CoreFoundation.framework", | 75 "CoreFoundation.framework", |
| 83 "Foundation.framework", | 76 "Foundation.framework", |
| 84 "UIKit.framework", | 77 "UIKit.framework", |
| 85 ] | 78 ] |
| 86 | 79 |
| 87 configs += [ "//build/config/compiler:enable_arc" ] | 80 configs += [ "//build/config/compiler:enable_arc" ] |
| 88 } | 81 } |
| OLD | NEW |