blob: 46337bde97fd59f57e5ab8ea3ccc65aa73293eb8 [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",
Sebastien Lalancette3cb82322020-10-07 15:08:0311 "bookmark_page_command.h",
12 "bookmark_page_command.mm",
13 "bookmarks_commands.h",
Mark Cogan6c58ea92017-07-06 13:08:2414 "browser_commands.h",
edchina93cf6d2018-11-19 17:44:4715 "browser_coordinator_commands.h",
Sylvain Defresnea6ba86b2018-02-27 09:10:2416 "browsing_data_commands.h",
edchin9badb062017-08-16 18:47:5417 "command_dispatcher.h",
18 "command_dispatcher.mm",
Robbie Gibson8883afa22020-02-18 18:02:4119 "find_in_page_commands.h",
Sebastien Lalancetted16e3722020-03-27 16:21:1920 "generate_qr_code_command.h",
21 "generate_qr_code_command.mm",
Mark Cogane54d359e2020-03-29 15:42:1022 "help_commands.h",
sczs5832ab52019-03-06 18:00:0823 "infobar_commands.h",
Gauthier Ambardc63d70e2018-05-25 06:44:4324 "load_query_commands.h",
Mark Cogan23ba70192020-04-02 08:21:4525 "omnibox_commands.h",
[email protected]93a05982018-03-14 15:40:1726 "omnibox_suggestion_commands.h",
Mark Cogandfcdea72017-07-18 13:47:3827 "open_new_tab_command.h",
28 "open_new_tab_command.mm",
Gregory Chatzinoffdf93d692017-09-09 01:32:2729 "page_info_commands.h",
Javier Ernesto Flores Robles80fca102019-10-07 10:21:5330 "password_breach_commands.h",
Gauthier Ambard86ab60e2018-03-20 13:16:1431 "popup_menu_commands.h",
Sebastien Lalancetted16e3722020-03-27 16:21:1932 "qr_generation_commands.h",
Rohit Raocda0a992017-08-16 15:37:1133 "qr_scanner_commands.h",
sdefresne87704da22016-10-26 17:01:1934 "reading_list_add_command.h",
35 "reading_list_add_command.mm",
Javier Ernesto Flores Roblesc8988452020-08-17 11:27:3436 "security_alert_commands.h",
sdefresne87704da22016-10-26 17:01:1937 "show_signin_command.h",
38 "show_signin_command.mm",
edchin7f210cd2017-09-28 08:03:5339 "snackbar_commands.h",
Robbie Gibson9065a2a2020-02-19 13:23:5040 "text_zoom_commands.h",
sczs02c82eb2017-12-01 23:28:4141 "toolbar_commands.h",
Chris Lu96fb15e2020-08-26 20:25:4042 "whats_new_commands.h",
sdefresne87704da22016-10-26 17:01:1943 ]
Henrique Ferreiro456669652019-07-23 09:25:3544
sdefresne87704da22016-10-26 17:01:1945 deps = [
sdefresne87704da22016-10-26 17:01:1946 "//ios/web",
47 "//net",
48 "//url",
49 ]
Henrique Ferreiro456669652019-07-23 09:25:3550
51 public_deps = [
52 "//base",
53 "//components/browsing_data/core",
Javier Ernesto Flores Robles80fca102019-10-07 10:21:5354 "//components/password_manager/core/browser",
Henrique Ferreiro456669652019-07-23 09:25:3555 "//components/signin/public/base",
56 "//ios/chrome/browser/browsing_data:browsing_data_remove_mask",
57 ]
sdefresne87704da22016-10-26 17:01:1958}
edchin9badb062017-08-16 18:47:5459
60source_set("unit_tests") {
61 testonly = true
62 configs += [ "//build/config/compiler:enable_arc" ]
Nico Weberf7b95932020-01-14 09:54:1763 sources = [ "command_dispatcher_unittest.mm" ]
edchin9badb062017-08-16 18:47:5464 deps = [
65 ":commands",
66 "//base",
edchin9badb062017-08-16 18:47:5467 "//testing/gtest",
68 ]
69}