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
3 # found in the LICENSE file.
11 'target_name': 'ios_web',
12 'type': 'static_library',
20 '../../base/base.gyp:base',
21 '../../content/content.gyp:content_browser',
22 '../../ios/net/ios_net.gyp:ios_net',
23 '../../ios/third_party/blink/blink_html_tokenizer.gyp:blink_html_tokenizer',
24 '../../net/net.gyp:net',
25 '../../ui/base/ui_base.gyp:ui_base',
26 '../../ui/gfx/gfx.gyp:gfx',
27 '../../url/url.gyp:url_lib',
31 'load_committed_details.cc',
32 'navigation/navigation_item_impl.h',
33 'navigation/navigation_item_impl.mm',
34 'navigation/nscoder_util.h',
35 'navigation/nscoder_util.mm',
36 'navigation/time_smoother.cc',
37 'navigation/time_smoother.h',
39 'net/cert_store_impl.cc',
40 'net/cert_store_impl.h',
41 'net/certificate_policy_cache.cc',
42 'net/clients/crw_js_injection_network_client.h',
43 'net/clients/crw_js_injection_network_client.mm',
44 'net/clients/crw_js_injection_network_client_factory.h',
45 'net/clients/crw_js_injection_network_client_factory.mm',
46 'net/clients/crw_passkit_delegate.h',
47 'net/clients/crw_passkit_network_client.h',
48 'net/clients/crw_passkit_network_client.mm',
49 'net/clients/crw_passkit_network_client_factory.h',
50 'net/clients/crw_passkit_network_client_factory.mm',
51 'net/cookie_notification_bridge.h',
52 'net/cookie_notification_bridge.mm',
53 'net/crw_request_tracker_delegate.h',
54 'net/request_group_util.h',
55 'net/request_group_util.mm',
56 'net/request_tracker_data_memoizing_store.h',
57 'net/request_tracker_factory_impl.h',
58 'net/request_tracker_factory_impl.mm',
59 'net/request_tracker_impl.h',
60 'net/request_tracker_impl.mm',
61 'net/web_http_protocol_handler_delegate.h',
62 'net/web_http_protocol_handler_delegate.mm',
63 'public/block_types.h',
64 'public/browser_state.h',
65 'public/browser_url_rewriter.h',
66 'public/cert_policy.h',
67 'public/cert_store.h',
68 'public/certificate_policy_cache.h',
69 'public/favicon_status.cc',
70 'public/favicon_status.h',
71 'public/favicon_url.cc',
72 'public/favicon_url.h',
73 'public/interstitials/web_interstitial.h',
74 'public/interstitials/web_interstitial_delegate.h',
75 'public/load_committed_details.h',
76 'public/navigation_item.h',
78 'public/referrer_util.h',
79 'public/referrer_util.cc',
80 'public/security_style.h',
81 'public/ssl_status.cc',
82 'public/ssl_status.h',
83 'public/string_util.h',
84 'public/url_scheme_util.h',
86 'public/user_agent.h',
87 'public/user_agent.mm',
88 'public/user_metrics.h',
89 'public/web_client.h',
90 'public/web_client.mm',
91 'public/web_state/crw_native_content.h',
92 'public/web_state/crw_native_content_provider.h',
93 'public/web_state/crw_web_controller_observer.h',
94 'public/web_state/crw_web_delegate.h',
95 'public/web_state/crw_web_user_interface_delegate.h'
96 'public/web_state/crw_web_view_proxy.h'
97 'public/web_state/crw_web_view_scroll_view_proxy.h'
98 'public/web_state/js/crw_js_base_manager.h',
99 'public/web_state/js/crw_js_early_script_manager.h',
100 'public/web_state/js/crw_js_injection_evaluator.h',
101 'public/web_state/js/crw_js_injection_manager.h',
102 'public/web_state/js/crw_js_injection_receiver.h',
103 'public/web_state/js/crw_js_message_manager.h',
104 'public/web_state/page_scroll_state.h',
105 'public/web_state/page_scroll_state.mm',
106 'public/web_state/url_verification_constants.h',
107 'public/web_state/web_state_observer.h',
108 'public/web_state/web_state_observer_bridge.h',
109 'public/web_thread.h',
110 'public/web_view_type.h',
112 'ui_web_view_util.h',
113 'ui_web_view_util.mm',
114 'url_scheme_util.mm',
117 'weak_nsobject_counter.h',
118 'weak_nsobject_counter.mm',
119 'web_state/blocked_popup_info.h',
120 'web_state/blocked_popup_info.mm',
121 'web_state/crw_recurring_task_delegate.h',
122 'web_state/js/crw_js_early_script_manager.mm',
123 'web_state/js/crw_js_injection_manager.mm',
124 'web_state/js/crw_js_injection_receiver.mm',
125 'web_state/js/page_script_util.h',
126 'web_state/js/page_script_util.mm',
127 'web_state/ui/crw_context_menu_provider.h',
128 'web_state/ui/crw_context_menu_provider.mm',
129 'web_state/ui/crw_debug_web_view.h',
130 'web_state/ui/crw_debug_web_view.mm',
131 'web_state/ui/crw_simple_web_view_controller.h',
132 'web_state/ui/crw_static_file_web_view.h',
133 'web_state/ui/crw_static_file_web_view.mm',
134 'web_state/web_state_observer.cc',
135 'web_state/web_state_observer_bridge.mm',
136 'web_state/wk_web_view_ssl_error_util.h',
137 'web_state/wk_web_view_ssl_error_util.mm',
138 'web_state/ui/crw_swipe_recognizer_provider.h',
139 'web_state/ui/crw_touch_tracking_recognizer.h',
140 'web_state/ui/crw_touch_tracking_recognizer.mm',
141 'web_state/ui/crw_ui_simple_web_view_controller.h',
142 'web_state/ui/crw_ui_simple_web_view_controller.mm',
143 'web_state/ui/crw_wk_simple_web_view_controller.h',
144 'web_state/ui/crw_wk_simple_web_view_controller.mm',
145 'web_state/ui/crw_wk_web_view_crash_detector.h',
146 'web_state/ui/crw_wk_web_view_crash_detector.mm',
147 'web_state/ui/web_view_js_utils.h',
148 'web_state/ui/web_view_js_utils.mm',
150 'web_thread_impl.cc',
158 '-weak_framework WebKit',
163 # Target shared by ios_web and CrNet.
165 'target_name': 'ios_web_core',
166 'type': 'static_library',
168 '../../base/base.gyp:base',
174 'crw_network_activity_indicator_manager.h',
175 'crw_network_activity_indicator_manager.mm',
176 'history_state_util.h',
177 'history_state_util.mm',
181 'target_name': 'ios_web_js_bundle_ui',
184 'closure_entry_point': '__crWeb.webBundle',
186 'web_state/js/resources/base.js',
187 'web_state/js/resources/common.js',
188 'web_state/js/resources/console.js',
189 'web_state/js/resources/core.js',
190 'web_state/js/resources/core_dynamic_ui.js',
191 'web_state/js/resources/dialog_overrides.js',
192 'web_state/js/resources/message.js',
193 'web_state/js/resources/message_dynamic_ui.js',
194 'web_state/js/resources/web_bundle_ui.js',
195 'web_state/js/resources/window_open_ui.js',
199 'web_state/js/resources/web_bundle_ui.js',
202 'mac_bundle_resources': [
203 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_ui.js',
207 'js_compile_bundle.gypi'
211 'target_name': 'ios_web_js_bundle_wk',
214 'closure_entry_point': '__crWeb.webBundle',
216 'web_state/js/resources/base.js',
217 'web_state/js/resources/common.js',
218 'web_state/js/resources/console.js',
219 'web_state/js/resources/core.js',
220 'web_state/js/resources/core_dynamic_wk.js',
221 'web_state/js/resources/dialog_overrides.js',
222 'web_state/js/resources/message.js',
223 'web_state/js/resources/message_dynamic_wk.js',
224 'web_state/js/resources/web_bundle_wk.js',
225 'web_state/js/resources/window_open_wk.js',
229 'web_state/js/resources/web_bundle_wk.js',
232 'mac_bundle_resources': [
233 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_wk.js',
237 'js_compile_bundle.gypi'
241 'target_name': 'js_resources',
244 'ios_web_js_bundle_ui',
245 'ios_web_js_bundle_wk',
248 'web_state/js/resources/plugin_placeholder.js',
249 'web_state/js/resources/window_id.js',
252 'mac_bundle_resources': [
253 '<(SHARED_INTERMEDIATE_DIR)/plugin_placeholder.js',
254 '<(SHARED_INTERMEDIATE_DIR)/window_id.js',
262 'target_name': 'test_support_ios_web',
263 'type': 'static_library',
266 '../../content/content_shell_and_tests.gyp:test_support_content',
267 '../../ios/testing/ios_testing.gyp:ocmock_support',
268 '../../testing/gmock.gyp:gmock',
269 '../../testing/gtest.gyp:gtest',
270 '../../third_party/ocmock/ocmock.gyp:ocmock',
276 'public/test/crw_test_js_injection_receiver.h',
277 'public/test/crw_test_js_injection_receiver.mm',
278 'public/test/js_test_util.h',
279 'public/test/js_test_util.mm',
280 'public/test/test_browser_state.cc',
281 'public/test/test_browser_state.h',
282 'public/test/test_web_client.h',
283 'public/test/test_web_client.mm',
284 'public/test/test_web_state.cc',
285 'public/test/test_web_state.h',
286 'public/test/test_web_thread.h',
287 'public/test/test_web_thread_bundle.h',
288 'test/test_web_thread.cc',
289 'test/test_web_thread_bundle.cc',
293 'target_name': 'user_agent',
294 'type': 'static_library',
299 '../../base/base.gyp:base'
302 'public/user_agent.h',
303 'public/user_agent.mm',