Chromium Code Reviews| Index: device/hid/BUILD.gn |
| diff --git a/device/hid/BUILD.gn b/device/hid/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4940656c28253e62d20b82c7bb6676820f7d52a3 |
| --- /dev/null |
| +++ b/device/hid/BUILD.gn |
| @@ -0,0 +1,62 @@ |
| +# Copyright 2013 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("hid") { |
| + sources = [ |
| + "device_monitor_linux.cc", |
| + "device_monitor_linux.h", |
| + "hid_collection_info.cc", |
| + "hid_collection_info.h", |
| + "hid_connection.cc", |
| + "hid_connection.h", |
| + "hid_connection_linux.cc", |
| + "hid_connection_linux.h", |
| + "hid_connection_mac.cc", |
| + "hid_connection_mac.h", |
| + "hid_connection_win.cc", |
| + "hid_connection_win.h", |
| + "hid_device_info.cc", |
| + "hid_device_info.h", |
| + "hid_report_descriptor.cc", |
| + "hid_report_descriptor.h", |
| + "hid_report_descriptor_item.cc", |
| + "hid_report_descriptor_item.h", |
| + "hid_service.cc", |
| + "hid_service.h", |
| + "hid_service_linux.cc", |
| + "hid_service_linux.h", |
| + "hid_service_mac.cc", |
| + "hid_service_mac.h", |
| + "hid_service_win.cc", |
| + "hid_service_win.h", |
| + "hid_usage_and_page.cc", |
| + "hid_usage_and_page.h", |
| + "input_service_linux.cc", |
| + "input_service_linux.h", |
| + ] |
| + |
| + deps = [ |
| + "//base", |
| + "//net", |
| + ] |
| + |
| + if (is_linux) { |
| + configs += [ |
| + "//build/config/linux:udev" |
| + ] |
| + |
| + deps += [ |
| + "//device/udev_linux", |
| + ] |
| + } else { |
| + sources -= [ |
| + "device_monitor_linux.cc", |
|
brettw
2014/08/04 04:28:52
You shouldn't need these as *_linux should be remo
tfarina
2014/08/05 14:13:19
Done.
|
| + "device_monitor_linux.h", |
| + "hid_service_linux.cc", |
| + "hid_service_linux.h", |
| + "input_service_linux.cc", |
| + "input_service_linux.h", |
| + ] |
| + } |
| +} |