blob: 6bdec25953881e8293f1920d8479bba97874ff59 [file] [log] [blame]
# 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",
"browser_coordinator_commands.h",
"browsing_data_commands.h",
"command_dispatcher.h",
"command_dispatcher.mm",
"infobar_commands.h",
"load_query_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_scanner_commands.h",
"reading_list_add_command.h",
"reading_list_add_command.mm",
"send_tab_to_self_command.h",
"send_tab_to_self_command.mm",
"settings_main_page_commands.h",
"show_signin_command.h",
"show_signin_command.mm",
"snackbar_commands.h",
"toolbar_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",
]
}