OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/ios/rules.gni") |
| 6 |
| 7 ios_app("ios_web_shell") { |
| 8 info_plist = "Info.plist" |
| 9 app_name = "ios_web_shell" |
| 10 entitlements_path = "" |
| 11 code_signing_identity = "" |
| 12 |
| 13 sources = [ |
| 14 "app_delegate.h", |
| 15 "app_delegate.mm", |
| 16 "shell_browser_state.h", |
| 17 "shell_browser_state.mm", |
| 18 "shell_main_delegate.h", |
| 19 "shell_main_delegate.mm", |
| 20 "shell_network_delegate.cc", |
| 21 "shell_network_delegate.h", |
| 22 "shell_url_request_context_getter.cc", |
| 23 "shell_url_request_context_getter.h", |
| 24 "shell_web_client.h", |
| 25 "shell_web_client.mm", |
| 26 "shell_web_main_parts.h", |
| 27 "shell_web_main_parts.mm", |
| 28 "view_controller.h", |
| 29 "view_controller.mm", |
| 30 "web_exe_main.mm", |
| 31 ] |
| 32 |
| 33 deps = [ |
| 34 "//base", |
| 35 "//ios/web", |
| 36 "//ios/web/public/app", |
| 37 "//net", |
| 38 "//net:extras", |
| 39 "//ui/base", |
| 40 |
| 41 # All shared libraries must have the sanitizer deps to properly link in |
| 42 # asan mode (this target will be empty in other cases). |
| 43 "//build/config/sanitizers:deps", |
| 44 ] |
| 45 |
| 46 ldflags = [ |
| 47 "-Xlinker", |
| 48 "-objc_abi_version", |
| 49 "-Xlinker", |
| 50 "2", |
| 51 ] |
| 52 |
| 53 libs = [ |
| 54 "CoreGraphics.framework", |
| 55 "CoreFoundation.framework", |
| 56 "Foundation.framework", |
| 57 "UIKit.framework", |
| 58 ] |
| 59 |
| 60 # TODO(crbug.com/546283): once gn supports bundle resources, add support for |
| 61 # the following gyp code: |
| 62 # |
| 63 # 'mac_bundle_resources': [ |
| 64 # 'shell/Default.png', |
| 65 # 'shell/MainView.xib', |
| 66 # 'shell/textfield_background@2x.png', |
| 67 # 'shell/toolbar_back@2x.png', |
| 68 # 'shell/toolbar_forward@2x.png', |
| 69 # ], |
| 70 } |
OLD | NEW |