sdefresne | 87704da2 | 2016-10-26 17:01:19 | [diff] [blame] | 1 | # 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 | |
| 5 | source_set("commands") { |
stkhapugin | 89b4755a4 | 2016-12-13 19:24:29 | [diff] [blame] | 6 | configs += [ "//build/config/compiler:enable_arc" ] |
sdefresne | 87704da2 | 2016-10-26 17:01:19 | [diff] [blame] | 7 | sources = [ |
Rohit Rao | 01e0e00 | 2017-08-14 20:49:43 | [diff] [blame] | 8 | "activity_service_commands.h", |
Mark Cogan | 5e3da15 | 2017-07-11 15:57:30 | [diff] [blame] | 9 | "application_commands.h", |
Mark Cogan | 6c58ea9 | 2017-07-06 13:08:24 | [diff] [blame] | 10 | "browser_commands.h", |
Sylvain Defresne | a6ba86b | 2018-02-27 09:10:24 | [diff] [blame] | 11 | "browsing_data_commands.h", |
edchin | 9badb06 | 2017-08-16 18:47:54 | [diff] [blame] | 12 | "command_dispatcher.h", |
| 13 | "command_dispatcher.mm", |
Louis Romero | d11747a | 2017-10-20 20:10:35 | [diff] [blame] | 14 | "external_search_commands.h", |
sczs | dd860eba | 2017-08-10 01:55:38 | [diff] [blame] | 15 | "history_popup_commands.h", |
Gauthier Ambard | c63d70e | 2018-05-25 06:44:43 | [diff] [blame^] | 16 | "load_query_commands.h", |
[email protected] | 93a0598 | 2018-03-14 15:40:17 | [diff] [blame] | 17 | "omnibox_suggestion_commands.h", |
Mark Cogan | dfcdea7 | 2017-07-18 13:47:38 | [diff] [blame] | 18 | "open_new_tab_command.h", |
| 19 | "open_new_tab_command.mm", |
sdefresne | 87704da2 | 2016-10-26 17:01:19 | [diff] [blame] | 20 | "open_url_command.h", |
| 21 | "open_url_command.mm", |
Gregory Chatzinoff | df93d69 | 2017-09-09 01:32:27 | [diff] [blame] | 22 | "page_info_commands.h", |
Gauthier Ambard | 86ab60e | 2018-03-20 13:16:14 | [diff] [blame] | 23 | "popup_menu_commands.h", |
Rohit Rao | cda0a99 | 2017-08-16 15:37:11 | [diff] [blame] | 24 | "qr_scanner_commands.h", |
sdefresne | 87704da2 | 2016-10-26 17:01:19 | [diff] [blame] | 25 | "reading_list_add_command.h", |
| 26 | "reading_list_add_command.mm", |
Mark Cogan | daaa9fa | 2017-11-21 14:58:31 | [diff] [blame] | 27 | "settings_main_page_commands.h", |
sdefresne | 87704da2 | 2016-10-26 17:01:19 | [diff] [blame] | 28 | "show_signin_command.h", |
| 29 | "show_signin_command.mm", |
edchin | 7f210cd | 2017-09-28 08:03:53 | [diff] [blame] | 30 | "snackbar_commands.h", |
sczs | 02c82eb | 2017-12-01 23:28:41 | [diff] [blame] | 31 | "toolbar_commands.h", |
Peter Laurens | e0b80f1 | 2017-11-21 07:52:40 | [diff] [blame] | 32 | "tools_menu_commands.h", |
sdefresne | 87704da2 | 2016-10-26 17:01:19 | [diff] [blame] | 33 | ] |
| 34 | deps = [ |
| 35 | "//base", |
| 36 | "//components/browsing_data/core", |
| 37 | "//components/signin/core/browser", |
Sylvain Defresne | 0bfef39 | 2018-02-13 16:42:17 | [diff] [blame] | 38 | "//ios/chrome/browser/browsing_data:browsing_data_remove_mask", |
edchin | 9badb06 | 2017-08-16 18:47:54 | [diff] [blame] | 39 | "//ios/chrome/browser/ui/metrics", |
sdefresne | 87704da2 | 2016-10-26 17:01:19 | [diff] [blame] | 40 | "//ios/web", |
| 41 | "//net", |
| 42 | "//url", |
| 43 | ] |
| 44 | } |
edchin | 9badb06 | 2017-08-16 18:47:54 | [diff] [blame] | 45 | |
| 46 | source_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 | } |