summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-23 00:08:46 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-23 00:08:46 +0000
commit02065c61d8f4b019bc0addb5b53db8426e0e5ce5 (patch)
tree943c00fe2093a97559b0c8abb4fa75a852b19fc3 /build
parent35d5d5d6bcc213e12f073867f36aff082afc47ca (diff)
downloadchromium_src-02065c61d8f4b019bc0addb5b53db8426e0e5ce5.zip
chromium_src-02065c61d8f4b019bc0addb5b53db8426e0e5ce5.tar.gz
chromium_src-02065c61d8f4b019bc0addb5b53db8426e0e5ce5.tar.bz2
aura: Have aura and aura_demo build and run without gtk on linux.
BUG=97131 TEST=manually Review URL: http://codereview.chromium.org/7981030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102403 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi10
1 files changed, 8 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 27a1f08..4e8057e 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1103,11 +1103,17 @@
['exclude', '(^|/)(cocoa|mac)/'],
['exclude', '\\.mm?$' ] ],
}],
+ ['use_x11!=1', {
+ 'sources/': [
+ ['exclude', '_(chromeos|x|x11)(_unittest)?\\.(h|cc)$'],
+ ['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'],
+ ],
+ }],
['toolkit_uses_gtk!=1', {
'sources/': [
- ['exclude', '_(chromeos|gtk|x|x11|xdg)(_unittest)?\\.(h|cc)$'],
+ ['exclude', '_(gtk|xdg)(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)gtk/'],
- ['exclude', '(^|/)(gtk|x11)_[^/]*\\.(h|cc)$'],
+ ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'],
],
}],
['use_wayland!=1', {