Index: chrome/chrome_browser_extensions.gypi |
diff --git a/chrome/chrome_browser_extensions.gypi b/chrome/chrome_browser_extensions.gypi |
index 85935ffce9bdf7fa98f97bf2d7085355e2bc890d..c91e91837e5d444049ce933b9550501656c46f9d 100644 |
--- a/chrome/chrome_browser_extensions.gypi |
+++ b/chrome/chrome_browser_extensions.gypi |
@@ -1036,12 +1036,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', { |