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

Unified Diff: build/common.gypi

Issue 12374068: Make it possible to disable udev in linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move USE_UDEV define to a linux-specific spot Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/browser_main_loop.h » ('j') | content/content_browser.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 67f6271a8b92f5999bcd123b95262b66bcd1edaa..c1fba8004d44cdb4e5df407db0aefb38f3eb6afa 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -448,6 +448,13 @@
'use_nss%': 0,
}],
+ # libudev usage.
+ ['OS=="linux"', {
+ 'use_udev%': 1,
+ }, {
+ 'use_udev%': 0,
+ }],
+
# Flags to use X11 on non-Mac POSIX platforms
['OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', {
'use_glib%': 0,
@@ -680,6 +687,7 @@
'use_ash%': '<(use_ash)',
'use_openssl%': '<(use_openssl)',
'use_nss%': '<(use_nss)',
+ 'use_udev%': '<(use_udev)',
'os_bsd%': '<(os_bsd)',
'os_posix%': '<(os_posix)',
'use_glib%': '<(use_glib)',
« no previous file with comments | « no previous file | content/browser/browser_main_loop.h » ('j') | content/content_browser.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698