Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: ios/web_view/shell/BUILD.gn

Issue 2772503006: Use framework includes in ios/web_view/shell. (Closed)
Patch Set: Fix framework header includes. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/web_view/public/ChromeWebView.h ('k') | ios/web_view/shell/shell_app_delegate.m » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 = [
11 ":shell", 11 ":shell",
12 "//ios/web_view",
13 "//ios/web_view:web_view+link",
14 ] 12 ]
15 bundle_deps = [ "//ios/web_view:web_view+bundle" ] 13 bundle_deps = [ "//ios/web_view:web_view+bundle" ]
16 14
17 configs += [ "//build/config/compiler:enable_arc" ] 15 configs += [ "//build/config/compiler:enable_arc" ]
18 } 16 }
19 17
20 source_set("shell") { 18 source_set("shell") {
21 sources = [ 19 sources = [
22 "shell_app_delegate.h", 20 "shell_app_delegate.h",
23 "shell_app_delegate.m", 21 "shell_app_delegate.m",
24 "shell_delegate.h", 22 "shell_delegate.h",
25 "shell_delegate.m", 23 "shell_delegate.m",
26 "shell_exe_main.m", 24 "shell_exe_main.m",
27 "shell_view_controller.h", 25 "shell_view_controller.h",
28 "shell_view_controller.m", 26 "shell_view_controller.m",
29 "translate_controller.h", 27 "translate_controller.h",
30 "translate_controller.m", 28 "translate_controller.m",
31 ] 29 ]
32 30
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 = [ 31 deps = [
43 ":resources", 32 ":resources",
44 "//ios/web_view", 33 "//ios/web_view:web_view+link",
45 ] 34 ]
46 35
47 libs = [ 36 libs = [
48 "CFNetwork.framework", 37 "CFNetwork.framework",
49 "CoreFoundation.framework", 38 "CoreFoundation.framework",
50 "CoreGraphics.framework", 39 "CoreGraphics.framework",
51 "CoreText.framework", 40 "CoreText.framework",
52 "Foundation.framework", 41 "Foundation.framework",
53 "ImageIO.framework", 42 "ImageIO.framework",
54 "MobileCoreServices.framework", 43 "MobileCoreServices.framework",
(...skipping 13 matching lines...) Expand all
68 "Default-568h@2x.png", 57 "Default-568h@2x.png",
69 "textfield_background@2x.png", 58 "textfield_background@2x.png",
70 "toolbar_back@2x.png", 59 "toolbar_back@2x.png",
71 "toolbar_forward@2x.png", 60 "toolbar_forward@2x.png",
72 "toolbar_stop@2x.png", 61 "toolbar_stop@2x.png",
73 ] 62 ]
74 outputs = [ 63 outputs = [
75 "{{bundle_resources_dir}}/{{source_file_part}}", 64 "{{bundle_resources_dir}}/{{source_file_part}}",
76 ] 65 ]
77 } 66 }
OLDNEW
« no previous file with comments | « ios/web_view/public/ChromeWebView.h ('k') | ios/web_view/shell/shell_app_delegate.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698