Index: chrome/chrome_browser_extensions.gypi |
diff --git a/chrome/chrome_browser_extensions.gypi b/chrome/chrome_browser_extensions.gypi |
index 83a4da4a3867c42306b03a7a727682aa20cf48ce..ab7779a8028de681cb6183fb61bd317846cbe93d 100644 |
--- a/chrome/chrome_browser_extensions.gypi |
+++ b/chrome/chrome_browser_extensions.gypi |
@@ -1038,12 +1038,21 @@ |
'../ui/keyboard/keyboard.gyp:keyboard_resources', |
], |
}], |
- ['OS=="linux" and use_aura==1', { |
- 'dependencies': [ |
- '../build/linux/system.gyp:dbus', |
- '../build/linux/system.gyp:fontconfig', |
- '../build/linux/system.gyp:x11', |
- '../dbus/dbus.gyp:dbus', |
+ ['OS=="linux"', { |
+ 'conditions': [ |
+ ['use_aura==1', { |
+ 'dependencies': [ |
+ '../build/linux/system.gyp:dbus', |
+ '../build/linux/system.gyp:fontconfig', |
+ '../dbus/dbus.gyp:dbus', |
+ ], |
+ }], |
+ # x11 build |
+ ['use_x11==1', { |
+ 'dependencies': [ |
+ '../build/linux/system.gyp:x11', |
+ ], |
+ }], |
], |
}], |
['safe_browsing==1', { |