| 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 'gamepad_user_gesture.h', | 44 'gamepad_user_gesture.h', |
| 45 'raw_input_data_fetcher_win.cc', | 45 'raw_input_data_fetcher_win.cc', |
| 46 'raw_input_data_fetcher_win.h', | 46 'raw_input_data_fetcher_win.h', |
| 47 'xbox_data_fetcher_mac.cc', | 47 'xbox_data_fetcher_mac.cc', |
| 48 'xbox_data_fetcher_mac.h', | 48 'xbox_data_fetcher_mac.h', |
| 49 ], | 49 ], |
| 50 'conditions': [ | 50 'conditions': [ |
| 51 ['OS=="win"', { | 51 ['OS=="win"', { |
| 52 'msvs_disabled_warnings': [4267, ], | 52 'msvs_disabled_warnings': [4267, ], |
| 53 }], | 53 }], |
| 54 ['OS=="linux" and use_udev==1', { |
| 55 'dependencies': [ |
| 56 '../udev_linux/udev.gyp:udev_linux', |
| 57 ] |
| 58 }], |
| 54 ['OS!="win" and OS!="mac" and OS!="android" and (OS!="linux" or use_udev
==0)', { | 59 ['OS!="win" and OS!="mac" and OS!="android" and (OS!="linux" or use_udev
==0)', { |
| 55 'sources': [ | 60 'sources': [ |
| 56 'gamepad_platform_data_fetcher.cc', | 61 'gamepad_platform_data_fetcher.cc', |
| 57 ], | 62 ], |
| 58 'sources!': [ | 63 'sources!': [ |
| 59 'gamepad_platform_data_fetcher_linux.cc', | 64 'gamepad_platform_data_fetcher_linux.cc', |
| 60 ], | 65 ], |
| 61 }], | 66 }], |
| 62 ], | 67 ], |
| 63 }, | 68 }, |
| 64 { | 69 { |
| 65 # GN version: //device/gamepad:test_helpers | 70 # GN version: //device/gamepad:test_helpers |
| 66 'target_name': 'device_gamepad_test_helpers', | 71 'target_name': 'device_gamepad_test_helpers', |
| 67 'type': 'static_library', | 72 'type': 'static_library', |
| 68 'dependencies': [ | 73 'dependencies': [ |
| 69 '../../base/base.gyp:base', | 74 '../../base/base.gyp:base', |
| 70 'device_gamepad', | 75 'device_gamepad', |
| 71 ], | 76 ], |
| 72 'sources': [ | 77 'sources': [ |
| 73 # Note: file list duplicated in GN build. | 78 # Note: file list duplicated in GN build. |
| 74 'gamepad_test_helpers.cc', | 79 'gamepad_test_helpers.cc', |
| 75 'gamepad_test_helpers.h', | 80 'gamepad_test_helpers.h', |
| 76 ], | 81 ], |
| 77 }, | 82 }, |
| 78 ], | 83 ], |
| 79 } | 84 } |
| OLD | NEW |