From eb0060c530cf870b43f4c76b2e339a943e06db40 Mon Sep 17 00:00:00 2001
From: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Date: Mon, 18 Aug 2014 15:22:07 +0200
Subject: [PATCH] <chromium> Exclude the dependency to xscrnsaver

Just having the conditions match triggers pkg-config to be run
which will fail the build even if we won't need the library.

Change-Id: Ic8556f3019ff6c5e76d609e9f67d68ec2a9a392e
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
---
 chromium/build/linux/system.gyp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chromium/build/linux/system.gyp b/chromium/build/linux/system.gyp
index 8c5a68d0f8c..628357d10e4 100644
--- a/chromium/build/linux/system.gyp
+++ b/chromium/build/linux/system.gyp
@@ -339,7 +339,7 @@
         }
       ],  # targets
     }],
-    ['use_x11==1 and chromeos==0', {
+    ['use_x11==1 and chromeos==0 and use_qt==0', {
       'targets': [
         {
           'target_name': 'xscrnsaver',
-- 
GitLab