chromium/ios/chrome/browser/shared/public/commands/BUILD.gn

# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("commands") {
  sources = [
    "account_picker_commands.h",
    "activity_service_commands.h",
    "activity_service_share_url_command.h",
    "activity_service_share_url_command.mm",
    "add_contacts_commands.h",
    "application_commands.h",
    "autofill_commands.h",
    "bookmarks_commands.h",
    "bring_android_tabs_commands.h",
    "browser_commands.h",
    "browser_coordinator_commands.h",
    "command_dispatcher.h",
    "command_dispatcher.mm",
    "contextual_panel_entrypoint_commands.h",
    "contextual_panel_entrypoint_iph_commands.h",
    "contextual_sheet_commands.h",
    "country_code_picker_commands.h",
    "credential_provider_promo_commands.h",
    "docking_promo_commands.h",
    "drive_file_picker_commands.h",
    "feed_commands.h",
    "find_in_page_commands.h",
    "generate_qr_code_command.h",
    "generate_qr_code_command.mm",
    "help_commands.h",
    "lens_commands.h",
    "lens_overlay_commands.h",
    "load_query_commands.h",
    "manage_storage_alert_commands.h",
    "mini_map_commands.h",
    "new_tab_page_commands.h",
    "omnibox_commands.h",
    "open_lens_input_selection_command.h",
    "open_lens_input_selection_command.mm",
    "open_new_tab_command.h",
    "open_new_tab_command.mm",
    "overflow_menu_customization_commands.h",
    "page_info_commands.h",
    "parcel_tracking_opt_in_commands.h",
    "password_breach_commands.h",
    "password_protection_commands.h",
    "password_suggestion_commands.h",
    "policy_change_commands.h",
    "popup_menu_commands.h",
    "price_notifications_commands.h",
    "promos_manager_commands.h",
    "qr_generation_commands.h",
    "qr_scanner_commands.h",
    "quick_delete_commands.h",
    "reading_list_add_command.h",
    "reading_list_add_command.mm",
    "save_image_to_photos_command.h",
    "save_image_to_photos_command.mm",
    "save_to_drive_commands.h",
    "save_to_photos_commands.h",
    "search_image_with_lens_command.h",
    "search_image_with_lens_command.mm",
    "security_alert_commands.h",
    "settings_commands.h",
    "share_download_overlay_commands.h",
    "share_highlight_command.h",
    "share_highlight_command.mm",
    "show_signin_command.h",
    "show_signin_command.mm",
    "snackbar_commands.h",
    "tab_grid_commands.h",
    "tab_grid_toolbar_commands.h",
    "tab_group_confirmation_commands.h",
    "tab_groups_commands.h",
    "tab_strip_commands.h",
    "tab_strip_last_tab_dragged_alert_command.h",
    "tab_strip_last_tab_dragged_alert_command.mm",
    "tabs_animation_commands.h",
    "text_zoom_commands.h",
    "toolbar_commands.h",
    "tos_commands.h",
    "unit_conversion_commands.h",
    "web_content_commands.h",
    "whats_new_commands.h",
  ]

  deps = [
    "//components/tab_groups",
    "//ios/chrome/browser/browsing_data/model:util",
    "//ios/chrome/browser/parcel_tracking:parcel_tracking_step",
    "//ios/chrome/browser/shared/ui/util:url_with_title",
    "//ios/chrome/browser/tabs/model",
    "//ios/public/provider/chrome/browser/user_feedback:user_feedback_api",
    "//ios/web/public",
    "//net",
    "//url",
  ]

  public_deps = [
    "//base",
    "//components/browsing_data/core",
    "//components/password_manager/core/browser",
    "//components/plus_addresses",
    "//ios/chrome/browser/browsing_data/model:model_remove_mask",
    "//ios/chrome/browser/discover_feed/model:constants",
    "//ios/chrome/browser/promos_manager/model:constants",
    "//ios/web/public/annotations:custom_text_check_result",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "command_dispatcher_unittest.mm" ]
  deps = [
    ":commands",
    "//base",
    "//testing/gtest",
  ]
}