blob: da0c01b1878768bca590798f34af923371a6d25e [file] [log] [blame]
sdefresne87704da22016-10-26 17:01:191# Copyright 2016 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5source_set("commands") {
stkhapugin89b4755a42016-12-13 19:24:296 configs += [ "//build/config/compiler:enable_arc" ]
sdefresne87704da22016-10-26 17:01:197 sources = [
8 "UIKit+ChromeExecuteCommand.h",
9 "UIKit+ChromeExecuteCommand.mm",
Rohit Rao01e0e002017-08-14 20:49:4310 "activity_service_commands.h",
Mark Cogan5e3da152017-07-11 15:57:3011 "application_commands.h",
Mark Cogan6c58ea92017-07-06 13:08:2412 "browser_commands.h",
sdefresne87704da22016-10-26 17:01:1913 "clear_browsing_data_command.h",
14 "clear_browsing_data_command.mm",
edchin9badb062017-08-16 18:47:5415 "command_dispatcher.h",
16 "command_dispatcher.mm",
sdefresne87704da22016-10-26 17:01:1917 "generic_chrome_command.h",
18 "generic_chrome_command.mm",
sczsdd860eba2017-08-10 01:55:3819 "history_popup_commands.h",
sdefresne87704da22016-10-26 17:01:1920 "ios_command_ids.h",
Mark Cogandfcdea72017-07-18 13:47:3821 "open_new_tab_command.h",
22 "open_new_tab_command.mm",
sdefresne87704da22016-10-26 17:01:1923 "open_url_command.h",
24 "open_url_command.mm",
Gregory Chatzinoffdf93d692017-09-09 01:32:2725 "page_info_commands.h",
Rohit Raocda0a992017-08-16 15:37:1126 "qr_scanner_commands.h",
sdefresne87704da22016-10-26 17:01:1927 "reading_list_add_command.h",
28 "reading_list_add_command.mm",
sdefresne87704da22016-10-26 17:01:1929 "show_signin_command.h",
30 "show_signin_command.mm",
edchin7f210cd2017-09-28 08:03:5331 "snackbar_commands.h",
Jean-François Geyelin5d2e184c2017-07-28 19:48:0032 "start_voice_search_command.h",
33 "start_voice_search_command.mm",
sdefresne87704da22016-10-26 17:01:1934 ]
35 deps = [
36 "//base",
37 "//components/browsing_data/core",
38 "//components/signin/core/browser",
edchin9badb062017-08-16 18:47:5439 "//ios/chrome/browser/ui/metrics",
sdefresne87704da22016-10-26 17:01:1940 "//ios/web",
41 "//net",
42 "//url",
43 ]
44}
edchin9badb062017-08-16 18:47:5445
46source_set("unit_tests") {
47 testonly = true
48 configs += [ "//build/config/compiler:enable_arc" ]
49 sources = [
50 "command_dispatcher_unittest.mm",
51 ]
52 deps = [
53 ":commands",
54 "//base",
55 "//ios/chrome/browser/ui/metrics",
56 "//testing/gtest",
57 ]
58}