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: | |
michaeldo
2017/03/24 15:49:25
Please add crbug.com/704946 reference here.
Hiroshi Ichikawa
2017/03/27 02:09:25
Done.
| |
34 # #include "ios/web_view/public/cwv_export.h" | |
35 # instead of: | |
36 # #include <ChromeWebView/cwv_export.h> | |
37 # when building this app. | |
38 defines = [ "CWV_IMPLEMENTATION" ] | |
39 | |
33 deps = [ | 40 deps = [ |
34 ":resources", | 41 ":resources", |
35 "//ios/web_view", | 42 "//ios/web_view", |
36 ] | 43 ] |
37 | 44 |
38 libs = [ | 45 libs = [ |
39 "CFNetwork.framework", | 46 "CFNetwork.framework", |
40 "CoreFoundation.framework", | 47 "CoreFoundation.framework", |
41 "CoreGraphics.framework", | 48 "CoreGraphics.framework", |
42 "CoreText.framework", | 49 "CoreText.framework", |
(...skipping 16 matching lines...) Expand all Loading... | |
59 "Default-568h@2x.png", | 66 "Default-568h@2x.png", |
60 "textfield_background@2x.png", | 67 "textfield_background@2x.png", |
61 "toolbar_back@2x.png", | 68 "toolbar_back@2x.png", |
62 "toolbar_forward@2x.png", | 69 "toolbar_forward@2x.png", |
63 "toolbar_stop@2x.png", | 70 "toolbar_stop@2x.png", |
64 ] | 71 ] |
65 outputs = [ | 72 outputs = [ |
66 "{{bundle_resources_dir}}/{{source_file_part}}", | 73 "{{bundle_resources_dir}}/{{source_file_part}}", |
67 ] | 74 ] |
68 } | 75 } |
OLD | NEW |