# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. source_set("input_devices") { sources = [ "input_device_client.cc", "input_device_client.h", ] deps = [ "//base", "//services/service_manager/public/cpp", "//ui/events/devices", ] public_deps = [ "//services/ws/public/mojom/input_devices", ] if (is_chromeos) { sources += [ "input_device_controller_client.cc", "input_device_controller_client.h", ] public_deps += [ "//services/ws/public/mojom:constants", "//ui/ozone", ] } } source_set("test_support") { sources = [ "input_device_client_test_api.cc", "input_device_client_test_api.h", ] deps = [ "//base", "//services/service_manager/public/cpp", "//ui/events/devices", ] public_deps = [ ":input_devices", "//services/ws/public/mojom/input_devices", ] } if (is_chromeos) { source_set("input_device_controller") { sources = [ "input_device_controller.cc", "input_device_controller.h", ] deps = [ "//base", "//services/service_manager/public/cpp", "//ui/events:dom_keycode_converter", "//ui/ozone", ] public_deps = [ "//services/ws/public/mojom/input_devices", ] # This target is really an implementation detail of the ui service, which # is hosted in ash. Until Ash is switched out of process chrome needs to # depend upon it too. visibility = [ "//ash:ash", "//chrome/browser", "//services/ws:lib", ] } }