BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / ios / chrome / ios_chrome.gyp
blob2a8922b8269bbe25c226070aae7ff7f96099c0dc
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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       'target_name': 'ios_chrome_app',
12       'type': 'static_library',
13       'include_dirs': [
14         '../..',
15       ],
16       'dependencies': [
17         '../../base/base.gyp:base',
18         'ios_chrome_browser',
19       ],
20       'link_settings': {
21         'libraries': [
22           '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
23           '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
24         ],
25       },
26       'sources': [
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',
35       ],
36     },
37     {
38       'target_name': 'ios_chrome_browser',
39       'type': 'static_library',
40       'include_dirs': [
41         '../..',
42       ],
43       'dependencies': [
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:component_updater',
53         '../../components/components.gyp:content_settings_core_browser',
54         '../../components/components.gyp:crash_keys',
55         '../../components/components.gyp:data_reduction_proxy_core_common',
56         '../../components/components.gyp:dom_distiller_core',
57         '../../components/components.gyp:dom_distiller_ios',
58         '../../components/components.gyp:enhanced_bookmarks',
59         '../../components/components.gyp:favicon_core',
60         '../../components/components.gyp:gcm_driver',
61         '../../components/components.gyp:google_core_browser',
62         '../../components/components.gyp:history_core_browser',
63         '../../components/components.gyp:history_ios_browser',
64         '../../components/components.gyp:infobars_core',
65         '../../components/components.gyp:invalidation_impl',
66         '../../components/components.gyp:invalidation_public',
67         '../../components/components.gyp:keyed_service_core',
68         '../../components/components.gyp:keyed_service_ios',
69         '../../components/components.gyp:leveldb_proto',
70         '../../components/components.gyp:metrics',
71         '../../components/components.gyp:network_time',
72         '../../components/components.gyp:omnibox_browser',
73         '../../components/components.gyp:open_from_clipboard',
74         '../../components/components.gyp:password_manager_core_browser',
75         '../../components/components.gyp:password_manager_sync_browser',
76         '../../components/components.gyp:pref_registry',
77         '../../components/components.gyp:proxy_config',
78         '../../components/components.gyp:rappor',
79         '../../components/components.gyp:search',
80         '../../components/components.gyp:search_engines',
81         '../../components/components.gyp:sessions_ios',
82         '../../components/components.gyp:signin_core_browser',
83         '../../components/components.gyp:signin_core_common',
84         '../../components/components.gyp:signin_ios_browser',
85         '../../components/components.gyp:suggestions',
86         '../../components/components.gyp:sync_driver',
87         '../../components/components.gyp:syncable_prefs',
88         '../../components/components.gyp:translate_core_browser',
89         '../../components/components.gyp:translate_ios_browser',
90         '../../components/components.gyp:undo_component',
91         '../../components/components.gyp:update_client',
92         '../../components/components.gyp:upload_list',
93         '../../components/components.gyp:variations',
94         '../../components/components.gyp:version_info',
95         '../../components/components.gyp:web_resource',
96         '../../components/components.gyp:webdata_services',
97         '../../components/components.gyp:webp_transcode',
98         '../../components/components_strings.gyp:components_strings',
99         '../../google_apis/google_apis.gyp:google_apis',
100         '../../net/net.gyp:net',
101         '../../skia/skia.gyp:skia',
102         '../../sync/sync.gyp:sync',
103         '../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
104         '../../ui/base/ui_base.gyp:ui_base',
105         '../../ui/gfx/gfx.gyp:gfx',
106         '../../url/url.gyp:url_lib',
107         '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser',
108         '../web/ios_web.gyp:ios_web',
109         'injected_js',
110         'ios_chrome_common',
111         'ios_chrome_resources.gyp:ios_chrome_resources',
112       ],
113       'link_settings': {
114         'libraries': [
115           '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
116           '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
117           '$(SDKROOT)/System/Library/Frameworks/CoreLocation.framework',
118           '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
119           '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
120           '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
121         ],
122       },
123       'sources': [
124         'browser/app_startup_parameters.h',
125         'browser/app_startup_parameters.mm',
126         'browser/application_context.cc',
127         'browser/application_context.h',
128         'browser/application_context_impl.cc',
129         'browser/application_context_impl.h',
130         'browser/arch_util.cc',
131         'browser/arch_util.h',
132         'browser/autocomplete/autocomplete_classifier_factory.cc',
133         'browser/autocomplete/autocomplete_classifier_factory.h',
134         'browser/autocomplete/autocomplete_provider_client_impl.cc',
135         'browser/autocomplete/autocomplete_provider_client_impl.h',
136         'browser/autocomplete/autocomplete_scheme_classifier_impl.h',
137         'browser/autocomplete/autocomplete_scheme_classifier_impl.mm',
138         'browser/autocomplete/in_memory_url_index_factory.cc',
139         'browser/autocomplete/in_memory_url_index_factory.h',
140         'browser/autocomplete/shortcuts_backend_factory.cc',
141         'browser/autocomplete/shortcuts_backend_factory.h',
142         'browser/autofill/autofill_agent_utils.h',
143         'browser/autofill/autofill_agent_utils.mm',
144         'browser/autofill/form_input_accessory_view.h',
145         'browser/autofill/form_input_accessory_view.mm',
146         'browser/autofill/form_input_accessory_view_controller.h',
147         'browser/autofill/form_input_accessory_view_controller.mm',
148         'browser/autofill/form_input_accessory_view_delegate.h',
149         'browser/autofill/form_suggestion_controller.h',
150         'browser/autofill/form_suggestion_controller.mm',
151         'browser/autofill/form_suggestion_label.h',
152         'browser/autofill/form_suggestion_label.mm',
153         'browser/autofill/form_suggestion_provider.h',
154         'browser/autofill/form_suggestion_view.h',
155         'browser/autofill/form_suggestion_view.mm',
156         'browser/autofill/form_suggestion_view_client.h',
157         'browser/autofill/personal_data_manager_factory.cc',
158         'browser/autofill/personal_data_manager_factory.h',
159         'browser/bookmarks/bookmark_client_factory.cc',
160         'browser/bookmarks/bookmark_client_factory.h',
161         'browser/bookmarks/bookmark_client_impl.cc',
162         'browser/bookmarks/bookmark_client_impl.h',
163         'browser/bookmarks/bookmark_model_factory.cc',
164         'browser/bookmarks/bookmark_model_factory.h',
165         'browser/bookmarks/startup_task_runner_service_factory.cc',
166         'browser/bookmarks/startup_task_runner_service_factory.h',
167         'browser/browser_state/browser_state_keyed_service_factories.h',
168         'browser/browser_state/browser_state_keyed_service_factories.mm',
169         'browser/browser_state/browser_state_otr_helper.cc',
170         'browser/browser_state/browser_state_otr_helper.h',
171         'browser/browsing_data_change_listening.h',
172         'browser/chrome_paths.h',
173         'browser/chrome_paths.mm',
174         'browser/chrome_switches.cc',
175         'browser/chrome_switches.h',
176         'browser/chrome_url_constants.cc',
177         'browser/chrome_url_constants.h',
178         'browser/chrome_url_util.h',
179         'browser/chrome_url_util.mm',
180         'browser/component_updater/ios_component_updater_configurator.cc',
181         'browser/component_updater/ios_component_updater_configurator.h',
182         'browser/content_settings/cookie_settings_factory.cc',
183         'browser/content_settings/cookie_settings_factory.h',
184         'browser/content_settings/host_content_settings_map_factory.cc',
185         'browser/content_settings/host_content_settings_map_factory.h',
186         'browser/crash_loop_detection_util.h',
187         'browser/crash_loop_detection_util.mm',
188         'browser/crash_report/breakpad_helper.h',
189         'browser/crash_report/breakpad_helper.mm',
190         'browser/crash_report/crash_keys.cc',
191         'browser/crash_report/crash_keys.h',
192         'browser/crash_report/crash_report_background_uploader.h',
193         'browser/crash_report/crash_report_background_uploader.mm',
194         'browser/crash_report/crash_report_multi_parameter.h',
195         'browser/crash_report/crash_report_multi_parameter.mm',
196         'browser/crash_report/crash_report_user_application_state.h',
197         'browser/crash_report/crash_report_user_application_state.mm',
198         'browser/crash_report/crash_upload_list.cc',
199         'browser/crash_report/crash_upload_list.h',
200         'browser/dom_distiller/distiller_viewer.cc',
201         'browser/dom_distiller/distiller_viewer.h',
202         'browser/dom_distiller/dom_distiller_service_factory.cc',
203         'browser/dom_distiller/dom_distiller_service_factory.h',
204         'browser/enhanced_bookmarks/bookmark_server_cluster_service_factory.cc',
205         'browser/enhanced_bookmarks/bookmark_server_cluster_service_factory.h',
206         'browser/enhanced_bookmarks/enhanced_bookmark_model_factory.cc',
207         'browser/enhanced_bookmarks/enhanced_bookmark_model_factory.h',
208         'browser/experimental_flags.h',
209         'browser/experimental_flags.mm',
210         'browser/favicon/favicon_client_impl.cc',
211         'browser/favicon/favicon_client_impl.h',
212         'browser/favicon/favicon_service_factory.cc',
213         'browser/favicon/favicon_service_factory.h',
214         'browser/file_metadata_util.h',
215         'browser/file_metadata_util.mm',
216         'browser/find_in_page/find_in_page_controller.h',
217         'browser/find_in_page/find_in_page_controller.mm',
218         'browser/find_in_page/find_in_page_model.h',
219         'browser/find_in_page/find_in_page_model.mm',
220         'browser/find_in_page/js_findinpage_manager.h',
221         'browser/find_in_page/js_findinpage_manager.mm',
222         'browser/first_run/first_run.h',
223         'browser/first_run/first_run.mm',
224         'browser/first_run/first_run_configuration.h',
225         'browser/first_run/first_run_configuration.mm',
226         'browser/first_run/first_run_metrics.h',
227         'browser/geolocation/CLLocation+OmniboxGeolocation.h',
228         'browser/geolocation/CLLocation+OmniboxGeolocation.mm',
229         'browser/geolocation/CLLocation+XGeoHeader.h',
230         'browser/geolocation/CLLocation+XGeoHeader.mm',
231         'browser/geolocation/location_manager.h',
232         'browser/geolocation/location_manager.mm',
233         'browser/geolocation/omnibox_geolocation_authorization_alert.h',
234         'browser/geolocation/omnibox_geolocation_authorization_alert.mm',
235         'browser/geolocation/omnibox_geolocation_config.h',
236         'browser/geolocation/omnibox_geolocation_config.mm',
237         'browser/geolocation/omnibox_geolocation_local_state.h',
238         'browser/geolocation/omnibox_geolocation_local_state.mm',
239         'browser/google/google_brand.h',
240         'browser/google/google_brand.mm',
241         'browser/google/google_url_tracker_client_impl.cc',
242         'browser/google/google_url_tracker_client_impl.h',
243         'browser/google/google_url_tracker_factory.cc',
244         'browser/google/google_url_tracker_factory.h',
245         'browser/history/history_backend_client_impl.cc',
246         'browser/history/history_backend_client_impl.h',
247         'browser/history/history_client_impl.cc',
248         'browser/history/history_client_impl.h',
249         'browser/history/history_service_factory.cc',
250         'browser/history/history_service_factory.h',
251         'browser/history/history_utils.cc',
252         'browser/history/history_utils.h',
253         'browser/history/top_sites_factory.cc',
254         'browser/history/top_sites_factory.h',
255         'browser/history/web_history_service_factory.cc',
256         'browser/history/web_history_service_factory.h',
257         'browser/infobars/confirm_infobar_controller.h',
258         'browser/infobars/confirm_infobar_controller.mm',
259         'browser/infobars/infobar.h',
260         'browser/infobars/infobar.mm',
261         'browser/infobars/infobar_container_ios.h',
262         'browser/infobars/infobar_container_ios.mm',
263         'browser/infobars/infobar_container_view.h',
264         'browser/infobars/infobar_container_view.mm',
265         'browser/infobars/infobar_controller.h',
266         'browser/infobars/infobar_controller.mm',
267         'browser/infobars/infobar_manager_impl.cc',
268         'browser/infobars/infobar_manager_impl.h',
269         'browser/infobars/infobar_utils.h',
270         'browser/infobars/infobar_utils.mm',
271         'browser/install_time_util.h',
272         'browser/install_time_util.mm',
273         'browser/installation_notifier.h',
274         'browser/installation_notifier.mm',
275         'browser/memory/memory_debugger.h',
276         'browser/memory/memory_debugger.mm',
277         'browser/memory/memory_debugger_manager.h',
278         'browser/memory/memory_debugger_manager.mm',
279         'browser/memory/memory_metrics.cc',
280         'browser/memory/memory_metrics.h',
281         'browser/metrics/field_trial_synchronizer.cc',
282         'browser/metrics/field_trial_synchronizer.h',
283         'browser/metrics/ios_stability_metrics_provider.h',
284         'browser/metrics/ios_stability_metrics_provider.mm',
285         'browser/metrics/previous_session_info.h',
286         'browser/metrics/previous_session_info.mm',
287         'browser/net/chrome_cookie_store_ios_client.h',
288         'browser/net/chrome_cookie_store_ios_client.mm',
289         'browser/net/connection_type_observer_bridge.h',
290         'browser/net/connection_type_observer_bridge.mm',
291         'browser/net/cookie_util.h',
292         'browser/net/cookie_util.mm',
293         'browser/net/http_server_properties_manager_factory.cc',
294         'browser/net/http_server_properties_manager_factory.h',
295         'browser/net/image_fetcher.h',
296         'browser/net/image_fetcher.mm',
297         'browser/net/ios_chrome_http_user_agent_settings.cc',
298         'browser/net/ios_chrome_http_user_agent_settings.h',
299         'browser/net/ios_chrome_network_delegate.cc',
300         'browser/net/ios_chrome_network_delegate.h',
301         'browser/net/metrics_network_client.h',
302         'browser/net/metrics_network_client.mm',
303         'browser/net/metrics_network_client_manager.h',
304         'browser/net/metrics_network_client_manager.mm',
305         'browser/net/proxy_service_factory.cc',
306         'browser/net/proxy_service_factory.h',
307         'browser/net/retryable_url_fetcher.h',
308         'browser/net/retryable_url_fetcher.mm',
309         'browser/open_from_clipboard/create_clipboard_recent_content.h',
310         'browser/open_from_clipboard/create_clipboard_recent_content.mm',
311         'browser/passwords/password_generation_utils.h',
312         'browser/passwords/password_generation_utils.mm',
313         'browser/pref_names.cc',
314         'browser/pref_names.h',
315         'browser/prefs/browser_prefs.cc',
316         'browser/prefs/browser_prefs.h',
317         'browser/prefs/ios_chrome_pref_model_associator_client.cc',
318         'browser/prefs/ios_chrome_pref_model_associator_client.h',
319         'browser/prefs/ios_chrome_pref_service_factory.cc',
320         'browser/prefs/ios_chrome_pref_service_factory.h',
321         'browser/prefs/pref_observer_bridge.h',
322         'browser/prefs/pref_observer_bridge.mm',
323         'browser/procedural_block_types.h',
324         'browser/search/search_util.cc',
325         'browser/search/search_util.h',
326         'browser/search_engines/search_engines_util.cc',
327         'browser/search_engines/search_engines_util.h',
328         'browser/search_engines/template_url_service_client_impl.cc',
329         'browser/search_engines/template_url_service_client_impl.h',
330         'browser/search_engines/template_url_service_factory.cc',
331         'browser/search_engines/template_url_service_factory.h',
332         'browser/search_engines/ui_thread_search_terms_data.cc',
333         'browser/search_engines/ui_thread_search_terms_data.h',
334         'browser/sessions/ios_chrome_session_tab_helper.cc',
335         'browser/sessions/ios_chrome_session_tab_helper.h',
336         'browser/signin/about_signin_internals_factory.cc',
337         'browser/signin/about_signin_internals_factory.h',
338         'browser/signin/account_consistency_service_factory.h',
339         'browser/signin/account_consistency_service_factory.mm',
340         'browser/signin/account_fetcher_service_factory.cc',
341         'browser/signin/account_fetcher_service_factory.h',
342         'browser/signin/account_reconcilor_factory.cc',
343         'browser/signin/account_reconcilor_factory.h',
344         'browser/signin/account_tracker_service_factory.cc',
345         'browser/signin/account_tracker_service_factory.h',
346         'browser/signin/chrome_identity_service_observer_bridge.h',
347         'browser/signin/chrome_identity_service_observer_bridge.mm',
348         'browser/signin/constants.h',
349         'browser/signin/constants.mm',
350         'browser/signin/gaia_auth_fetcher_ios.h',
351         'browser/signin/gaia_auth_fetcher_ios.mm',
352         'browser/signin/gaia_auth_fetcher_ios_private.h',
353         'browser/signin/gaia_cookie_manager_service_factory.cc',
354         'browser/signin/gaia_cookie_manager_service_factory.h',
355         'browser/signin/oauth2_token_service_factory.cc',
356         'browser/signin/oauth2_token_service_factory.h',
357         'browser/signin/signin_client_factory.cc',
358         'browser/signin/signin_client_factory.h',
359         'browser/signin/signin_client_impl.cc',
360         'browser/signin/signin_client_impl.h',
361         'browser/signin/signin_error_controller_factory.cc',
362         'browser/signin/signin_error_controller_factory.h',
363         'browser/signin/signin_manager_factory.cc',
364         'browser/signin/signin_manager_factory.h',
365         'browser/signin/signin_manager_factory_observer.h',
366         'browser/signin/signin_util.h',
367         'browser/signin/signin_util.mm',
368         'browser/snapshots/snapshot_cache.h',
369         'browser/snapshots/snapshot_cache.mm',
370         'browser/snapshots/snapshot_manager.h',
371         'browser/snapshots/snapshot_manager.mm',
372         'browser/snapshots/snapshot_overlay.h',
373         'browser/snapshots/snapshot_overlay.mm',
374         'browser/snapshots/snapshots_util.h',
375         'browser/snapshots/snapshots_util.mm',
376         'browser/suggestions/image_fetcher_impl.h',
377         'browser/suggestions/image_fetcher_impl.mm',
378         'browser/suggestions/suggestions_service_factory.h',
379         'browser/suggestions/suggestions_service_factory.mm',
380         'browser/sync/glue/sync_start_util.cc',
381         'browser/sync/glue/sync_start_util.h',
382         'browser/sync/sync_observer_bridge.h',
383         'browser/sync/sync_observer_bridge.mm',
384         'browser/sync/sync_setup_service.cc',
385         'browser/sync/sync_setup_service.h',
386         'browser/sync/sync_setup_service_factory.cc',
387         'browser/sync/sync_setup_service_factory.h',
388         'browser/translate/after_translate_infobar_controller.h',
389         'browser/translate/after_translate_infobar_controller.mm',
390         'browser/translate/before_translate_infobar_controller.h',
391         'browser/translate/before_translate_infobar_controller.mm',
392         'browser/translate/chrome_ios_translate_client.h',
393         'browser/translate/chrome_ios_translate_client.mm',
394         'browser/translate/never_translate_infobar_controller.h',
395         'browser/translate/never_translate_infobar_controller.mm',
396         'browser/translate/translate_accept_languages_factory.cc',
397         'browser/translate/translate_accept_languages_factory.h',
398         'browser/translate/translate_infobar_tags.h',
399         'browser/translate/translate_message_infobar_controller.h',
400         'browser/translate/translate_message_infobar_controller.mm',
401         'browser/translate/translate_service_ios.cc',
402         'browser/translate/translate_service_ios.h',
403         'browser/ui/UIView+SizeClassSupport.h',
404         'browser/ui/UIView+SizeClassSupport.mm',
405         'browser/ui/animation_util.h',
406         'browser/ui/animation_util.mm',
407         'browser/ui/autofill/autofill_client_ios.h',
408         'browser/ui/autofill/autofill_client_ios.mm',
409         'browser/ui/background_generator.h',
410         'browser/ui/background_generator.mm',
411         'browser/ui/browser_otr_state.h',
412         'browser/ui/browser_otr_state.mm',
413         'browser/ui/commands/UIKit+ChromeExecuteCommand.h',
414         'browser/ui/commands/UIKit+ChromeExecuteCommand.mm',
415         'browser/ui/commands/clear_browsing_data_command.h',
416         'browser/ui/commands/clear_browsing_data_command.mm',
417         'browser/ui/commands/generic_chrome_command.h',
418         'browser/ui/commands/generic_chrome_command.mm',
419         'browser/ui/commands/ios_command_ids.h',
420         'browser/ui/commands/open_url_command.h',
421         'browser/ui/commands/open_url_command.mm',
422         'browser/ui/commands/set_up_for_testing_command.h',
423         'browser/ui/commands/set_up_for_testing_command.mm',
424         'browser/ui/commands/show_mail_composer_command.h',
425         'browser/ui/commands/show_mail_composer_command.mm',
426         'browser/ui/commands/show_signin_command.h',
427         'browser/ui/commands/show_signin_command.mm',
428         'browser/ui/file_locations.h',
429         'browser/ui/file_locations.mm',
430         'browser/ui/image_util.h',
431         'browser/ui/image_util.mm',
432         'browser/ui/keyboard/UIKeyCommand+Chrome.h',
433         'browser/ui/keyboard/UIKeyCommand+Chrome.mm',
434         'browser/ui/keyboard/hardware_keyboard_watcher.h',
435         'browser/ui/keyboard/hardware_keyboard_watcher.mm',
436         'browser/ui/legacy_size_class_support_util.h',
437         'browser/ui/legacy_size_class_support_util.mm',
438         'browser/ui/native_content_controller.h',
439         'browser/ui/native_content_controller.mm',
440         'browser/ui/omnibox/web_omnibox_edit_controller.cc',
441         'browser/ui/omnibox/web_omnibox_edit_controller.h',
442         'browser/ui/orientation_limiting_navigation_controller.h',
443         'browser/ui/orientation_limiting_navigation_controller.mm',
444         'browser/ui/reversed_animation.h',
445         'browser/ui/reversed_animation.mm',
446         'browser/ui/rtl_geometry.h',
447         'browser/ui/rtl_geometry.mm',
448         'browser/ui/show_mail_composer_util.h',
449         'browser/ui/show_mail_composer_util.mm',
450         'browser/ui/show_privacy_settings_util.h',
451         'browser/ui/show_privacy_settings_util.mm',
452         'browser/ui/side_swipe_gesture_recognizer.h',
453         'browser/ui/side_swipe_gesture_recognizer.mm',
454         'browser/ui/size_class_support_util.h',
455         'browser/ui/size_class_support_util.mm',
456         'browser/ui/ui_util.h',
457         'browser/ui/ui_util.mm',
458         'browser/ui/uikit_ui_util.h',
459         'browser/ui/uikit_ui_util.mm',
460         'browser/ui/url_loader.h',
461         'browser/undo/bookmark_undo_service_factory.cc',
462         'browser/undo/bookmark_undo_service_factory.h',
463         'browser/updatable_config/updatable_array.h',
464         'browser/updatable_config/updatable_array.mm',
465         'browser/updatable_config/updatable_config_base.h',
466         'browser/updatable_config/updatable_config_base.mm',
467         'browser/updatable_config/updatable_dictionary.h',
468         'browser/updatable_config/updatable_dictionary.mm',
469         'browser/web/dom_altering_lock.h',
470         'browser/web/dom_altering_lock.mm',
471         'browser/web/web_view_type_util.h',
472         'browser/web/web_view_type_util.mm',
473         'browser/web_data_service_factory.cc',
474         'browser/web_data_service_factory.h',
475         'browser/web_resource/web_resource_util.cc',
476         'browser/web_resource/web_resource_util.h',
477         'browser/xcallback_parameters.h',
478         'browser/xcallback_parameters.mm',
479       ],
480       'conditions': [
481         ['enable_rlz==1', {
482           'dependencies': [
483             '../../components/components.gyp:rlz',
484             'ios_chrome_browser_rlz',
485           ],
486         }],
487         ['configuration_policy==1', {
488           'dependencies': [
489             '../../components/components.gyp:policy_component_browser',
490             '../../components/components.gyp:policy_component_common',
491           ],
492         }],
493       ],
494     },
495     {
496       'target_name': 'ios_chrome_common',
497       'type': 'static_library',
498       'include_dirs': [
499         '../..',
500       ],
501       'dependencies': [
502         'app_group_mainapp',
503         '../../base/base.gyp:base',
504         '../../components/components.gyp:version_info',
505       ],
506       'link_settings': {
507         'libraries': [
508           '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
509           '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
510         ],
511       },
512       'sources': [
513         'common/channel_info.h',
514         'common/channel_info.mm',
515         'common/string_util.h',
516         'common/string_util.mm',
517       ]
518     },
519     {
520       'target_name': 'injected_js',
521       'type': 'none',
522       'sources': [
523         'browser/find_in_page/resources/find_in_page.js',
524       ],
525       'includes': [
526         '../../ios/web/js_compile.gypi',
527       ],
528       'link_settings': {
529         'mac_bundle_resources': [
530           '<(SHARED_INTERMEDIATE_DIR)/find_in_page.js',
531         ],
532       },
533     },
534     {
535       'target_name': 'app_group_common',
536       'type': 'static_library',
537       'sources': [
538         'common/app_group/app_group_constants.h',
539         'common/app_group/app_group_constants.mm',
540         'common/app_group/app_group_metrics.h',
541         'common/app_group/app_group_metrics.mm',
542       ],
543       'dependencies': [
544         # This target will be included into application extensions and the list
545         # of its dependencies must be kept as short as possible.
546         '../../base/base.gyp:base',
547         '../../components/components.gyp:version_info',
548       ],
549       'include_dirs': [
550         '../..',
551       ],
552     },
553     {
554       'target_name': 'app_group_client',
555       'type': 'static_library',
556       'sources': [
557         'common/app_group/app_group_metrics_client.h',
558         'common/app_group/app_group_metrics_client.mm',
559       ],
560       'dependencies': [
561         # This target will be included into application extensions and the list
562         # of its dependencies must be kept as short as possible.
563         'app_group_common',
564       ],
565       'include_dirs': [
566         '../..',
567       ],
568     },
569     {
570       'target_name': 'app_group_mainapp',
571       'type': 'static_library',
572       'sources': [
573         'common/app_group/app_group_metrics_mainapp.h',
574         'common/app_group/app_group_metrics_mainapp.mm',
575       ],
576       'dependencies': [
577         'app_group_common',
578       ],
579       'include_dirs': [
580         '../..',
581       ],
582     },
583   ],
584   'conditions': [
585     ['enable_rlz_support==1', {
586       'targets': [
587         {
588           'target_name': 'ios_chrome_browser_rlz',
589           'type': 'static_library',
590           'sources': [
591             'browser/rlz/rlz_tracker_delegate_impl.cc',
592             'browser/rlz/rlz_tracker_delegate_impl.h',
593           ],
594           'dependencies': [
595             '../../components/components.gyp:google_core_browser',
596             '../../components/components.gyp:omnibox_browser',
597             '../../components/components.gyp:rlz',
598             '../../components/components.gyp:search_engines',
599             '../../rlz/rlz.gyp:rlz_lib',
600           ],
601         },
602       ],
603     }],
604   ],