Index: content/content_browser.gypi |
diff --git a/content/content_browser.gypi b/content/content_browser.gypi |
index 4032dda06d28d339d6f41fc0efb143be572efc22..e70dcf7598b66251b7aedde5ec5526f356f96a73 100644 |
--- a/content/content_browser.gypi |
+++ b/content/content_browser.gypi |
@@ -1139,6 +1139,25 @@ |
'browser/renderer_host/gtk_key_bindings_handler.h', |
], |
}], |
+ ['OS=="linux" and use_udev==0', { |
+ 'sources!': [ |
+ 'browser/gamepad/gamepad_platform_data_fetcher_linux.cc', |
+ 'browser/udev_linux.cc', |
+ 'browser/udev_linux.h', |
+ 'browser/device_monitor_linux.cc', |
+ 'browser/device_monitor_linux.h', |
+ ], |
+ 'sources': [ |
+ 'browser/gamepad/gamepad_platform_data_fetcher.cc', |
+ ], |
+ 'dependencies!': [ |
+ '../build/linux/system.gyp:udev', |
+ ], |
+ }, { |
+ 'defines': [ |
Lei Zhang
2013/03/04 21:10:25
This would define USE_UDEV on Win/Mac. How about w
Mostyn Bramley-Moore
2013/03/05 00:02:33
Done.
|
+ 'USE_UDEV', |
+ ], |
+ }], |
['os_bsd==1', { |
'sources/': [ |
['exclude', '^browser/gamepad/gamepad_platform_data_fetcher_linux\\.cc$'], |