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_chrome_app',
12 'type': 'static_library',
17 '../../base/base.gyp:base',
22 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
23 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
27 'app/UIApplication+ExitsOnSuspend.h',
28 'app/UIApplication+ExitsOnSuspend.mm',
29 'app/deferred_initialization_runner.h',
30 'app/deferred_initialization_runner.mm',
31 'app/safe_mode_crashing_modules_config.h',
32 'app/safe_mode_crashing_modules_config.mm',
33 'app/safe_mode_util.cc',
34 'app/safe_mode_util.h',
38 'target_name': 'ios_chrome_browser',
39 'type': 'static_library',
44 '../../base/base.gyp:base',
45 '../../base/base.gyp:base_prefs',
46 '../../breakpad/breakpad.gyp:breakpad_client',
47 '../../components/components.gyp:autofill_core_browser',
48 '../../components/components.gyp:autofill_core_common',
49 '../../components/components.gyp:autofill_ios_browser',
50 '../../components/components.gyp:bookmarks_browser',
51 '../../components/components.gyp:content_settings_core_browser',
52 '../../components/components.gyp:data_reduction_proxy_core_common',
53 '../../components/components.gyp:dom_distiller_core',
54 '../../components/components.gyp:dom_distiller_ios',
55 '../../components/components.gyp:enhanced_bookmarks',
56 '../../components/components.gyp:favicon_core',
57 '../../components/components.gyp:google_core_browser',
58 '../../components/components.gyp:history_core_browser',
59 '../../components/components.gyp:history_ios_browser',
60 '../../components/components.gyp:infobars_core',
61 '../../components/components.gyp:keyed_service_core',
62 '../../components/components.gyp:keyed_service_ios',
63 '../../components/components.gyp:leveldb_proto',
64 '../../components/components.gyp:metrics',
65 '../../components/components.gyp:password_manager_core_browser',
66 '../../components/components.gyp:pref_registry',
67 '../../components/components.gyp:search_engines',
68 '../../components/components.gyp:signin_core_browser',
69 '../../components/components.gyp:signin_core_common',
70 '../../components/components.gyp:suggestions',
71 '../../components/components.gyp:sync_driver',
72 '../../components/components.gyp:translate_core_browser',
73 '../../components/components.gyp:translate_ios_browser',
74 '../../components/components.gyp:undo_component',
75 '../../components/components.gyp:web_resource',
76 '../../components/components.gyp:webdata_services',
77 '../../components/components.gyp:webp_transcode',
78 '../../components/components_strings.gyp:components_strings',
79 '../../google_apis/google_apis.gyp:google_apis',
80 '../../net/net.gyp:net',
81 '../../skia/skia.gyp:skia',
82 '../../sync/sync.gyp:sync',
83 '../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
84 '../../ui/base/ui_base.gyp:ui_base',
85 '../../ui/gfx/gfx.gyp:gfx',
86 '../../url/url.gyp:url_lib',
87 '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser',
88 '../web/ios_web.gyp:ios_web',
91 'ios_chrome_resources.gyp:ios_chrome_resources',
95 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
96 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
97 '$(SDKROOT)/System/Library/Frameworks/CoreLocation.framework',
98 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
99 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
100 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
104 'browser/app_startup_parameters.h',
105 'browser/app_startup_parameters.mm',
106 'browser/application_context.cc',
107 'browser/application_context.h',
108 'browser/application_context_impl.cc',
109 'browser/application_context_impl.h',
110 'browser/arch_util.cc',
111 'browser/arch_util.h',
112 'browser/autofill/autofill_agent_utils.h',
113 'browser/autofill/autofill_agent_utils.mm',
114 'browser/autofill/form_input_accessory_view.h',
115 'browser/autofill/form_input_accessory_view.mm',
116 'browser/autofill/form_input_accessory_view_controller.h',
117 'browser/autofill/form_input_accessory_view_controller.mm',
118 'browser/autofill/form_input_accessory_view_delegate.h',
119 'browser/autofill/form_suggestion_controller.h',
120 'browser/autofill/form_suggestion_controller.mm',
121 'browser/autofill/form_suggestion_label.h',
122 'browser/autofill/form_suggestion_label.mm',
123 'browser/autofill/form_suggestion_provider.h',
124 'browser/autofill/form_suggestion_view.h',
125 'browser/autofill/form_suggestion_view.mm',
126 'browser/autofill/form_suggestion_view_client.h',
127 'browser/bookmarks/startup_task_runner_service_factory.cc',
128 'browser/bookmarks/startup_task_runner_service_factory.h',
129 'browser/browser_state/browser_state_keyed_service_factories.h',
130 'browser/browser_state/browser_state_keyed_service_factories.mm',
131 'browser/browser_state/browser_state_otr_helper.cc',
132 'browser/browser_state/browser_state_otr_helper.h',
133 'browser/browsing_data_change_listening.h',
134 'browser/chrome_paths.h',
135 'browser/chrome_paths.mm',
136 'browser/chrome_switches.cc',
137 'browser/chrome_switches.h',
138 'browser/chrome_url_constants.cc',
139 'browser/chrome_url_constants.h',
140 'browser/chrome_url_util.h',
141 'browser/chrome_url_util.mm',
142 'browser/crash_loop_detection_util.h',
143 'browser/crash_loop_detection_util.mm',
144 'browser/crash_report/breakpad_helper.h',
145 'browser/crash_report/breakpad_helper.mm',
146 'browser/crash_report/crash_report_background_uploader.h',
147 'browser/crash_report/crash_report_background_uploader.mm',
148 'browser/crash_report/crash_report_multi_parameter.h',
149 'browser/crash_report/crash_report_multi_parameter.mm',
150 'browser/crash_report/crash_report_user_application_state.h',
151 'browser/crash_report/crash_report_user_application_state.mm',
152 'browser/content_settings/cookie_settings_factory.cc',
153 'browser/content_settings/cookie_settings_factory.h',
154 'browser/dom_distiller/distiller_viewer.cc',
155 'browser/dom_distiller/distiller_viewer.h',
156 'browser/dom_distiller/dom_distiller_service_factory.cc',
157 'browser/dom_distiller/dom_distiller_service_factory.h',
158 'browser/enhanced_bookmarks/bookmark_image_service_factory.h',
159 'browser/enhanced_bookmarks/bookmark_image_service_factory.mm',
160 'browser/enhanced_bookmarks/bookmark_image_service_ios.h',
161 'browser/enhanced_bookmarks/bookmark_image_service_ios.mm',
162 'browser/enhanced_bookmarks/bookmark_server_cluster_service_factory.cc',
163 'browser/enhanced_bookmarks/bookmark_server_cluster_service_factory.h',
164 'browser/enhanced_bookmarks/enhanced_bookmark_model_factory.cc',
165 'browser/enhanced_bookmarks/enhanced_bookmark_model_factory.h',
166 'browser/experimental_flags.h',
167 'browser/experimental_flags.mm',
168 'browser/favicon/favicon_client_impl.cc',
169 'browser/favicon/favicon_client_impl.h',
170 'browser/favicon/favicon_service_factory.cc',
171 'browser/favicon/favicon_service_factory.h',
172 'browser/file_metadata_util.h',
173 'browser/file_metadata_util.mm',
174 'browser/find_in_page/find_in_page_controller.h',
175 'browser/find_in_page/find_in_page_controller.mm',
176 'browser/find_in_page/find_in_page_model.h',
177 'browser/find_in_page/find_in_page_model.mm',
178 'browser/find_in_page/js_findinpage_manager.h',
179 'browser/find_in_page/js_findinpage_manager.mm',
180 'browser/first_run/first_run.h',
181 'browser/first_run/first_run.mm',
182 'browser/first_run/first_run_configuration.h',
183 'browser/first_run/first_run_configuration.mm',
184 'browser/first_run/first_run_metrics.h',
185 'browser/geolocation/CLLocation+OmniboxGeolocation.h',
186 'browser/geolocation/CLLocation+OmniboxGeolocation.mm',
187 'browser/geolocation/CLLocation+XGeoHeader.h',
188 'browser/geolocation/CLLocation+XGeoHeader.mm',
189 'browser/geolocation/location_manager.h',
190 'browser/geolocation/location_manager.mm',
191 'browser/geolocation/omnibox_geolocation_authorization_alert.h',
192 'browser/geolocation/omnibox_geolocation_authorization_alert.mm',
193 'browser/geolocation/omnibox_geolocation_config.h',
194 'browser/geolocation/omnibox_geolocation_config.mm',
195 'browser/geolocation/omnibox_geolocation_local_state.h',
196 'browser/geolocation/omnibox_geolocation_local_state.mm',
197 'browser/google/google_url_tracker_client_impl.cc',
198 'browser/google/google_url_tracker_client_impl.h',
199 'browser/google/google_url_tracker_factory.cc',
200 'browser/google/google_url_tracker_factory.h',
201 'browser/history/history_backend_client_impl.cc',
202 'browser/history/history_backend_client_impl.h',
203 'browser/history/history_client_impl.cc',
204 'browser/history/history_client_impl.h',
205 'browser/history/history_service_factory.cc',
206 'browser/history/history_service_factory.h',
207 'browser/history/history_utils.cc',
208 'browser/history/history_utils.h',
209 'browser/history/top_sites_factory.cc',
210 'browser/history/top_sites_factory.h',
211 'browser/history/web_history_service_factory.cc',
212 'browser/history/web_history_service_factory.h',
213 'browser/infobars/confirm_infobar_controller.h',
214 'browser/infobars/confirm_infobar_controller.mm',
215 'browser/infobars/infobar.h',
216 'browser/infobars/infobar.mm',
217 'browser/infobars/infobar_container_ios.h',
218 'browser/infobars/infobar_container_ios.mm',
219 'browser/infobars/infobar_container_view.h',
220 'browser/infobars/infobar_container_view.mm',
221 'browser/infobars/infobar_controller.h',
222 'browser/infobars/infobar_controller.mm',
223 'browser/infobars/infobar_manager_impl.cc',
224 'browser/infobars/infobar_manager_impl.h',
225 'browser/infobars/infobar_utils.h',
226 'browser/infobars/infobar_utils.mm',
227 'browser/install_time_util.h',
228 'browser/install_time_util.mm',
229 'browser/installation_notifier.h',
230 'browser/installation_notifier.mm',
231 'browser/memory/memory_debugger.h',
232 'browser/memory/memory_debugger.mm',
233 'browser/memory/memory_debugger_manager.h',
234 'browser/memory/memory_debugger_manager.mm',
235 'browser/memory/memory_metrics.cc',
236 'browser/memory/memory_metrics.h',
237 'browser/memory/memory_wedge.cc',
238 'browser/memory/memory_wedge.h',
239 'browser/metrics/ios_stability_metrics_provider.h',
240 'browser/metrics/ios_stability_metrics_provider.mm',
241 'browser/metrics/previous_session_info.h',
242 'browser/metrics/previous_session_info.mm',
243 'browser/net/chrome_cookie_store_ios_client.h',
244 'browser/net/chrome_cookie_store_ios_client.mm',
245 'browser/net/image_fetcher.h',
246 'browser/net/image_fetcher.mm',
247 'browser/net/metrics_network_client.h',
248 'browser/net/metrics_network_client.mm',
249 'browser/net/metrics_network_client_manager.h',
250 'browser/net/metrics_network_client_manager.mm',
251 'browser/net/retryable_url_fetcher.h',
252 'browser/net/retryable_url_fetcher.mm',
253 'browser/passwords/password_generation_utils.h',
254 'browser/passwords/password_generation_utils.mm',
255 'browser/pref_names.cc',
256 'browser/pref_names.h',
257 'browser/prefs/pref_observer_bridge.h',
258 'browser/prefs/pref_observer_bridge.mm',
259 'browser/procedural_block_types.h',
260 'browser/search_engines/search_engines_util.cc',
261 'browser/search_engines/search_engines_util.h',
262 'browser/signin/constants.h',
263 'browser/signin/constants.mm',
264 'browser/signin/gaia_auth_fetcher_ios.h',
265 'browser/signin/gaia_auth_fetcher_ios.mm',
266 'browser/signin/gaia_auth_fetcher_ios_private.h',
267 'browser/signin/signin_client_impl.cc',
268 'browser/signin/signin_client_impl.h',
269 'browser/signin/signin_error_controller_factory.cc',
270 'browser/signin/signin_error_controller_factory.h',
271 'browser/snapshots/snapshot_cache.h',
272 'browser/snapshots/snapshot_cache.mm',
273 'browser/snapshots/snapshot_manager.h',
274 'browser/snapshots/snapshot_manager.mm',
275 'browser/snapshots/snapshot_overlay.h',
276 'browser/snapshots/snapshot_overlay.mm',
277 'browser/snapshots/snapshots_util.h',
278 'browser/snapshots/snapshots_util.mm',
279 'browser/suggestions/image_fetcher_impl.h',
280 'browser/suggestions/image_fetcher_impl.mm',
281 'browser/suggestions/suggestions_service_factory.h',
282 'browser/suggestions/suggestions_service_factory.mm',
283 'browser/sync/glue/sync_start_util.cc',
284 'browser/sync/glue/sync_start_util.h',
285 'browser/sync/sync_observer_bridge.h',
286 'browser/sync/sync_observer_bridge.mm',
287 'browser/sync/sync_setup_service.cc',
288 'browser/sync/sync_setup_service.h',
289 'browser/sync/sync_setup_service_factory.cc',
290 'browser/sync/sync_setup_service_factory.h',
291 'browser/translate/after_translate_infobar_controller.h',
292 'browser/translate/after_translate_infobar_controller.mm',
293 'browser/translate/before_translate_infobar_controller.h',
294 'browser/translate/before_translate_infobar_controller.mm',
295 'browser/translate/chrome_ios_translate_client.h',
296 'browser/translate/chrome_ios_translate_client.mm',
297 'browser/translate/never_translate_infobar_controller.h',
298 'browser/translate/never_translate_infobar_controller.mm',
299 'browser/translate/translate_accept_languages_factory.cc',
300 'browser/translate/translate_accept_languages_factory.h',
301 'browser/translate/translate_infobar_tags.h',
302 'browser/translate/translate_message_infobar_controller.h',
303 'browser/translate/translate_message_infobar_controller.mm',
304 'browser/translate/translate_service_ios.cc',
305 'browser/translate/translate_service_ios.h',
306 'browser/ui/animation_util.h',
307 'browser/ui/animation_util.mm',
308 'browser/ui/autofill/autofill_client_ios.h',
309 'browser/ui/autofill/autofill_client_ios.mm',
310 'browser/ui/background_generator.h',
311 'browser/ui/background_generator.mm',
312 'browser/ui/commands/UIKit+ChromeExecuteCommand.h',
313 'browser/ui/commands/UIKit+ChromeExecuteCommand.mm',
314 'browser/ui/commands/clear_browsing_data_command.h',
315 'browser/ui/commands/clear_browsing_data_command.mm',
316 'browser/ui/commands/generic_chrome_command.h',
317 'browser/ui/commands/generic_chrome_command.mm',
318 'browser/ui/commands/ios_command_ids.h',
319 'browser/ui/commands/open_url_command.h',
320 'browser/ui/commands/open_url_command.mm',
321 'browser/ui/commands/set_up_for_testing_command.h',
322 'browser/ui/commands/set_up_for_testing_command.mm',
323 'browser/ui/commands/show_mail_composer_command.h',
324 'browser/ui/commands/show_mail_composer_command.mm',
325 'browser/ui/commands/show_signin_command.h',
326 'browser/ui/commands/show_signin_command.mm',
327 'browser/ui/file_locations.h',
328 'browser/ui/file_locations.mm',
329 'browser/ui/image_util.h',
330 'browser/ui/image_util.mm',
331 'browser/ui/native_content_controller.h',
332 'browser/ui/native_content_controller.mm',
333 'browser/ui/orientation_limiting_navigation_controller.h',
334 'browser/ui/orientation_limiting_navigation_controller.mm',
335 'browser/ui/reversed_animation.h',
336 'browser/ui/reversed_animation.mm',
337 'browser/ui/show_mail_composer_util.h',
338 'browser/ui/show_mail_composer_util.mm',
339 'browser/ui/show_privacy_settings_util.h',
340 'browser/ui/show_privacy_settings_util.mm',
341 'browser/ui/side_swipe_gesture_recognizer.h',
342 'browser/ui/side_swipe_gesture_recognizer.mm',
343 'browser/ui/ui_util.h',
344 'browser/ui/ui_util.mm',
345 'browser/ui/uikit_ui_util.h',
346 'browser/ui/uikit_ui_util.mm',
347 'browser/ui/url_loader.h',
348 'browser/undo/bookmark_undo_service_factory.cc',
349 'browser/undo/bookmark_undo_service_factory.h',
350 'browser/updatable_config/updatable_array.h',
351 'browser/updatable_config/updatable_array.mm',
352 'browser/updatable_config/updatable_config_base.h',
353 'browser/updatable_config/updatable_config_base.mm',
354 'browser/updatable_config/updatable_dictionary.h',
355 'browser/updatable_config/updatable_dictionary.mm',
356 'browser/web/dom_altering_lock.h',
357 'browser/web/dom_altering_lock.mm',
358 'browser/web/web_view_type_util.h',
359 'browser/web/web_view_type_util.mm',
360 'browser/web_data_service_factory.cc',
361 'browser/web_data_service_factory.h',
362 'browser/web_resource/ios_web_resource_service.cc',
363 'browser/web_resource/ios_web_resource_service.h',
364 'browser/xcallback_parameters.h',
365 'browser/xcallback_parameters.mm',
369 'target_name': 'ios_chrome_common',
370 'type': 'static_library',
375 '../../base/base.gyp:base',
379 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
380 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
384 'common/string_util.h',
385 'common/string_util.mm',
389 'target_name': 'injected_js',
392 'browser/enhanced_bookmarks/bookmark_image_service_ios.js',
393 'browser/find_in_page/resources/find_in_page.js',
396 '../../ios/web/js_compile.gypi',
399 'mac_bundle_resources': [
400 '<(SHARED_INTERMEDIATE_DIR)/bookmark_image_service_ios.js',
401 '<(SHARED_INTERMEDIATE_DIR)/find_in_page.js',