| 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("ios_web_view_shell") { | 7 ios_app_bundle("ios_web_view_shell") { |
| 8 info_plist = "Info.plist" | 8 info_plist = "Info.plist" |
| 9 | 9 |
| 10 deps = [ | 10 deps = [ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 "shell_app_delegate.m", | 23 "shell_app_delegate.m", |
| 24 "shell_delegate.h", | 24 "shell_delegate.h", |
| 25 "shell_delegate.m", | 25 "shell_delegate.m", |
| 26 "shell_exe_main.m", | 26 "shell_exe_main.m", |
| 27 "shell_view_controller.h", | 27 "shell_view_controller.h", |
| 28 "shell_view_controller.m", | 28 "shell_view_controller.m", |
| 29 "translate_controller.h", | 29 "translate_controller.h", |
| 30 "translate_controller.m", | 30 "translate_controller.m", |
| 31 ] | 31 ] |
| 32 | 32 |
| 33 # A workaround for an issue that we need to use the form: | |
| 34 # #include "ios/web_view/public/cwv_export.h" | |
| 35 # instead of: | |
| 36 # #include <ChromeWebView/cwv_export.h> | |
| 37 # when building this app. | |
| 38 # | |
| 39 # TODO(crbug.com/704946): Solve the issue and remove this workaround. | |
| 40 defines = [ "CWV_IMPLEMENTATION" ] | |
| 41 | |
| 42 deps = [ | 33 deps = [ |
| 43 ":resources", | 34 ":resources", |
| 44 "//ios/web_view", | 35 "//ios/web_view:web_view+link", |
| 45 ] | 36 ] |
| 46 | 37 |
| 47 libs = [ | 38 libs = [ |
| 48 "CFNetwork.framework", | 39 "CFNetwork.framework", |
| 49 "CoreFoundation.framework", | 40 "CoreFoundation.framework", |
| 50 "CoreGraphics.framework", | 41 "CoreGraphics.framework", |
| 51 "CoreText.framework", | 42 "CoreText.framework", |
| 52 "Foundation.framework", | 43 "Foundation.framework", |
| 53 "ImageIO.framework", | 44 "ImageIO.framework", |
| 54 "MobileCoreServices.framework", | 45 "MobileCoreServices.framework", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 68 "Default-568h@2x.png", | 59 "Default-568h@2x.png", |
| 69 "textfield_background@2x.png", | 60 "textfield_background@2x.png", |
| 70 "toolbar_back@2x.png", | 61 "toolbar_back@2x.png", |
| 71 "toolbar_forward@2x.png", | 62 "toolbar_forward@2x.png", |
| 72 "toolbar_stop@2x.png", | 63 "toolbar_stop@2x.png", |
| 73 ] | 64 ] |
| 74 outputs = [ | 65 outputs = [ |
| 75 "{{bundle_resources_dir}}/{{source_file_part}}", | 66 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 76 ] | 67 ] |
| 77 } | 68 } |
| OLD | NEW |