blob: 3e2893b937dc7ffccb9cdbcc3c960fd163463207 [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",
Robbie Gibson8883afa22020-02-18 18:02:4116 "find_in_page_commands.h",
Sebastien Lalancetted16e3722020-03-27 16:21:1917 "generate_qr_code_command.h",
18 "generate_qr_code_command.mm",
sczs5832ab52019-03-06 18:00:0819 "infobar_commands.h",
Gauthier Ambardc63d70e2018-05-25 06:44:4320 "load_query_commands.h",
[email protected]93a05982018-03-14 15:40:1721 "omnibox_suggestion_commands.h",
Mark Cogandfcdea72017-07-18 13:47:3822 "open_new_tab_command.h",
23 "open_new_tab_command.mm",
Gregory Chatzinoffdf93d692017-09-09 01:32:2724 "page_info_commands.h",
Javier Ernesto Flores Robles80fca102019-10-07 10:21:5325 "password_breach_commands.h",
Gauthier Ambard86ab60e2018-03-20 13:16:1426 "popup_menu_commands.h",
Sebastien Lalancetted16e3722020-03-27 16:21:1927 "qr_generation_commands.h",
Rohit Raocda0a992017-08-16 15:37:1128 "qr_scanner_commands.h",
sdefresne87704da22016-10-26 17:01:1929 "reading_list_add_command.h",
30 "reading_list_add_command.mm",
Sébastien Séguin-Gagnon130156b2019-05-15 16:23:4231 "send_tab_to_self_command.h",
32 "send_tab_to_self_command.mm",
sdefresne87704da22016-10-26 17:01:1933 "show_signin_command.h",
34 "show_signin_command.mm",
edchin7f210cd2017-09-28 08:03:5335 "snackbar_commands.h",
Robbie Gibson9065a2a2020-02-19 13:23:5036 "text_zoom_commands.h",
sczs02c82eb2017-12-01 23:28:4137 "toolbar_commands.h",
sdefresne87704da22016-10-26 17:01:1938 ]
Henrique Ferreiro456669652019-07-23 09:25:3539
sdefresne87704da22016-10-26 17:01:1940 deps = [
sdefresne87704da22016-10-26 17:01:1941 "//ios/web",
42 "//net",
43 "//url",
44 ]
Henrique Ferreiro456669652019-07-23 09:25:3545
46 public_deps = [
47 "//base",
48 "//components/browsing_data/core",
Javier Ernesto Flores Robles80fca102019-10-07 10:21:5349 "//components/password_manager/core/browser",
Henrique Ferreiro456669652019-07-23 09:25:3550 "//components/signin/public/base",
51 "//ios/chrome/browser/browsing_data:browsing_data_remove_mask",
52 ]
sdefresne87704da22016-10-26 17:01:1953}
edchin9badb062017-08-16 18:47:5454
55source_set("unit_tests") {
56 testonly = true
57 configs += [ "//build/config/compiler:enable_arc" ]
Nico Weberf7b95932020-01-14 09:54:1758 sources = [ "command_dispatcher_unittest.mm" ]
edchin9badb062017-08-16 18:47:5459 deps = [
60 ":commands",
61 "//base",
edchin9badb062017-08-16 18:47:5462 "//testing/gtest",
63 ]
64}