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

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

Issue 2081583002: Migrating majority of gamepad from content/browser/ to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final tweaks 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'targets': [
10 {
11 # GN version: //device/gamepad
12 'target_name': 'device_gamepad',
13 'type': '<(component)',
14 'dependencies': [
15 '../../base/base.gyp:base',
16 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations',
17 ],
18 'defines': [
19 'DEVICE_GAMEPAD_IMPLEMENTATION',
20 ],
21 'sources': [
22 # Note: file list duplicated in GN build.
23 'gamepad_consumer.cc',
24 'gamepad_consumer.h',
25 'gamepad_data_fetcher.cc',
26 'gamepad_data_fetcher.h',
27 'gamepad_platform_data_fetcher.h',
28 'gamepad_platform_data_fetcher_android.cc',
29 'gamepad_platform_data_fetcher_android.h',
30 'gamepad_platform_data_fetcher_linux.cc',
31 'gamepad_platform_data_fetcher_linux.h',
32 'gamepad_platform_data_fetcher_mac.h',
33 'gamepad_platform_data_fetcher_mac.mm',
34 'gamepad_platform_data_fetcher_win.cc',
35 'gamepad_platform_data_fetcher_win.h',
36 'gamepad_provider.cc',
37 'gamepad_provider.h',
38 'gamepad_standard_mappings.cc',
39 'gamepad_standard_mappings.h',
40 'gamepad_standard_mappings_linux.cc',
41 'gamepad_standard_mappings_mac.mm',
42 'gamepad_standard_mappings_win.cc',
43 'gamepad_user_gesture.cc',
44 'gamepad_user_gesture.h',
45 'raw_input_data_fetcher_win.cc',
46 'raw_input_data_fetcher_win.h',
47 'xbox_data_fetcher_mac.cc',
48 'xbox_data_fetcher_mac.h',
49 ],
50 'conditions': [
51 ['OS=="win"', {
52 'msvs_disabled_warnings': [4267, ],
53 }],
54 ['OS!="win" and OS!="mac" and OS!="android" and (OS!="linux" or use_udev ==0)', {
55 'sources': [
56 'gamepad_platform_data_fetcher.cc',
57 ]
58 }],
59 ],
60 },
61 {
62 # GN version: //device/gamepad:test_helpers
63 'target_name': 'device_gamepad_test_helpers',
64 'type': 'static_library',
65 'dependencies': [
66 '../../base/base.gyp:base',
67 'device_gamepad',
68 ],
69 'sources': [
70 # Note: file list duplicated in GN build.
71 'gamepad_test_helpers.cc',
72 'gamepad_test_helpers.h',
73 ],
74 },
75 ],
76 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698