| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'device_hid', | 11 'target_name': 'device_hid', |
| 12 'type': 'static_library', | 12 'type': 'static_library', |
| 13 'include_dirs': [ | 13 'include_dirs': [ |
| 14 '../..', | 14 '../..', |
| 15 ], | 15 ], |
| 16 'conditions': [ | 16 'conditions': [ |
| 17 ['OS=="linux"', { | 17 ['use_udev==1', { |
| 18 'dependencies': [ | 18 'dependencies': [ |
| 19 '../../build/linux/system.gyp:udev', | 19 '../udev_linux/udev.gyp:udev_linux', |
| 20 ], | 20 ], |
| 21 }], | 21 }], |
| 22 ], | 22 ], |
| 23 'sources': [ | 23 'sources': [ |
| 24 'device_monitor_linux.cc', | 24 'device_monitor_linux.cc', |
| 25 'device_monitor_linux.h', | 25 'device_monitor_linux.h', |
| 26 'hid_connection.cc', | 26 'hid_connection.cc', |
| 27 'hid_connection.h', | 27 'hid_connection.h', |
| 28 'hid_connection_linux.cc', | 28 'hid_connection_linux.cc', |
| 29 'hid_connection_linux.h', | 29 'hid_connection_linux.h', |
| (...skipping 14 matching lines...) Expand all Loading... |
| 44 'hid_service_mac.cc', | 44 'hid_service_mac.cc', |
| 45 'hid_service_mac.h', | 45 'hid_service_mac.h', |
| 46 'hid_service_win.cc', | 46 'hid_service_win.cc', |
| 47 'hid_service_win.h', | 47 'hid_service_win.h', |
| 48 'hid_usage_and_page.cc', | 48 'hid_usage_and_page.cc', |
| 49 'hid_usage_and_page.h', | 49 'hid_usage_and_page.h', |
| 50 'hid_utils_mac.cc', | 50 'hid_utils_mac.cc', |
| 51 'hid_utils_mac.h', | 51 'hid_utils_mac.h', |
| 52 'input_service_linux.cc', | 52 'input_service_linux.cc', |
| 53 'input_service_linux.h', | 53 'input_service_linux.h', |
| 54 'udev_common.h' | |
| 55 ], | 54 ], |
| 56 }, | 55 }, |
| 57 ], | 56 ], |
| 58 } | 57 } |
| OLD | NEW |