Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: device/gamepad/gamepad.gyp

Issue 2132453002: Gamepad: Fix GYP build on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }], 63 }],
59 ], 64 ],
60 }, 65 },
61 { 66 {
62 # GN version: //device/gamepad:test_helpers 67 # GN version: //device/gamepad:test_helpers
63 'target_name': 'device_gamepad_test_helpers', 68 'target_name': 'device_gamepad_test_helpers',
64 'type': 'static_library', 69 'type': 'static_library',
65 'dependencies': [ 70 'dependencies': [
66 '../../base/base.gyp:base', 71 '../../base/base.gyp:base',
67 'device_gamepad', 72 'device_gamepad',
68 ], 73 ],
69 'sources': [ 74 'sources': [
70 # Note: file list duplicated in GN build. 75 # Note: file list duplicated in GN build.
71 'gamepad_test_helpers.cc', 76 'gamepad_test_helpers.cc',
72 'gamepad_test_helpers.h', 77 'gamepad_test_helpers.h',
73 ], 78 ],
74 }, 79 },
75 ], 80 ],
76 } 81 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698