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("//tools/grit/repack.gni") | 5 import("//tools/grit/repack.gni") |
6 import("//build/config/ios/rules.gni") | 6 import("//build/config/ios/rules.gni") |
7 | 7 |
8 ios_app_bundle("ios_web_view_shell") { | 8 ios_app_bundle("ios_web_view_shell") { |
9 configs += [ "//build/config/compiler:enable_arc" ] | 9 configs += [ "//build/config/compiler:enable_arc" ] |
10 deps = [ | 10 deps = [ |
11 "//base", | 11 "//base", |
12 "//ios/web_view", | 12 "//ios/web_view", |
13 ] | 13 ] |
14 bundle_deps = [ | 14 bundle_deps = [ |
15 ":resources", | 15 ":resources", |
16 ":packed_resources", | 16 ":packed_resources", |
17 ] | 17 ] |
18 info_plist = "Info.plist" | 18 info_plist = "Info.plist" |
19 sources = [ | 19 sources = [ |
20 "shell_app_delegate.h", | 20 "shell_app_delegate.h", |
21 "shell_app_delegate.mm", | 21 "shell_app_delegate.m", |
22 "shell_delegate.h", | 22 "shell_delegate.h", |
23 "shell_delegate.mm", | 23 "shell_delegate.m", |
24 "shell_exe_main.mm", | 24 "shell_exe_main.m", |
25 "shell_view_controller.h", | 25 "shell_view_controller.h", |
26 "shell_view_controller.mm", | 26 "shell_view_controller.m", |
27 "translate_controller.h", | 27 "translate_controller.h", |
28 "translate_controller.mm", | 28 "translate_controller.m", |
29 ] | 29 ] |
30 libs = [ | 30 libs = [ |
31 "CFNetwork.framework", | 31 "CFNetwork.framework", |
32 "CoreFoundation.framework", | 32 "CoreFoundation.framework", |
33 "CoreGraphics.framework", | 33 "CoreGraphics.framework", |
34 "CoreText.framework", | 34 "CoreText.framework", |
35 "Foundation.framework", | 35 "Foundation.framework", |
36 "ImageIO.framework", | 36 "ImageIO.framework", |
37 "MobileCoreServices.framework", | 37 "MobileCoreServices.framework", |
38 "Security.framework", | 38 "Security.framework", |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 public_deps = [ | 73 public_deps = [ |
74 ":repack_resources", | 74 ":repack_resources", |
75 ] | 75 ] |
76 sources = [ | 76 sources = [ |
77 "$target_gen_dir/web_view_resources.pak", | 77 "$target_gen_dir/web_view_resources.pak", |
78 ] | 78 ] |
79 outputs = [ | 79 outputs = [ |
80 "{{bundle_resources_dir}}/{{source_file_part}}", | 80 "{{bundle_resources_dir}}/{{source_file_part}}", |
81 ] | 81 ] |
82 } | 82 } |
OLD | NEW |