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 |
33 deps = [ | 42 deps = [ |
34 ":resources", | 43 ":resources", |
35 "//ios/web_view", | 44 "//ios/web_view", |
36 ] | 45 ] |
37 | 46 |
38 libs = [ | 47 libs = [ |
39 "CFNetwork.framework", | 48 "CFNetwork.framework", |
40 "CoreFoundation.framework", | 49 "CoreFoundation.framework", |
41 "CoreGraphics.framework", | 50 "CoreGraphics.framework", |
42 "CoreText.framework", | 51 "CoreText.framework", |
(...skipping 16 matching lines...) Expand all Loading... |
59 "Default-568h@2x.png", | 68 "Default-568h@2x.png", |
60 "textfield_background@2x.png", | 69 "textfield_background@2x.png", |
61 "toolbar_back@2x.png", | 70 "toolbar_back@2x.png", |
62 "toolbar_forward@2x.png", | 71 "toolbar_forward@2x.png", |
63 "toolbar_stop@2x.png", | 72 "toolbar_stop@2x.png", |
64 ] | 73 ] |
65 outputs = [ | 74 outputs = [ |
66 "{{bundle_resources_dir}}/{{source_file_part}}", | 75 "{{bundle_resources_dir}}/{{source_file_part}}", |
67 ] | 76 ] |
68 } | 77 } |
OLD | NEW |