| 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 } | 28 } |
| 29 | 29 |
| 30 bundle_data_xib("main_view_bundle_data") { | |
| 31 visibility = [ ":shell" ] | |
| 32 source = "MainView.xib" | |
| 33 } | |
| 34 | |
| 35 bundle_data("shell_bundle_data") { | 30 bundle_data("shell_bundle_data") { |
| 36 visibility = [ ":shell" ] | 31 visibility = [ ":shell" ] |
| 37 sources = [ | 32 sources = [ |
| 38 "Default.png", | 33 "Default.png", |
| 39 "textfield_background@2x.png", | 34 "textfield_background@2x.png", |
| 40 "toolbar_back@2x.png", | 35 "toolbar_back@2x.png", |
| 41 "toolbar_forward@2x.png", | 36 "toolbar_forward@2x.png", |
| 42 ] | 37 ] |
| 43 outputs = [ | 38 outputs = [ |
| 44 "{{bundle_resources_dir}}/{{source_file_part}}", | 39 "{{bundle_resources_dir}}/{{source_file_part}}", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 59 "shell_url_request_context_getter.mm", | 54 "shell_url_request_context_getter.mm", |
| 60 "shell_web_client.h", | 55 "shell_web_client.h", |
| 61 "shell_web_client.mm", | 56 "shell_web_client.mm", |
| 62 "shell_web_main_parts.h", | 57 "shell_web_main_parts.h", |
| 63 "shell_web_main_parts.mm", | 58 "shell_web_main_parts.mm", |
| 64 "view_controller.h", | 59 "view_controller.h", |
| 65 "view_controller.mm", | 60 "view_controller.mm", |
| 66 ] | 61 ] |
| 67 | 62 |
| 68 deps = [ | 63 deps = [ |
| 69 ":main_view_bundle_data", | |
| 70 ":shell_bundle_data", | 64 ":shell_bundle_data", |
| 71 "//base", | 65 "//base", |
| 72 "//ios/net", | 66 "//ios/net", |
| 73 "//ios/web", | 67 "//ios/web", |
| 74 "//ios/web:user_agent", | 68 "//ios/web:user_agent", |
| 75 "//ios/web/public/app", | 69 "//ios/web/public/app", |
| 76 "//net", | 70 "//net", |
| 77 "//net:extras", | 71 "//net:extras", |
| 78 "//ui/base", | 72 "//ui/base", |
| 79 ] | 73 ] |
| 80 | 74 |
| 81 libs = [ | 75 libs = [ |
| 82 "CoreGraphics.framework", | 76 "CoreGraphics.framework", |
| 83 "CoreFoundation.framework", | 77 "CoreFoundation.framework", |
| 84 "Foundation.framework", | 78 "Foundation.framework", |
| 85 "UIKit.framework", | 79 "UIKit.framework", |
| 86 ] | 80 ] |
| 87 } | 81 } |
| OLD | NEW |