Chromium Code Reviews| 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 import("//services/shell/public/service_manifest.gni") | |
| 6 import("//testing/test.gni") | |
| 7 | |
| 5 source_set("input_devices") { | 8 source_set("input_devices") { |
| 6 sources = [ | 9 sources = [ |
| 7 "input_device_server.cc", | 10 "input_device_server.cc", |
| 8 "input_device_server.h", | 11 "input_device_server.h", |
| 9 ] | 12 ] |
| 10 | 13 |
| 11 deps = [ | 14 deps = [ |
| 12 "//base", | 15 "//base", |
| 13 "//services/shell/public/cpp:sources", | 16 "//services/shell/public/cpp:sources", |
| 14 "//skia", | 17 "//skia", |
| 15 "//ui/events/devices", | 18 "//ui/events/devices", |
| 16 ] | 19 ] |
| 17 | 20 |
| 18 public_deps = [ | 21 public_deps = [ |
| 19 "//services/ui/public/interfaces/input_devices", | 22 "//services/ui/public/interfaces/input_devices", |
| 20 ] | 23 ] |
| 21 } | 24 } |
| 25 | |
| 26 test("input_device_unittests") { | |
| 27 testonly = true | |
| 28 | |
| 29 sources = [ | |
| 30 "input_device_unittests.cc", | |
| 31 ] | |
| 32 | |
| 33 deps = [ | |
| 34 ":input_devices", | |
| 35 "//base", | |
| 36 "//base/test:test_support", | |
| 37 "//services/shell/public/cpp", | |
| 38 "//services/shell/public/cpp:service_test_support", | |
| 39 "//services/ui/common:run_all_shelltests", | |
|
sadrul
2016/08/02 15:16:14
You should use //base/test:run_all_unittests inste
kylechar
2016/08/02 17:46:57
The Mojo binding stuff doesn't work with //base/te
sadrul
2016/08/03 16:02:53
Because this is not a shell-test, you shouldn't ne
| |
| 40 "//services/ui/public/cpp/input_devices", | |
| 41 "//services/ui/public/interfaces/input_devices", | |
| 42 "//skia", | |
| 43 "//testing/gtest", | |
| 44 "//ui/events/devices", | |
| 45 ] | |
| 46 } | |
| OLD | NEW |