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

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

Issue 2125223003: gyp: don't build gamepad_platform_data_fetcher_linux.cc when udev is disabled (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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
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