Index: ios/chrome/browser/BUILD.gn |
diff --git a/ios/chrome/browser/BUILD.gn b/ios/chrome/browser/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..829cd499ed87a373a528611ff340f41569d3f840 |
--- /dev/null |
+++ b/ios/chrome/browser/BUILD.gn |
@@ -0,0 +1,602 @@ |
+# Copyright 2015 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//build/config/features.gni") |
+import("//ios/web/js_compile.gni") |
+ |
+source_set("browser") { |
+ sources = [ |
+ "app_startup_parameters.h", |
+ "app_startup_parameters.mm", |
+ "application_context.cc", |
+ "application_context.h", |
+ "application_context_impl.cc", |
+ "application_context_impl.h", |
+ "arch_util.cc", |
+ "arch_util.h", |
+ "autocomplete/autocomplete_classifier_factory.cc", |
+ "autocomplete/autocomplete_classifier_factory.h", |
+ "autocomplete/autocomplete_provider_client_impl.cc", |
+ "autocomplete/autocomplete_provider_client_impl.h", |
+ "autocomplete/autocomplete_scheme_classifier_impl.h", |
+ "autocomplete/autocomplete_scheme_classifier_impl.mm", |
+ "autocomplete/in_memory_url_index_factory.cc", |
+ "autocomplete/in_memory_url_index_factory.h", |
+ "autocomplete/shortcuts_backend_factory.cc", |
+ "autocomplete/shortcuts_backend_factory.h", |
+ "autofill/autofill_agent_utils.h", |
+ "autofill/autofill_agent_utils.mm", |
+ "autofill/form_input_accessory_view.h", |
+ "autofill/form_input_accessory_view.mm", |
+ "autofill/form_input_accessory_view_controller.h", |
+ "autofill/form_input_accessory_view_controller.mm", |
+ "autofill/form_input_accessory_view_delegate.h", |
+ "autofill/form_suggestion_controller.h", |
+ "autofill/form_suggestion_controller.mm", |
+ "autofill/form_suggestion_label.h", |
+ "autofill/form_suggestion_label.mm", |
+ "autofill/form_suggestion_provider.h", |
+ "autofill/form_suggestion_view.h", |
+ "autofill/form_suggestion_view.mm", |
+ "autofill/form_suggestion_view_client.h", |
+ "autofill/personal_data_manager_factory.cc", |
+ "autofill/personal_data_manager_factory.h", |
+ "bookmarks/bookmark_client_factory.cc", |
+ "bookmarks/bookmark_client_factory.h", |
+ "bookmarks/bookmark_client_impl.cc", |
+ "bookmarks/bookmark_client_impl.h", |
+ "bookmarks/bookmark_model_factory.cc", |
+ "bookmarks/bookmark_model_factory.h", |
+ "bookmarks/startup_task_runner_service_factory.cc", |
+ "bookmarks/startup_task_runner_service_factory.h", |
+ "browser_state/browser_state_info_cache.cc", |
+ "browser_state/browser_state_info_cache.h", |
+ "browser_state/browser_state_info_cache_observer.h", |
+ "browser_state/browser_state_keyed_service_factories.h", |
+ "browser_state/browser_state_keyed_service_factories.mm", |
+ "browser_state/browser_state_otr_helper.cc", |
+ "browser_state/browser_state_otr_helper.h", |
+ "browser_state_metrics/browser_state_metrics.cc", |
+ "browser_state_metrics/browser_state_metrics.h", |
+ "browsing_data_change_listening.h", |
+ "chrome_constants.cc", |
+ "chrome_constants.h", |
+ "chrome_paths.h", |
+ "chrome_paths.mm", |
+ "chrome_paths_internal.h", |
+ "chrome_switches.cc", |
+ "chrome_switches.h", |
+ "chrome_url_constants.cc", |
+ "chrome_url_constants.h", |
+ "chrome_url_util.h", |
+ "chrome_url_util.mm", |
+ "component_updater/ios_component_updater_configurator.cc", |
+ "component_updater/ios_component_updater_configurator.h", |
+ "content_settings/cookie_settings_factory.cc", |
+ "content_settings/cookie_settings_factory.h", |
+ "content_settings/host_content_settings_map_factory.cc", |
+ "content_settings/host_content_settings_map_factory.h", |
+ "crash_loop_detection_util.h", |
+ "crash_loop_detection_util.mm", |
+ "crash_report/breakpad_helper.h", |
+ "crash_report/breakpad_helper.mm", |
+ "crash_report/crash_keys.cc", |
+ "crash_report/crash_keys.h", |
+ "crash_report/crash_report_background_uploader.h", |
+ "crash_report/crash_report_background_uploader.mm", |
+ "crash_report/crash_report_multi_parameter.h", |
+ "crash_report/crash_report_multi_parameter.mm", |
+ "crash_report/crash_report_user_application_state.h", |
+ "crash_report/crash_report_user_application_state.mm", |
+ "crash_report/crash_upload_list.cc", |
+ "crash_report/crash_upload_list.h", |
+ "dom_distiller/distiller_viewer.cc", |
+ "dom_distiller/distiller_viewer.h", |
+ "dom_distiller/dom_distiller_service_factory.cc", |
+ "dom_distiller/dom_distiller_service_factory.h", |
+ "enhanced_bookmarks/bookmark_server_cluster_service_factory.cc", |
+ "enhanced_bookmarks/bookmark_server_cluster_service_factory.h", |
+ "enhanced_bookmarks/enhanced_bookmark_model_factory.cc", |
+ "enhanced_bookmarks/enhanced_bookmark_model_factory.h", |
+ "experimental_flags.h", |
+ "experimental_flags.mm", |
+ "favicon/favicon_client_impl.cc", |
+ "favicon/favicon_client_impl.h", |
+ "favicon/favicon_loader.h", |
+ "favicon/favicon_loader.mm", |
+ "favicon/favicon_service_factory.cc", |
+ "favicon/favicon_service_factory.h", |
+ "favicon/ios_chrome_favicon_loader_factory.h", |
+ "favicon/ios_chrome_favicon_loader_factory.mm", |
+ "favicon/ios_chrome_large_icon_cache_factory.cc", |
+ "favicon/ios_chrome_large_icon_cache_factory.h", |
+ "favicon/ios_chrome_large_icon_service_factory.cc", |
+ "favicon/ios_chrome_large_icon_service_factory.h", |
+ "favicon/large_icon_cache.cc", |
+ "favicon/large_icon_cache.h", |
+ "file_metadata_util.h", |
+ "file_metadata_util.mm", |
+ "find_in_page/find_in_page_controller.h", |
+ "find_in_page/find_in_page_controller.mm", |
+ "find_in_page/find_in_page_model.h", |
+ "find_in_page/find_in_page_model.mm", |
+ "find_in_page/js_findinpage_manager.h", |
+ "find_in_page/js_findinpage_manager.mm", |
+ "first_run/first_run.h", |
+ "first_run/first_run.mm", |
+ "first_run/first_run_configuration.h", |
+ "first_run/first_run_configuration.mm", |
+ "first_run/first_run_metrics.h", |
+ "geolocation/CLLocation+OmniboxGeolocation.h", |
+ "geolocation/CLLocation+OmniboxGeolocation.mm", |
+ "geolocation/CLLocation+XGeoHeader.h", |
+ "geolocation/CLLocation+XGeoHeader.mm", |
+ "geolocation/location_manager.h", |
+ "geolocation/location_manager.mm", |
+ "geolocation/omnibox_geolocation_authorization_alert.h", |
+ "geolocation/omnibox_geolocation_authorization_alert.mm", |
+ "geolocation/omnibox_geolocation_config.h", |
+ "geolocation/omnibox_geolocation_config.mm", |
+ "geolocation/omnibox_geolocation_local_state.h", |
+ "geolocation/omnibox_geolocation_local_state.mm", |
+ "google/google_brand.h", |
+ "google/google_brand.mm", |
+ "google/google_url_tracker_client_impl.cc", |
+ "google/google_url_tracker_client_impl.h", |
+ "google/google_url_tracker_factory.cc", |
+ "google/google_url_tracker_factory.h", |
+ "history/history_backend_client_impl.cc", |
+ "history/history_backend_client_impl.h", |
+ "history/history_client_impl.cc", |
+ "history/history_client_impl.h", |
+ "history/history_service_factory.cc", |
+ "history/history_service_factory.h", |
+ "history/history_utils.cc", |
+ "history/history_utils.h", |
+ "history/top_sites_factory.cc", |
+ "history/top_sites_factory.h", |
+ "history/web_history_service_factory.cc", |
+ "history/web_history_service_factory.h", |
+ "infobars/confirm_infobar_controller.h", |
+ "infobars/confirm_infobar_controller.mm", |
+ "infobars/infobar.h", |
+ "infobars/infobar.mm", |
+ "infobars/infobar_container_ios.h", |
+ "infobars/infobar_container_ios.mm", |
+ "infobars/infobar_container_view.h", |
+ "infobars/infobar_container_view.mm", |
+ "infobars/infobar_controller.h", |
+ "infobars/infobar_controller.mm", |
+ "infobars/infobar_manager_impl.cc", |
+ "infobars/infobar_manager_impl.h", |
+ "infobars/infobar_utils.h", |
+ "infobars/infobar_utils.mm", |
+ "install_time_util.h", |
+ "install_time_util.mm", |
+ "installation_notifier.h", |
+ "installation_notifier.mm", |
+ "invalidation/ios_chrome_profile_invalidation_provider_factory.cc", |
+ "invalidation/ios_chrome_profile_invalidation_provider_factory.h", |
+ "ios_chrome_field_trials.cc", |
+ "ios_chrome_field_trials.h", |
+ "memory/memory_debugger.h", |
+ "memory/memory_debugger.mm", |
+ "memory/memory_debugger_manager.h", |
+ "memory/memory_debugger_manager.mm", |
+ "memory/memory_metrics.cc", |
+ "memory/memory_metrics.h", |
+ "metrics/field_trial_synchronizer.cc", |
+ "metrics/field_trial_synchronizer.h", |
+ "metrics/ios_chrome_metrics_service_accessor.cc", |
+ "metrics/ios_chrome_metrics_service_accessor.h", |
+ "metrics/ios_chrome_metrics_service_client.cc", |
+ "metrics/ios_chrome_metrics_service_client.h", |
+ "metrics/ios_chrome_metrics_services_manager_client.cc", |
+ "metrics/ios_chrome_metrics_services_manager_client.h", |
+ "metrics/ios_chrome_stability_metrics_provider.cc", |
+ "metrics/ios_chrome_stability_metrics_provider.h", |
+ "metrics/ios_stability_metrics_provider.h", |
+ "metrics/ios_stability_metrics_provider.mm", |
+ "metrics/previous_session_info.h", |
+ "metrics/previous_session_info.mm", |
+ "net/chrome_cookie_store_ios_client.h", |
+ "net/chrome_cookie_store_ios_client.mm", |
+ "net/connection_type_observer_bridge.h", |
+ "net/connection_type_observer_bridge.mm", |
+ "net/cookie_util.h", |
+ "net/cookie_util.mm", |
+ "net/http_server_properties_manager_factory.cc", |
+ "net/http_server_properties_manager_factory.h", |
+ "net/image_fetcher.h", |
+ "net/image_fetcher.mm", |
+ "net/ios_chrome_http_user_agent_settings.cc", |
+ "net/ios_chrome_http_user_agent_settings.h", |
+ "net/ios_chrome_network_delegate.cc", |
+ "net/ios_chrome_network_delegate.h", |
+ "net/metrics_network_client.h", |
+ "net/metrics_network_client.mm", |
+ "net/metrics_network_client_manager.h", |
+ "net/metrics_network_client_manager.mm", |
+ "net/proxy_service_factory.cc", |
+ "net/proxy_service_factory.h", |
+ "net/retryable_url_fetcher.h", |
+ "net/retryable_url_fetcher.mm", |
+ "open_from_clipboard/create_clipboard_recent_content.h", |
+ "open_from_clipboard/create_clipboard_recent_content.mm", |
+ "passwords/ios_chrome_password_manager_setting_migrator_service_factory.cc", |
+ "passwords/ios_chrome_password_manager_setting_migrator_service_factory.h", |
+ "passwords/ios_chrome_password_store_factory.cc", |
+ "passwords/ios_chrome_password_store_factory.h", |
+ "passwords/password_generation_utils.h", |
+ "passwords/password_generation_utils.mm", |
+ "pref_names.cc", |
+ "pref_names.h", |
+ "prefs/browser_prefs.h", |
+ "prefs/browser_prefs.mm", |
+ "prefs/ios_chrome_pref_model_associator_client.cc", |
+ "prefs/ios_chrome_pref_model_associator_client.h", |
+ "prefs/ios_chrome_pref_service_factory.cc", |
+ "prefs/ios_chrome_pref_service_factory.h", |
+ "prefs/pref_observer_bridge.h", |
+ "prefs/pref_observer_bridge.mm", |
+ "procedural_block_types.h", |
+ "search/search_util.cc", |
+ "search/search_util.h", |
+ "search_engines/search_engines_util.cc", |
+ "search_engines/search_engines_util.h", |
+ "search_engines/template_url_service_client_impl.cc", |
+ "search_engines/template_url_service_client_impl.h", |
+ "search_engines/template_url_service_factory.cc", |
+ "search_engines/template_url_service_factory.h", |
+ "search_engines/ui_thread_search_terms_data.cc", |
+ "search_engines/ui_thread_search_terms_data.h", |
+ "services/gcm/ios_chrome_gcm_profile_service_factory.cc", |
+ "services/gcm/ios_chrome_gcm_profile_service_factory.h", |
+ "sessions/ios_chrome_session_tab_helper.cc", |
+ "sessions/ios_chrome_session_tab_helper.h", |
+ "sessions/ios_chrome_tab_restore_service_client.cc", |
+ "sessions/ios_chrome_tab_restore_service_client.h", |
+ "sessions/ios_chrome_tab_restore_service_factory.cc", |
+ "sessions/ios_chrome_tab_restore_service_factory.h", |
+ "signin/about_signin_internals_factory.cc", |
+ "signin/about_signin_internals_factory.h", |
+ "signin/account_consistency_service_factory.h", |
+ "signin/account_consistency_service_factory.mm", |
+ "signin/account_fetcher_service_factory.cc", |
+ "signin/account_fetcher_service_factory.h", |
+ "signin/account_reconcilor_factory.cc", |
+ "signin/account_reconcilor_factory.h", |
+ "signin/account_tracker_service_factory.cc", |
+ "signin/account_tracker_service_factory.h", |
+ "signin/chrome_identity_service_observer_bridge.h", |
+ "signin/chrome_identity_service_observer_bridge.mm", |
+ "signin/constants.h", |
+ "signin/constants.mm", |
+ "signin/gaia_auth_fetcher_ios.h", |
+ "signin/gaia_auth_fetcher_ios.mm", |
+ "signin/gaia_auth_fetcher_ios_private.h", |
+ "signin/gaia_cookie_manager_service_factory.cc", |
+ "signin/gaia_cookie_manager_service_factory.h", |
+ "signin/ios_chrome_signin_status_metrics_provider_delegate.cc", |
+ "signin/ios_chrome_signin_status_metrics_provider_delegate.h", |
+ "signin/oauth2_token_service_factory.cc", |
+ "signin/oauth2_token_service_factory.h", |
+ "signin/signin_client_factory.cc", |
+ "signin/signin_client_factory.h", |
+ "signin/signin_client_impl.cc", |
+ "signin/signin_client_impl.h", |
+ "signin/signin_error_controller_factory.cc", |
+ "signin/signin_error_controller_factory.h", |
+ "signin/signin_manager_factory.cc", |
+ "signin/signin_manager_factory.h", |
+ "signin/signin_manager_factory_observer.h", |
+ "signin/signin_util.h", |
+ "signin/signin_util.mm", |
+ "snapshots/lru_cache.h", |
+ "snapshots/lru_cache.mm", |
+ "snapshots/snapshot_cache.h", |
+ "snapshots/snapshot_cache.mm", |
+ "snapshots/snapshot_manager.h", |
+ "snapshots/snapshot_manager.mm", |
+ "snapshots/snapshot_overlay.h", |
+ "snapshots/snapshot_overlay.mm", |
+ "snapshots/snapshots_util.h", |
+ "snapshots/snapshots_util.mm", |
+ "suggestions/image_fetcher_impl.h", |
+ "suggestions/image_fetcher_impl.mm", |
+ "suggestions/suggestions_service_factory.h", |
+ "suggestions/suggestions_service_factory.mm", |
+ "sync/glue/sync_start_util.cc", |
+ "sync/glue/sync_start_util.h", |
+ "sync/ios_chrome_synced_tab_delegate.cc", |
+ "sync/ios_chrome_synced_tab_delegate.h", |
+ "sync/sessions/ios_chrome_local_session_event_router.cc", |
+ "sync/sessions/ios_chrome_local_session_event_router.h", |
+ "sync/sync_observer_bridge.h", |
+ "sync/sync_observer_bridge.mm", |
+ "sync/sync_setup_service.cc", |
+ "sync/sync_setup_service.h", |
+ "sync/sync_setup_service_factory.cc", |
+ "sync/sync_setup_service_factory.h", |
+ "tab_parenting_global_observer.cc", |
+ "tab_parenting_global_observer.h", |
+ "translate/after_translate_infobar_controller.h", |
+ "translate/after_translate_infobar_controller.mm", |
+ "translate/before_translate_infobar_controller.h", |
+ "translate/before_translate_infobar_controller.mm", |
+ "translate/chrome_ios_translate_client.h", |
+ "translate/chrome_ios_translate_client.mm", |
+ "translate/never_translate_infobar_controller.h", |
+ "translate/never_translate_infobar_controller.mm", |
+ "translate/translate_accept_languages_factory.cc", |
+ "translate/translate_accept_languages_factory.h", |
+ "translate/translate_infobar_tags.h", |
+ "translate/translate_message_infobar_controller.h", |
+ "translate/translate_message_infobar_controller.mm", |
+ "translate/translate_service_ios.cc", |
+ "translate/translate_service_ios.h", |
+ "ui/UIView+SizeClassSupport.h", |
+ "ui/UIView+SizeClassSupport.mm", |
+ "ui/animation_util.h", |
+ "ui/animation_util.mm", |
+ "ui/autofill/autofill_client_ios.h", |
+ "ui/autofill/autofill_client_ios.mm", |
+ "ui/background_generator.h", |
+ "ui/background_generator.mm", |
+ "ui/browser_otr_state.h", |
+ "ui/browser_otr_state.mm", |
+ "ui/commands/UIKit+ChromeExecuteCommand.h", |
+ "ui/commands/UIKit+ChromeExecuteCommand.mm", |
+ "ui/commands/clear_browsing_data_command.h", |
+ "ui/commands/clear_browsing_data_command.mm", |
+ "ui/commands/generic_chrome_command.h", |
+ "ui/commands/generic_chrome_command.mm", |
+ "ui/commands/ios_command_ids.h", |
+ "ui/commands/open_url_command.h", |
+ "ui/commands/open_url_command.mm", |
+ "ui/commands/set_up_for_testing_command.h", |
+ "ui/commands/set_up_for_testing_command.mm", |
+ "ui/commands/show_mail_composer_command.h", |
+ "ui/commands/show_mail_composer_command.mm", |
+ "ui/commands/show_signin_command.h", |
+ "ui/commands/show_signin_command.mm", |
+ "ui/file_locations.h", |
+ "ui/file_locations.mm", |
+ "ui/image_util.h", |
+ "ui/image_util.mm", |
+ "ui/keyboard/UIKeyCommand+Chrome.h", |
+ "ui/keyboard/UIKeyCommand+Chrome.mm", |
+ "ui/keyboard/hardware_keyboard_watcher.h", |
+ "ui/keyboard/hardware_keyboard_watcher.mm", |
+ "ui/legacy_size_class_support_util.h", |
+ "ui/legacy_size_class_support_util.mm", |
+ "ui/native_content_controller.h", |
+ "ui/native_content_controller.mm", |
+ "ui/omnibox/web_omnibox_edit_controller.cc", |
+ "ui/omnibox/web_omnibox_edit_controller.h", |
+ "ui/orientation_limiting_navigation_controller.h", |
+ "ui/orientation_limiting_navigation_controller.mm", |
+ "ui/reversed_animation.h", |
+ "ui/reversed_animation.mm", |
+ "ui/rtl_geometry.h", |
+ "ui/rtl_geometry.mm", |
+ "ui/show_mail_composer_util.h", |
+ "ui/show_mail_composer_util.mm", |
+ "ui/show_privacy_settings_util.h", |
+ "ui/show_privacy_settings_util.mm", |
+ "ui/side_swipe_gesture_recognizer.h", |
+ "ui/side_swipe_gesture_recognizer.mm", |
+ "ui/size_class_support_util.h", |
+ "ui/size_class_support_util.mm", |
+ "ui/ui_util.h", |
+ "ui/ui_util.mm", |
+ "ui/uikit_ui_util.h", |
+ "ui/uikit_ui_util.mm", |
+ "ui/url_loader.h", |
+ "ui/webui/about_ui.cc", |
+ "ui/webui/about_ui.h", |
+ "ui/webui/crashes_ui.cc", |
+ "ui/webui/crashes_ui.h", |
+ "ui/webui/net_export/net_export_ui.cc", |
+ "ui/webui/net_export/net_export_ui.h", |
+ "ui/webui/sync_internals/sync_internals_message_handler.cc", |
+ "ui/webui/sync_internals/sync_internals_message_handler.h", |
+ "ui/webui/sync_internals/sync_internals_ui.cc", |
+ "ui/webui/sync_internals/sync_internals_ui.h", |
+ "ui/webui/version_handler.cc", |
+ "ui/webui/version_handler.h", |
+ "ui/webui/version_ui.cc", |
+ "ui/webui/version_ui.h", |
+ "undo/bookmark_undo_service_factory.cc", |
+ "undo/bookmark_undo_service_factory.h", |
+ "updatable_config/updatable_array.h", |
+ "updatable_config/updatable_array.mm", |
+ "updatable_config/updatable_config_base.h", |
+ "updatable_config/updatable_config_base.mm", |
+ "updatable_config/updatable_dictionary.h", |
+ "updatable_config/updatable_dictionary.mm", |
+ "update_client/ios_chrome_update_query_params_delegate.cc", |
+ "update_client/ios_chrome_update_query_params_delegate.h", |
+ "variations/ios_chrome_variations_service_client.cc", |
+ "variations/ios_chrome_variations_service_client.h", |
+ "web/dom_altering_lock.h", |
+ "web/dom_altering_lock.mm", |
+ "web/web_view_type_util.h", |
+ "web/web_view_type_util.mm", |
+ "web_data_service_factory.cc", |
+ "web_data_service_factory.h", |
+ "web_resource/web_resource_util.cc", |
+ "web_resource/web_resource_util.h", |
+ "xcallback_parameters.h", |
+ "xcallback_parameters.mm", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//base:prefs", |
+ "//breakpad:client", |
+ "//components/autofill/core/browser", |
+ "//components/autofill/core/common", |
+ "//components/autofill/ios/browser", |
+ "//components/bookmarks/browser", |
+ "//components/bookmarks/managed", |
+ "//components/component_updater", |
+ "//components/content_settings/core/browser", |
+ "//components/crash/core/browser", |
+ "//components/crash/core/common", |
+ "//components/data_reduction_proxy/core/common", |
+ "//components/dom_distiller/core", |
+ "//components/dom_distiller/ios", |
+ "//components/domain_reliability", |
+ "//components/enhanced_bookmarks", |
+ "//components/favicon/core", |
+ "//components/favicon_base", |
+ "//components/gcm_driver", |
+ "//components/google/core/browser", |
+ "//components/history/core/browser", |
+ "//components/history/ios/browser", |
+ "//components/infobars/core", |
+ "//components/invalidation/impl", |
+ "//components/invalidation/public", |
+ "//components/keyed_service/core", |
+ "//components/keyed_service/ios", |
+ "//components/leveldb_proto", |
+ "//components/metrics", |
+ "//components/metrics:net", |
+ "//components/metrics:profiler", |
+ "//components/metrics:ui", |
+ "//components/net_log", |
+ "//components/network_time", |
+ "//components/omnibox/browser", |
+ "//components/open_from_clipboard", |
+ "//components/password_manager/core/browser", |
+ "//components/password_manager/sync/browser", |
+ "//components/policy:policy_component_common", |
+ "//components/pref_registry", |
+ "//components/profile_metrics", |
+ "//components/proxy_config", |
+ "//components/rappor", |
+ "//components/resources", |
+ "//components/search", |
+ "//components/search_engines", |
+ "//components/sessions", |
+ "//components/signin/core/browser", |
+ "//components/signin/core/common", |
+ "//components/signin/ios/browser", |
+ "//components/strings", |
+ "//components/suggestions", |
+ "//components/sync_driver", |
+ "//components/sync_sessions", |
+ "//components/syncable_prefs", |
+ "//components/translate/core/browser", |
+ "//components/translate/ios/browser", |
+ "//components/undo", |
+ "//components/update_client", |
+ "//components/upload_list", |
+ "//components/variations", |
+ "//components/variations/service", |
+ "//components/version_info", |
+ "//components/version_ui", |
+ "//components/web_resource", |
+ "//components/webdata_services", |
+ "//components/webp_transcode", |
+ "//google_apis", |
+ "//ios/chrome/browser/variations:ios_chrome_ui_string_overrider_factory", |
+ "//ios/chrome/common", |
+ "//ios/public/provider/chrome/browser", |
+ "//ios/web", |
+ "//net", |
+ "//net:extras", |
+ "//skia", |
+ "//sync", |
+ "//third_party/google_toolbox_for_mac", |
+ "//ui/base", |
+ "//ui/gfx", |
+ "//url", |
+ ":injected_js", |
Dirk Pranke
2015/11/17 02:46:12
nit: sort at the top?
|
+ |
+ # TODO(crbug.com/459705): add support for resource packing and change the |
+ # dependency to be on the packed resources instead of the unpacked ones. |
+ "//ios/chrome/app/strings", |
+ "//ios/chrome/app/theme", |
+ ] |
+ |
+ libs = [ |
+ "Accelerate.framework", |
+ "CoreGraphics.framework", |
+ "CoreLocation.framework", |
+ "Foundation.framework", |
+ "QuartzCore.framework", |
+ "UIKit.framework", |
+ ] |
+ |
+ if (enable_rlz) { |
+ deps += [ |
+ "//components/rlz", |
+ ":rlz", |
Dirk Pranke
2015/11/17 02:46:12
nit: sorting
|
+ ] |
+ } |
+ |
+ if (enable_configuration_policy) { |
+ deps += [ |
+ "//components/policy/core/browser", |
+ "//components/policy/core/common", |
+ ] |
+ } |
+} |
+ |
+# TODO(crbug.com/487804): use js_compile_checked instead once the errors have |
+# been fixed. |
+js_compile_unchecked("injected_js") { |
+ visibility = [ ":browser" ] |
+ sources = [ |
+ "find_in_page/resources/find_in_page.js", |
+ ] |
+} |
+ |
+if (enable_rlz_support) { |
+ source_set("rlz") { |
+ sources = [ |
+ "rlz/rlz_tracker_delegate_impl.cc", |
+ "rlz/rlz_tracker_delegate_impl.h", |
+ ] |
+ |
+ deps = [ |
+ "//components/google/core/browser", |
+ "//components/omnibox/browser", |
+ "//components/rlz", |
+ "//components/search_engines", |
+ "//rlz:rlz_lib", |
+ ] |
+ } |
+} |
+ |
+source_set("test_support") { |
+ testonly = true |
+ sources = [ |
+ "geolocation/location_manager+Testing.h", |
+ "geolocation/test_location_manager.h", |
+ "geolocation/test_location_manager.mm", |
+ "net/mock_image_fetcher.h", |
+ "net/mock_image_fetcher.mm", |
+ "signin/fake_oauth2_token_service_builder.cc", |
+ "signin/fake_oauth2_token_service_builder.h", |
+ "signin/fake_signin_manager_builder.cc", |
+ "signin/fake_signin_manager_builder.h", |
+ "sync/sync_setup_service_mock.cc", |
+ "sync/sync_setup_service_mock.h", |
+ ] |
+ |
+ deps = [ |
+ "//components/signin/core/browser", |
+ "//components/signin/ios/browser", |
+ "//ios/chrome/browser", |
+ "//ios/chrome/test", |
+ "//ios/public/provider/chrome/browser", |
+ "//testing/gmock", |
+ "//testing/gtest", |
+ "//ui/base", |
+ "//url", |
+ ] |
+} |