| # Copyright 2016 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. |
| |
| source_set("commands") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| |
| sources = [ |
| "activity_service_commands.h", |
| "application_commands.h", |
| "bookmark_page_command.h", |
| "bookmark_page_command.mm", |
| "bookmarks_commands.h", |
| "browser_commands.h", |
| "browser_coordinator_commands.h", |
| "browsing_data_commands.h", |
| "command_dispatcher.h", |
| "command_dispatcher.mm", |
| "find_in_page_commands.h", |
| "generate_qr_code_command.h", |
| "generate_qr_code_command.mm", |
| "help_commands.h", |
| "infobar_commands.h", |
| "load_query_commands.h", |
| "omnibox_commands.h", |
| "omnibox_suggestion_commands.h", |
| "open_new_tab_command.h", |
| "open_new_tab_command.mm", |
| "page_info_commands.h", |
| "password_breach_commands.h", |
| "popup_menu_commands.h", |
| "qr_generation_commands.h", |
| "qr_scanner_commands.h", |
| "reading_list_add_command.h", |
| "reading_list_add_command.mm", |
| "security_alert_commands.h", |
| "show_signin_command.h", |
| "show_signin_command.mm", |
| "snackbar_commands.h", |
| "text_zoom_commands.h", |
| "toolbar_commands.h", |
| "whats_new_commands.h", |
| ] |
| |
| deps = [ |
| "//ios/web", |
| "//net", |
| "//url", |
| ] |
| |
| public_deps = [ |
| "//base", |
| "//components/browsing_data/core", |
| "//components/password_manager/core/browser", |
| "//components/signin/public/base", |
| "//ios/chrome/browser/browsing_data:browsing_data_remove_mask", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ "command_dispatcher_unittest.mm" ] |
| deps = [ |
| ":commands", |
| "//base", |
| "//testing/gtest", |
| ] |
| } |