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:bookmarks_managed',
52 '../../components/components.gyp:content_settings_core_browser',
53 '../../components/components.gyp:data_reduction_proxy_core_common',
54 '../../components/components.gyp:dom_distiller_core',
55 '../../components/components.gyp:dom_distiller_ios',
56 '../../components/components.gyp:enhanced_bookmarks',
57 '../../components/components.gyp:favicon_core',
58 '../../components/components.gyp:google_core_browser',
59 '../../components/components.gyp:history_core_browser',
60 '../../components/components.gyp:history_ios_browser',
61 '../../components/components.gyp:infobars_core',
62 '../../components/components.gyp:invalidation_impl',
63 '../../components/components.gyp:invalidation_public',
64 '../../components/components.gyp:keyed_service_core',
65 '../../components/components.gyp:keyed_service_ios',
66 '../../components/components.gyp:leveldb_proto',
67 '../../components/components.gyp:metrics',
68 '../../components/components.gyp:omnibox_browser',
69 '../../components/components.gyp:open_from_clipboard',
70 '../../components/components.gyp:password_manager_core_browser',
71 '../../components/components.gyp:password_manager_sync_browser',
72 '../../components/components.gyp:pref_registry',
73 '../../components/components.gyp:search',
74 '../../components/components.gyp:search_engines',
75 '../../components/components.gyp:signin_core_browser',
76 '../../components/components.gyp:signin_core_common',
77 '../../components/components.gyp:suggestions',
78 '../../components/components.gyp:sync_driver',
79 '../../components/components.gyp:translate_core_browser',
80 '../../components/components.gyp:translate_ios_browser',
81 '../../components/components.gyp:undo_component',
82 '../../components/components.gyp:upload_list',
83 '../../components/components.gyp:version_info',
84 '../../components/components.gyp:web_resource',
85 '../../components/components.gyp:webdata_services',
86 '../../components/components.gyp:webp_transcode',
87 '../../components/components_strings.gyp:components_strings',
88 '../../google_apis/google_apis.gyp:google_apis',
89 '../../net/net.gyp:net',
90 '../../skia/skia.gyp:skia',
91 '../../sync/sync.gyp:sync',
92 '../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
93 '../../ui/base/ui_base.gyp:ui_base',
94 '../../ui/gfx/gfx.gyp:gfx',
95 '../../url/url.gyp:url_lib',
96 '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser',
97 '../web/ios_web.gyp:ios_web',
100 'ios_chrome_resources.gyp:ios_chrome_resources',
104 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
105 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
106 '$(SDKROOT)/System/Library/Frameworks/CoreLocation.framework',
107 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
108 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
109 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
113 'browser/app_startup_parameters.h',
114 'browser/app_startup_parameters.mm',
115 'browser/application_context.cc',
116 'browser/application_context.h',
117 'browser/application_context_impl.cc',
118 'browser/application_context_impl.h',
119 'browser/arch_util.cc',
120 'browser/arch_util.h',
121 'browser/autocomplete/autocomplete_classifier_factory.cc',
122 'browser/autocomplete/autocomplete_classifier_factory.h',
123 'browser/autocomplete/autocomplete_provider_client_impl.cc',
124 'browser/autocomplete/autocomplete_provider_client_impl.h',
125 'browser/autocomplete/autocomplete_scheme_classifier_impl.h',
126 'browser/autocomplete/autocomplete_scheme_classifier_impl.mm',
127 'browser/autocomplete/in_memory_url_index_factory.cc',
128 'browser/autocomplete/in_memory_url_index_factory.h',
129 'browser/autocomplete/shortcuts_backend_factory.cc',
130 'browser/autocomplete/shortcuts_backend_factory.h',
131 'browser/autofill/autofill_agent_utils.h',
132 'browser/autofill/autofill_agent_utils.mm',
133 'browser/autofill/form_input_accessory_view.h',
134 'browser/autofill/form_input_accessory_view.mm',
135 'browser/autofill/form_input_accessory_view_controller.h',
136 'browser/autofill/form_input_accessory_view_controller.mm',
137 'browser/autofill/form_input_accessory_view_delegate.h',
138 'browser/autofill/form_suggestion_controller.h',
139 'browser/autofill/form_suggestion_controller.mm',
140 'browser/autofill/form_suggestion_label.h',
141 'browser/autofill/form_suggestion_label.mm',
142 'browser/autofill/form_suggestion_provider.h',
143 'browser/autofill/form_suggestion_view.h',
144 'browser/autofill/form_suggestion_view.mm',
145 'browser/autofill/form_suggestion_view_client.h',
146 'browser/autofill/personal_data_manager_factory.cc',
147 'browser/autofill/personal_data_manager_factory.h',
148 'browser/bookmarks/bookmark_client_factory.cc',
149 'browser/bookmarks/bookmark_client_factory.h',
150 'browser/bookmarks/bookmark_client_impl.cc',
151 'browser/bookmarks/bookmark_client_impl.h',
152 'browser/bookmarks/bookmark_model_factory.cc',
153 'browser/bookmarks/bookmark_model_factory.h',
154 'browser/bookmarks/startup_task_runner_service_factory.cc',
155 'browser/bookmarks/startup_task_runner_service_factory.h',
156 'browser/browser_state/browser_state_keyed_service_factories.h',
157 'browser/browser_state/browser_state_keyed_service_factories.mm',
158 'browser/browser_state/browser_state_otr_helper.cc',
159 'browser/browser_state/browser_state_otr_helper.h',
160 'browser/browsing_data_change_listening.h',
161 'browser/chrome_paths.h',
162 'browser/chrome_paths.mm',
163 'browser/chrome_switches.cc',
164 'browser/chrome_switches.h',
165 'browser/chrome_url_constants.cc',
166 'browser/chrome_url_constants.h',
167 'browser/chrome_url_util.h',
168 'browser/chrome_url_util.mm',
169 'browser/content_settings/cookie_settings_factory.cc',
170 'browser/content_settings/cookie_settings_factory.h',
171 'browser/crash_loop_detection_util.h',
172 'browser/crash_loop_detection_util.mm',
173 'browser/crash_report/breakpad_helper.h',
174 'browser/crash_report/breakpad_helper.mm',
175 'browser/crash_report/crash_report_background_uploader.h',
176 'browser/crash_report/crash_report_background_uploader.mm',
177 'browser/crash_report/crash_report_multi_parameter.h',
178 'browser/crash_report/crash_report_multi_parameter.mm',
179 'browser/crash_report/crash_report_user_application_state.h',
180 'browser/crash_report/crash_report_user_application_state.mm',
181 'browser/crash_report/crash_upload_list.cc',
182 'browser/crash_report/crash_upload_list.h',
183 'browser/dom_distiller/distiller_viewer.cc',
184 'browser/dom_distiller/distiller_viewer.h',
185 'browser/dom_distiller/dom_distiller_service_factory.cc',
186 'browser/dom_distiller/dom_distiller_service_factory.h',
187 'browser/enhanced_bookmarks/bookmark_server_cluster_service_factory.cc',
188 'browser/enhanced_bookmarks/bookmark_server_cluster_service_factory.h',
189 'browser/enhanced_bookmarks/enhanced_bookmark_model_factory.cc',
190 'browser/enhanced_bookmarks/enhanced_bookmark_model_factory.h',
191 'browser/experimental_flags.h',
192 'browser/experimental_flags.mm',
193 'browser/favicon/favicon_client_impl.cc',
194 'browser/favicon/favicon_client_impl.h',
195 'browser/favicon/favicon_service_factory.cc',
196 'browser/favicon/favicon_service_factory.h',
197 'browser/file_metadata_util.h',
198 'browser/file_metadata_util.mm',
199 'browser/find_in_page/find_in_page_controller.h',
200 'browser/find_in_page/find_in_page_controller.mm',
201 'browser/find_in_page/find_in_page_model.h',
202 'browser/find_in_page/find_in_page_model.mm',
203 'browser/find_in_page/js_findinpage_manager.h',
204 'browser/find_in_page/js_findinpage_manager.mm',
205 'browser/first_run/first_run.h',
206 'browser/first_run/first_run.mm',
207 'browser/first_run/first_run_configuration.h',
208 'browser/first_run/first_run_configuration.mm',
209 'browser/first_run/first_run_metrics.h',
210 'browser/geolocation/CLLocation+OmniboxGeolocation.h',
211 'browser/geolocation/CLLocation+OmniboxGeolocation.mm',
212 'browser/geolocation/CLLocation+XGeoHeader.h',
213 'browser/geolocation/CLLocation+XGeoHeader.mm',
214 'browser/geolocation/location_manager.h',
215 'browser/geolocation/location_manager.mm',
216 'browser/geolocation/omnibox_geolocation_authorization_alert.h',
217 'browser/geolocation/omnibox_geolocation_authorization_alert.mm',
218 'browser/geolocation/omnibox_geolocation_config.h',
219 'browser/geolocation/omnibox_geolocation_config.mm',
220 'browser/geolocation/omnibox_geolocation_local_state.h',
221 'browser/geolocation/omnibox_geolocation_local_state.mm',
222 'browser/google/google_brand.h',
223 'browser/google/google_brand.mm',
224 'browser/google/google_url_tracker_client_impl.cc',
225 'browser/google/google_url_tracker_client_impl.h',
226 'browser/google/google_url_tracker_factory.cc',
227 'browser/google/google_url_tracker_factory.h',
228 'browser/history/history_backend_client_impl.cc',
229 'browser/history/history_backend_client_impl.h',
230 'browser/history/history_client_impl.cc',
231 'browser/history/history_client_impl.h',
232 'browser/history/history_service_factory.cc',
233 'browser/history/history_service_factory.h',
234 'browser/history/history_utils.cc',
235 'browser/history/history_utils.h',
236 'browser/history/top_sites_factory.cc',
237 'browser/history/top_sites_factory.h',
238 'browser/history/web_history_service_factory.cc',
239 'browser/history/web_history_service_factory.h',
240 'browser/infobars/confirm_infobar_controller.h',
241 'browser/infobars/confirm_infobar_controller.mm',
242 'browser/infobars/infobar.h',
243 'browser/infobars/infobar.mm',
244 'browser/infobars/infobar_container_ios.h',
245 'browser/infobars/infobar_container_ios.mm',
246 'browser/infobars/infobar_container_view.h',
247 'browser/infobars/infobar_container_view.mm',
248 'browser/infobars/infobar_controller.h',
249 'browser/infobars/infobar_controller.mm',
250 'browser/infobars/infobar_manager_impl.cc',
251 'browser/infobars/infobar_manager_impl.h',
252 'browser/infobars/infobar_utils.h',
253 'browser/infobars/infobar_utils.mm',
254 'browser/install_time_util.h',
255 'browser/install_time_util.mm',
256 'browser/installation_notifier.h',
257 'browser/installation_notifier.mm',
258 'browser/memory/memory_debugger.h',
259 'browser/memory/memory_debugger.mm',
260 'browser/memory/memory_debugger_manager.h',
261 'browser/memory/memory_debugger_manager.mm',
262 'browser/memory/memory_metrics.cc',
263 'browser/memory/memory_metrics.h',
264 'browser/metrics/ios_stability_metrics_provider.h',
265 'browser/metrics/ios_stability_metrics_provider.mm',
266 'browser/metrics/previous_session_info.h',
267 'browser/metrics/previous_session_info.mm',
268 'browser/net/chrome_cookie_store_ios_client.h',
269 'browser/net/chrome_cookie_store_ios_client.mm',
270 'browser/net/connection_type_observer_bridge.h',
271 'browser/net/connection_type_observer_bridge.mm',
272 'browser/net/image_fetcher.h',
273 'browser/net/image_fetcher.mm',
274 'browser/net/metrics_network_client.h',
275 'browser/net/metrics_network_client.mm',
276 'browser/net/metrics_network_client_manager.h',
277 'browser/net/metrics_network_client_manager.mm',
278 'browser/net/retryable_url_fetcher.h',
279 'browser/net/retryable_url_fetcher.mm',
280 'browser/open_from_clipboard/create_clipboard_recent_content.h',
281 'browser/open_from_clipboard/create_clipboard_recent_content.mm',
282 'browser/passwords/password_generation_utils.h',
283 'browser/passwords/password_generation_utils.mm',
284 'browser/pref_names.cc',
285 'browser/pref_names.h',
286 'browser/prefs/pref_observer_bridge.h',
287 'browser/prefs/pref_observer_bridge.mm',
288 'browser/procedural_block_types.h',
289 'browser/search/search_util.cc',
290 'browser/search/search_util.h',
291 'browser/search_engines/search_engines_util.cc',
292 'browser/search_engines/search_engines_util.h',
293 'browser/search_engines/template_url_service_client_impl.cc',
294 'browser/search_engines/template_url_service_client_impl.h',
295 'browser/search_engines/template_url_service_factory.cc',
296 'browser/search_engines/template_url_service_factory.h',
297 'browser/search_engines/ui_thread_search_terms_data.cc',
298 'browser/search_engines/ui_thread_search_terms_data.h',
299 'browser/signin/about_signin_internals_factory.cc',
300 'browser/signin/about_signin_internals_factory.h',
301 'browser/signin/account_fetcher_service_factory.cc',
302 'browser/signin/account_fetcher_service_factory.h',
303 'browser/signin/account_reconcilor_factory.cc',
304 'browser/signin/account_reconcilor_factory.h',
305 'browser/signin/account_tracker_service_factory.cc',
306 'browser/signin/account_tracker_service_factory.h',
307 'browser/signin/chrome_identity_service_observer_bridge.h',
308 'browser/signin/chrome_identity_service_observer_bridge.mm',
309 'browser/signin/constants.h',
310 'browser/signin/constants.mm',
311 'browser/signin/gaia_auth_fetcher_ios.h',
312 'browser/signin/gaia_auth_fetcher_ios.mm',
313 'browser/signin/gaia_auth_fetcher_ios_private.h',
314 'browser/signin/gaia_cookie_manager_service_factory.cc',
315 'browser/signin/gaia_cookie_manager_service_factory.h',
316 'browser/signin/oauth2_token_service_factory.cc',
317 'browser/signin/oauth2_token_service_factory.h',
318 'browser/signin/signin_client_factory.cc',
319 'browser/signin/signin_client_factory.h',
320 'browser/signin/signin_client_impl.cc',
321 'browser/signin/signin_client_impl.h',
322 'browser/signin/signin_error_controller_factory.cc',
323 'browser/signin/signin_error_controller_factory.h',
324 'browser/signin/signin_manager_factory.cc',
325 'browser/signin/signin_manager_factory.h',
326 'browser/signin/signin_manager_factory_observer.h',
327 'browser/signin/signin_util.h',
328 'browser/signin/signin_util.mm',
329 'browser/snapshots/snapshot_cache.h',
330 'browser/snapshots/snapshot_cache.mm',
331 'browser/snapshots/snapshot_manager.h',
332 'browser/snapshots/snapshot_manager.mm',
333 'browser/snapshots/snapshot_overlay.h',
334 'browser/snapshots/snapshot_overlay.mm',
335 'browser/snapshots/snapshots_util.h',
336 'browser/snapshots/snapshots_util.mm',
337 'browser/suggestions/image_fetcher_impl.h',
338 'browser/suggestions/image_fetcher_impl.mm',
339 'browser/suggestions/suggestions_service_factory.h',
340 'browser/suggestions/suggestions_service_factory.mm',
341 'browser/sync/glue/sync_start_util.cc',
342 'browser/sync/glue/sync_start_util.h',
343 'browser/sync/sync_observer_bridge.h',
344 'browser/sync/sync_observer_bridge.mm',
345 'browser/sync/sync_setup_service.cc',
346 'browser/sync/sync_setup_service.h',
347 'browser/sync/sync_setup_service_factory.cc',
348 'browser/sync/sync_setup_service_factory.h',
349 'browser/translate/after_translate_infobar_controller.h',
350 'browser/translate/after_translate_infobar_controller.mm',
351 'browser/translate/before_translate_infobar_controller.h',
352 'browser/translate/before_translate_infobar_controller.mm',
353 'browser/translate/chrome_ios_translate_client.h',
354 'browser/translate/chrome_ios_translate_client.mm',
355 'browser/translate/never_translate_infobar_controller.h',
356 'browser/translate/never_translate_infobar_controller.mm',
357 'browser/translate/translate_accept_languages_factory.cc',
358 'browser/translate/translate_accept_languages_factory.h',
359 'browser/translate/translate_infobar_tags.h',
360 'browser/translate/translate_message_infobar_controller.h',
361 'browser/translate/translate_message_infobar_controller.mm',
362 'browser/translate/translate_service_ios.cc',
363 'browser/translate/translate_service_ios.h',
364 'browser/ui/UIView+SizeClassSupport.h',
365 'browser/ui/UIView+SizeClassSupport.mm',
366 'browser/ui/animation_util.h',
367 'browser/ui/animation_util.mm',
368 'browser/ui/autofill/autofill_client_ios.h',
369 'browser/ui/autofill/autofill_client_ios.mm',
370 'browser/ui/background_generator.h',
371 'browser/ui/background_generator.mm',
372 'browser/ui/commands/UIKit+ChromeExecuteCommand.h',
373 'browser/ui/commands/UIKit+ChromeExecuteCommand.mm',
374 'browser/ui/commands/clear_browsing_data_command.h',
375 'browser/ui/commands/clear_browsing_data_command.mm',
376 'browser/ui/commands/generic_chrome_command.h',
377 'browser/ui/commands/generic_chrome_command.mm',
378 'browser/ui/commands/ios_command_ids.h',
379 'browser/ui/commands/open_url_command.h',
380 'browser/ui/commands/open_url_command.mm',
381 'browser/ui/commands/set_up_for_testing_command.h',
382 'browser/ui/commands/set_up_for_testing_command.mm',
383 'browser/ui/commands/show_mail_composer_command.h',
384 'browser/ui/commands/show_mail_composer_command.mm',
385 'browser/ui/commands/show_signin_command.h',
386 'browser/ui/commands/show_signin_command.mm',
387 'browser/ui/file_locations.h',
388 'browser/ui/file_locations.mm',
389 'browser/ui/image_util.h',
390 'browser/ui/image_util.mm',
391 'browser/ui/keyboard/hardware_keyboard_watcher.h',
392 'browser/ui/keyboard/hardware_keyboard_watcher.mm',
393 'browser/ui/legacy_size_class_support_util.h',
394 'browser/ui/legacy_size_class_support_util.mm',
395 'browser/ui/native_content_controller.h',
396 'browser/ui/native_content_controller.mm',
397 'browser/ui/omnibox/web_omnibox_edit_controller.cc',
398 'browser/ui/omnibox/web_omnibox_edit_controller.h',
399 'browser/ui/orientation_limiting_navigation_controller.h',
400 'browser/ui/orientation_limiting_navigation_controller.mm',
401 'browser/ui/reversed_animation.h',
402 'browser/ui/reversed_animation.mm',
403 'browser/ui/show_mail_composer_util.h',
404 'browser/ui/show_mail_composer_util.mm',
405 'browser/ui/show_privacy_settings_util.h',
406 'browser/ui/show_privacy_settings_util.mm',
407 'browser/ui/side_swipe_gesture_recognizer.h',
408 'browser/ui/side_swipe_gesture_recognizer.mm',
409 'browser/ui/size_class_support_util.h',
410 'browser/ui/size_class_support_util.mm',
411 'browser/ui/ui_util.h',
412 'browser/ui/ui_util.mm',
413 'browser/ui/uikit_ui_util.h',
414 'browser/ui/uikit_ui_util.mm',
415 'browser/ui/url_loader.h',
416 'browser/undo/bookmark_undo_service_factory.cc',
417 'browser/undo/bookmark_undo_service_factory.h',
418 'browser/updatable_config/updatable_array.h',
419 'browser/updatable_config/updatable_array.mm',
420 'browser/updatable_config/updatable_config_base.h',
421 'browser/updatable_config/updatable_config_base.mm',
422 'browser/updatable_config/updatable_dictionary.h',
423 'browser/updatable_config/updatable_dictionary.mm',
424 'browser/web/dom_altering_lock.h',
425 'browser/web/dom_altering_lock.mm',
426 'browser/web/web_view_type_util.h',
427 'browser/web/web_view_type_util.mm',
428 'browser/web_data_service_factory.cc',
429 'browser/web_data_service_factory.h',
430 'browser/web_resource/ios_web_resource_service.cc',
431 'browser/web_resource/ios_web_resource_service.h',
432 'browser/xcallback_parameters.h',
433 'browser/xcallback_parameters.mm',
438 '../../components/components.gyp:rlz',
439 'ios_chrome_browser_rlz',
445 'target_name': 'ios_chrome_common',
446 'type': 'static_library',
452 '../../base/base.gyp:base',
453 '../../components/components.gyp:version_info',
457 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
458 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
462 'common/channel_info.h',
463 'common/channel_info.mm',
464 'common/string_util.h',
465 'common/string_util.mm',
469 'target_name': 'injected_js',
472 'browser/find_in_page/resources/find_in_page.js',
475 '../../ios/web/js_compile.gypi',
478 'mac_bundle_resources': [
479 '<(SHARED_INTERMEDIATE_DIR)/find_in_page.js',
484 'target_name': 'app_group_common',
485 'type': 'static_library',
487 'common/app_group/app_group_constants.h',
488 'common/app_group/app_group_constants.mm',
489 'common/app_group/app_group_metrics.h',
490 'common/app_group/app_group_metrics.mm',
493 # This target will be included into application extensions and the list
494 # of its dependencies must be kept as short as possible.
495 '../../base/base.gyp:base',
496 '../../components/components.gyp:version_info',
503 'target_name': 'app_group_client',
504 'type': 'static_library',
506 'common/app_group/app_group_metrics_client.h',
507 'common/app_group/app_group_metrics_client.mm',
510 # This target will be included into application extensions and the list
511 # of its dependencies must be kept as short as possible.
519 'target_name': 'app_group_mainapp',
520 'type': 'static_library',
522 'common/app_group/app_group_metrics_mainapp.h',
523 'common/app_group/app_group_metrics_mainapp.mm',
534 ['enable_rlz_support==1', {
537 'target_name': 'ios_chrome_browser_rlz',
538 'type': 'static_library',
540 'browser/rlz/rlz_tracker_delegate_impl.cc',
541 'browser/rlz/rlz_tracker_delegate_impl.h',
544 '../../components/components.gyp:google_core_browser',
545 '../../components/components.gyp:omnibox_browser',
546 '../../components/components.gyp:rlz',
547 '../../components/components.gyp:search_engines',
548 '../../rlz/rlz.gyp:rlz_lib',