Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: services/ui/input_devices/BUILD.gn

Issue 2901563002: chromeos: adds TouchDeviceServer and wires up in mushrome (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 source_set("input_devices") { 7 source_set("input_devices") {
8 sources = [ 8 sources = [
9 "input_device_server.cc", 9 "input_device_server.cc",
10 "input_device_server.h", 10 "input_device_server.h",
11 ] 11 ]
12 12
13 deps = [ 13 deps = [
14 "//base", 14 "//base",
15 "//services/service_manager/public/cpp", 15 "//services/service_manager/public/cpp",
16 "//ui/events/devices", 16 "//ui/events/devices",
17 ] 17 ]
18 18
19 public_deps = [ 19 public_deps = [
20 "//services/ui/public/interfaces/input_devices", 20 "//services/ui/public/interfaces/input_devices",
21 ] 21 ]
22
23 if (is_chromeos) {
24 sources += [
25 "touch_device_server.cc",
26 "touch_device_server.h",
27 ]
28 }
22 } 29 }
23 30
24 test("input_device_unittests") { 31 test("input_device_unittests") {
25 testonly = true 32 testonly = true
26 33
27 sources = [ 34 sources = [
28 "input_device_unittests.cc", 35 "input_device_unittests.cc",
29 ] 36 ]
30 37
31 deps = [ 38 deps = [
32 ":input_devices", 39 ":input_devices",
33 "//base", 40 "//base",
34 "//base/test:test_support", 41 "//base/test:test_support",
35 "//mojo/edk/test:run_all_unittests", 42 "//mojo/edk/test:run_all_unittests",
36 "//services/service_manager/public/cpp", 43 "//services/service_manager/public/cpp",
37 "//services/service_manager/public/cpp:service_test_support", 44 "//services/service_manager/public/cpp:service_test_support",
38 "//services/ui/public/cpp/input_devices", 45 "//services/ui/public/cpp/input_devices",
39 "//services/ui/public/interfaces/input_devices", 46 "//services/ui/public/interfaces/input_devices",
40 "//testing/gtest", 47 "//testing/gtest",
41 "//ui/events/devices", 48 "//ui/events/devices",
42 ] 49 ]
43 } 50 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698