| 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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 | 6 |
| 7 mojom("input_devices") { | 7 mojom("input_devices") { |
| 8 sources = [ | 8 sources = [ |
| 9 "input_device_server.mojom", | 9 "input_device_server.mojom", |
| 10 ] | 10 ] |
| 11 | 11 |
| 12 public_deps = [ | 12 public_deps = [ |
| 13 "//ui/events/devices/mojo", | 13 "//ui/events/devices/mojo", |
| 14 ] | 14 ] |
| 15 | |
| 16 if (is_chromeos) { | |
| 17 sources += [ "touch_device_server.mojom" ] | |
| 18 public_deps += [ "//ui/display/manager/chromeos/mojo:interfaces" ] | |
| 19 } | |
| 20 } | 15 } |
| OLD | NEW |