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