Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index c756cd59a814bfcec280d29a2b8c462f565539b6..ab7fd3716e819ce4e977c1199eac257574e03642 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -483,6 +483,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" or use_ozone==1', { |
'use_x11%': 0, |
@@ -807,6 +814,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_glib%': '<(use_glib)', |