# 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", "browser_commands.h", "browsing_data_commands.h", "command_dispatcher.h", "command_dispatcher.mm", "external_search_commands.h", "history_popup_commands.h", "omnibox_suggestion_commands.h", "open_new_tab_command.h", "open_new_tab_command.mm", "open_url_command.h", "open_url_command.mm", "page_info_commands.h", "popup_menu_commands.h", "qr_scanner_commands.h", "reading_list_add_command.h", "reading_list_add_command.mm", "settings_main_page_commands.h", "show_signin_command.h", "show_signin_command.mm", "snackbar_commands.h", "toolbar_commands.h", "tools_menu_commands.h", ] deps = [ "//base", "//components/browsing_data/core", "//components/signin/core/browser", "//ios/chrome/browser/browsing_data:browsing_data_remove_mask", "//ios/chrome/browser/ui/metrics", "//ios/web", "//net", "//url", ] } source_set("unit_tests") { testonly = true configs += [ "//build/config/compiler:enable_arc" ] sources = [ "command_dispatcher_unittest.mm", ] deps = [ ":commands", "//base", "//ios/chrome/browser/ui/metrics", "//testing/gtest", ] }