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

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: unbreak mac 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 | « no previous file | content/browser/browser_main_loop.h » ('j') | no next file with comments »
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 6f40a2ca91bbf0043c27c863ef8809e55bbb4b12..f19c4888612bc079122ab5f2e883c2c8c1592e11 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -506,6 +506,13 @@
'use_nss%': 0,
}],
+ # libudev usage. This currently only affects the content layer.
+ ['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" or use_ozone==1', {
'use_x11%': 0,
@@ -848,6 +855,7 @@
'use_cras%': '<(use_cras)',
'use_openssl%': '<(use_openssl)',
'use_nss%': '<(use_nss)',
+ 'use_udev%': '<(use_udev)',
'os_bsd%': '<(os_bsd)',
'os_posix%': '<(os_posix)',
'use_dbus%': '<(use_dbus)',
@@ -2134,6 +2142,9 @@
['native_memory_pressure_signals==1', {
'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'],
}],
+ ['use_udev==1', {
+ 'defines': ['USE_UDEV'],
+ }],
['fastbuild!=0', {
'xcode_settings': {
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
« no previous file with comments | « no previous file | content/browser/browser_main_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698