OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 # GN version: //ios/web/shell:ios_web_shell | 11 # GN version: //ios/web/shell:ios_web_shell |
12 'target_name': 'ios_web_shell', | 12 'target_name': 'ios_web_shell', |
13 'type': 'executable', | 13 'includes': [ |
14 'mac_bundle': 1, | 14 'ios_web_shell_exe.gypi', |
15 'include_dirs': [ | 15 ] |
16 '../..', | |
17 ], | |
18 'dependencies': [ | |
19 'ios_web.gyp:ios_web', | |
20 'ios_web.gyp:ios_web_app', | |
21 '../../base/base.gyp:base', | |
22 '../../net/net.gyp:net', | |
23 '../../net/net.gyp:net_extras', | |
24 '../../ui/base/ui_base.gyp:ui_base', | |
25 ], | |
26 'export_dependent_settings': [ | |
27 'ios_web.gyp:ios_web', | |
28 'ios_web.gyp:ios_web_app', | |
29 '../../base/base.gyp:base', | |
30 '../../net/net.gyp:net', | |
31 '../../ui/base/ui_base.gyp:ui_base', | |
32 ], | |
33 'xcode_settings': { | |
34 'INFOPLIST_FILE': 'shell/Info.plist', | |
35 'STRIPFLAGS': '-S', | |
36 # For XCTests a test bundle is injected into the application. Some | |
37 # symbols are required by the tests, and should be included in | |
38 # the file 'ios_web_shell_exported_symbols_list'. The use of | |
39 # -exported_symbols_list ensures that the symbols in this file are | |
40 # exposed. GCC_SYMBOLS_PRIVATE_EXTERN must also be set to 'NO', to | |
41 # ensure symbols aren't hidden and not able to be exposed with | |
42 # -exported_symbols_list. For more information see 'man ld'. | |
43 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', | |
44 'OTHER_LDFLAGS': [ | |
45 '-Xlinker -objc_abi_version', | |
46 '-Xlinker 2', | |
47 '-exported_symbols_list', | |
48 '../../ios/web/ios_web_shell_exported_symbols_list', | |
49 ] | |
50 }, | |
51 'sources': [ | |
52 'shell/app_delegate.h', | |
53 'shell/app_delegate.mm', | |
54 'shell/shell_browser_state.h', | |
55 'shell/shell_browser_state.mm', | |
56 'shell/shell_main_delegate.h', | |
57 'shell/shell_main_delegate.mm', | |
58 'shell/shell_network_delegate.cc', | |
59 'shell/shell_network_delegate.h', | |
60 'shell/shell_url_request_context_getter.h', | |
61 'shell/shell_url_request_context_getter.mm', | |
62 'shell/shell_web_client.h', | |
63 'shell/shell_web_client.mm', | |
64 'shell/shell_web_main_parts.h', | |
65 'shell/shell_web_main_parts.mm', | |
66 'shell/view_controller.h', | |
67 'shell/view_controller.mm', | |
68 'shell/web_exe_main.mm', | |
69 ], | |
70 'link_settings': { | |
71 'libraries': [ | |
72 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', | |
73 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | |
74 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | |
75 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', | |
76 ], | |
77 'mac_bundle_resources': [ | |
78 'shell/Default.png', | |
79 'shell/MainView.xib', | |
80 'shell/textfield_background@2x.png', | |
81 'shell/toolbar_back@2x.png', | |
82 'shell/toolbar_forward@2x.png', | |
83 ], | |
84 }, | |
85 }, | 16 }, |
86 ], | 17 ], |
87 } | 18 } |
OLD | NEW |