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

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

Issue 2643773005: Upstream ios/web_view source code. (Closed)
Patch Set: Remove request tracker and fix pointer to CRIWVWebMainParts. Created 3 years, 11 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//tools/grit/repack.gni")
6 import("//build/config/ios/rules.gni")
7
8 ios_app_bundle("ios_web_view_shell") {
9 deps = [
10 "//base",
11 "//ios/web_view",
12 ]
13 bundle_deps = [
14 ":resources",
15 ":packed_resources",
16 ]
17 info_plist = "Info.plist"
18 sources = [
19 "shell_app_delegate.h",
20 "shell_app_delegate.mm",
21 "shell_delegate.h",
22 "shell_delegate.mm",
23 "shell_exe_main.mm",
24 "shell_view_controller.h",
25 "shell_view_controller.mm",
26 "translate_controller.h",
27 "translate_controller.mm",
28 ]
29 libs = [
30 "CFNetwork.framework",
31 "CoreFoundation.framework",
32 "CoreGraphics.framework",
33 "CoreText.framework",
34 "Foundation.framework",
35 "ImageIO.framework",
36 "MobileCoreServices.framework",
37 "Security.framework",
38 "SystemConfiguration.framework",
39 "UIKit.framework",
40 "WebKit.framework",
41 "resolv",
42 ]
43 }
44
45 bundle_data("resources") {
46 visibility = [ ":ios_web_view_shell" ]
47 sources = [
48 "Default-568h@2x.png",
49 "textfield_background@2x.png",
50 "toolbar_back@2x.png",
51 "toolbar_forward@2x.png",
52 "toolbar_stop@2x.png",
53 ]
54 outputs = [
55 "{{bundle_resources_dir}}/{{source_file_part}}",
56 ]
57 }
58
59 repack("repack_resources") {
60 visibility = [ ":packed_resources" ]
61 deps = [
62 "//components/resources:components_resources",
63 ]
64 sources = [
65 "$root_gen_dir/components/components_resources.pak",
66 ]
67 output = "$target_gen_dir/web_view_resources.pak"
68 }
69
70 bundle_data("packed_resources") {
71 visibility = [ ":ios_web_view_shell" ]
72 public_deps = [
73 ":repack_resources",
74 ]
75 sources = [
76 "$target_gen_dir/web_view_resources.pak",
77 ]
78 outputs = [
79 "{{bundle_resources_dir}}/{{source_file_part}}",
80 ]
81 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698