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

Unified Diff: content/content_browser.gypi

Issue 12374068: Make it possible to disable udev in linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dust off and rebase on master Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/gamepad/gamepad_platform_data_fetcher.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/content_browser.gypi
diff --git a/content/content_browser.gypi b/content/content_browser.gypi
index 1fc3c688523d5facc9631a1491f19083326aca08..88d99a687c2f34d0c0054a12ad30c4a9d1a57a16 100644
--- a/content/content_browser.gypi
+++ b/content/content_browser.gypi
@@ -1401,6 +1401,25 @@
'../sandbox/sandbox.gyp:libc_urandom_override',
],
}],
+ ['use_udev == 1', {
+ 'defines': [
+ 'USE_UDEV',
+ ],
+ }, {
+ 'sources!': [
+ 'browser/gamepad/gamepad_platform_data_fetcher_linux.cc',
+ 'browser/udev_linux.cc',
+ 'browser/udev_linux.h',
+ 'browser/device_monitor_linux.cc',
Lei Zhang 2013/11/14 00:35:00 nit: alphabetical order
Mostyn Bramley-Moore 2013/11/14 01:15:38 Done.
+ 'browser/device_monitor_linux.h',
+ ],
+ 'sources': [
+ 'browser/gamepad/gamepad_platform_data_fetcher.cc',
+ ],
+ 'dependencies!': [
+ '../build/linux/system.gyp:udev',
Lei Zhang 2013/11/14 00:35:00 Can you remove this, and instead move line 1400 in
Mostyn Bramley-Moore 2013/11/14 01:15:38 Done.
+ ],
+ }],
['OS=="linux" and use_aura==1', {
'dependencies': [
'../build/linux/system.gyp:dbus',
« no previous file with comments | « content/browser/gamepad/gamepad_platform_data_fetcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698