Chromium Code Reviews| Index: content/content_browser.gypi |
| diff --git a/content/content_browser.gypi b/content/content_browser.gypi |
| index 4032dda06d28d339d6f41fc0efb143be572efc22..34bbc26bcc67aa1b5514e1da72d1afdfc0ee2c77 100644 |
| --- a/content/content_browser.gypi |
| +++ b/content/content_browser.gypi |
| @@ -1078,6 +1078,11 @@ |
| 'LINUX_SANDBOX_PATH="<(linux_sandbox_path)"', |
| ], |
| }], |
| + ['use_udev == 1', { |
| + 'defines': [ |
| + 'USE_UDEV', |
| + ], |
| + }], |
| ], |
| }], |
| ['OS=="linux" and use_aura==1', { |
| @@ -1139,6 +1144,21 @@ |
| 'browser/renderer_host/gtk_key_bindings_handler.h', |
| ], |
| }], |
| + ['OS=="linux" and use_udev==0', { |
|
Lei Zhang
2013/03/05 00:27:24
You can keep this together with the use_udev block
Mostyn Bramley-Moore
2013/11/14 00:26:33
Done.
|
| + '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', |
| + ], |
| + }], |
| ['os_bsd==1', { |
| 'sources/': [ |
| ['exclude', '^browser/gamepad/gamepad_platform_data_fetcher_linux\\.cc$'], |