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

Unified Diff: chrome/chrome_browser_extensions.gypi

Issue 148643002: Hide X11 dependencies when use_x11=0. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include compositor_model_bench for only x11 builds for now. (Right Version) Created 6 years, 10 months 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
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', {
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/chrome_browser_ui.gypi » ('j') | gpu/tools/tools.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698