blob: e4073d246fc59bdb2c0b43c54ba8f41901a5e7f1 [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" ]
Henrique Ferreiro456669652019-07-23 09:25:357
sdefresne87704da22016-10-26 17:01:198 sources = [
Rohit Rao01e0e002017-08-14 20:49:439 "activity_service_commands.h",
Mark Cogan5e3da152017-07-11 15:57:3010 "application_commands.h",
Mark Cogan6c58ea92017-07-06 13:08:2411 "browser_commands.h",
edchina93cf6d2018-11-19 17:44:4712 "browser_coordinator_commands.h",
Sylvain Defresnea6ba86b2018-02-27 09:10:2413 "browsing_data_commands.h",
edchin9badb062017-08-16 18:47:5414 "command_dispatcher.h",
15 "command_dispatcher.mm",
sczs5832ab52019-03-06 18:00:0816 "infobar_commands.h",
Gauthier Ambardc63d70e2018-05-25 06:44:4317 "load_query_commands.h",
[email protected]93a05982018-03-14 15:40:1718 "omnibox_suggestion_commands.h",
Mark Cogandfcdea72017-07-18 13:47:3819 "open_new_tab_command.h",
20 "open_new_tab_command.mm",
Gregory Chatzinoffdf93d692017-09-09 01:32:2721 "page_info_commands.h",
Javier Ernesto Flores Robles80fca102019-10-07 10:21:5322 "password_breach_commands.h",
Gauthier Ambard86ab60e2018-03-20 13:16:1423 "popup_menu_commands.h",
Rohit Raocda0a992017-08-16 15:37:1124 "qr_scanner_commands.h",
sdefresne87704da22016-10-26 17:01:1925 "reading_list_add_command.h",
26 "reading_list_add_command.mm",
Sébastien Séguin-Gagnon130156b2019-05-15 16:23:4227 "send_tab_to_self_command.h",
28 "send_tab_to_self_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",
sczs02c82eb2017-12-01 23:28:4132 "toolbar_commands.h",
sdefresne87704da22016-10-26 17:01:1933 ]
Henrique Ferreiro456669652019-07-23 09:25:3534
sdefresne87704da22016-10-26 17:01:1935 deps = [
sdefresne87704da22016-10-26 17:01:1936 "//ios/web",
37 "//net",
38 "//url",
39 ]
Henrique Ferreiro456669652019-07-23 09:25:3540
41 public_deps = [
42 "//base",
43 "//components/browsing_data/core",
Javier Ernesto Flores Robles80fca102019-10-07 10:21:5344 "//components/password_manager/core/browser",
Henrique Ferreiro456669652019-07-23 09:25:3545 "//components/signin/public/base",
Henrique Ferreiro456669652019-07-23 09:25:3546 "//ios/chrome/browser/browsing_data:browsing_data_remove_mask",
47 ]
sdefresne87704da22016-10-26 17:01:1948}
edchin9badb062017-08-16 18:47:5449
50source_set("unit_tests") {
51 testonly = true
52 configs += [ "//build/config/compiler:enable_arc" ]
Nico Weberf7b95932020-01-14 09:54:1753 sources = [ "command_dispatcher_unittest.mm" ]
edchin9badb062017-08-16 18:47:5454 deps = [
55 ":commands",
56 "//base",
edchin9badb062017-08-16 18:47:5457 "//testing/gtest",
58 ]
59}