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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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!="win" and OS!="mac" and OS!="android" and (OS!="linux" or use_udev
==0)', { | 54 ['OS!="win" and OS!="mac" and OS!="android" and (OS!="linux" or use_udev
==0)', { |
55 'sources': [ | 55 'sources': [ |
56 'gamepad_platform_data_fetcher.cc', | 56 'gamepad_platform_data_fetcher.cc', |
57 ] | 57 ], |
| 58 'sources!': [ |
| 59 'gamepad_platform_data_fetcher_linux.cc', |
| 60 ], |
58 }], | 61 }], |
59 ], | 62 ], |
60 }, | 63 }, |
61 { | 64 { |
62 # GN version: //device/gamepad:test_helpers | 65 # GN version: //device/gamepad:test_helpers |
63 'target_name': 'device_gamepad_test_helpers', | 66 'target_name': 'device_gamepad_test_helpers', |
64 'type': 'static_library', | 67 'type': 'static_library', |
65 'dependencies': [ | 68 'dependencies': [ |
66 '../../base/base.gyp:base', | 69 '../../base/base.gyp:base', |
67 'device_gamepad', | 70 'device_gamepad', |
68 ], | 71 ], |
69 'sources': [ | 72 'sources': [ |
70 # Note: file list duplicated in GN build. | 73 # Note: file list duplicated in GN build. |
71 'gamepad_test_helpers.cc', | 74 'gamepad_test_helpers.cc', |
72 'gamepad_test_helpers.h', | 75 'gamepad_test_helpers.h', |
73 ], | 76 ], |
74 }, | 77 }, |
75 ], | 78 ], |
76 } | 79 } |
OLD | NEW |