Index: chrome/chrome_exe.gypi |
diff --git a/chrome/chrome_exe.gypi b/chrome/chrome_exe.gypi |
index 5e5f582d2b5c4fbc14898376f8216c5ef16452fd..7ef8f48dec3a4ae29bb24069d92b90547ada025b 100644 |
--- a/chrome/chrome_exe.gypi |
+++ b/chrome/chrome_exe.gypi |
@@ -201,13 +201,18 @@ |
'<@(chromium_child_dependencies)', |
'../content/content.gyp:content_app_both', |
# Needed for chrome_main.cc initialization of libraries. |
- '../build/linux/system.gyp:x11', |
'../build/linux/system.gyp:pangocairo', |
- '../build/linux/system.gyp:xext', |
# Needed to use the master_preferences functions |
'installer_util', |
], |
}], |
+ # x11 build. Needed for chrome_main.cc initialization of libraries. |
+ ['use_x11==1', { |
+ 'dependencies': [ |
+ '../build/linux/system.gyp:x11', |
+ '../build/linux/system.gyp:xext', |
+ ], |
+ }], |
], |
'sources': [ |
'app/chrome_dll_resource.h', |