OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("commands") { | 5 source_set("commands") { |
6 sources = [ | 6 sources = [ |
| 7 "command_dispatcher.h", |
| 8 "command_dispatcher.mm", |
7 "settings_commands.h", | 9 "settings_commands.h", |
8 "tab_commands.h", | 10 "tab_commands.h", |
9 "tab_grid_commands.h", | 11 "tab_grid_commands.h", |
10 "toolbar_commands.h", | 12 "toolbar_commands.h", |
11 ] | 13 ] |
| 14 deps = [ |
| 15 "//base", |
| 16 ] |
12 | 17 |
13 configs += [ "//build/config/compiler:enable_arc" ] | 18 configs += [ "//build/config/compiler:enable_arc" ] |
14 } | 19 } |
| 20 |
| 21 source_set("unit_tests") { |
| 22 testonly = true |
| 23 sources = [ |
| 24 "command_dispatcher_unittest.mm", |
| 25 ] |
| 26 deps = [ |
| 27 ":commands", |
| 28 "//base", |
| 29 "//testing/gtest", |
| 30 ] |
| 31 |
| 32 configs += [ "//build/config/compiler:enable_arc" ] |
| 33 } |
OLD | NEW |