| 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("keyboard") { | 5 source_set("keyboard") { |
| 6 sources = [ | 6 sources = [ |
| 7 "UIKeyCommand+Chrome.h", | 7 "UIKeyCommand+Chrome.h", |
| 8 "UIKeyCommand+Chrome.mm", | 8 "UIKeyCommand+Chrome.mm", |
| 9 "hardware_keyboard_watcher.h", | 9 "hardware_keyboard_watcher.h", |
| 10 "hardware_keyboard_watcher.mm", | 10 "hardware_keyboard_watcher.mm", |
| 11 ] | 11 ] |
| 12 deps = [ | 12 deps = [ |
| 13 "//base", | 13 "//base", |
| 14 "//ios/chrome/browser/ui/commands", | 14 "//ios/chrome/browser/ui/commands", |
| 15 ] | 15 ] |
| 16 } | 16 } |
| 17 | 17 |
| 18 source_set("unit_tests") { | 18 source_set("unit_tests") { |
| 19 configs += [ "//build/config/compiler:enable_arc" ] |
| 19 testonly = true | 20 testonly = true |
| 20 sources = [ | 21 sources = [ |
| 21 "UIKeyCommand+ChromeTest.mm", | 22 "UIKeyCommand+ChromeTest.mm", |
| 22 "hardware_keyboard_watcher_unittest.mm", | 23 "hardware_keyboard_watcher_unittest.mm", |
| 23 ] | 24 ] |
| 24 deps = [ | 25 deps = [ |
| 25 ":keyboard", | 26 ":keyboard", |
| 26 "//base", | 27 "//base", |
| 27 "//base/test:test_support", | 28 "//base/test:test_support", |
| 28 "//ios/chrome/browser/ui/commands", | 29 "//ios/chrome/browser/ui/commands", |
| 29 "//testing/gtest", | 30 "//testing/gtest", |
| 30 "//third_party/ocmock", | 31 "//third_party/ocmock", |
| 31 ] | 32 ] |
| 32 } | 33 } |
| OLD | NEW |