diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-21 17:52:54 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-21 17:52:54 +0000 |
commit | b6bb36e2e8c9a09b4fd733bf74b60a6f02a5a7e9 (patch) | |
tree | 91131329313e02e6c171e007707ab1cb0c3c2be0 /ui/ui_unittests.gypi | |
parent | 694cafac21aee4a18638d5dfb0e726d3f237be3d (diff) | |
download | chromium_src-b6bb36e2e8c9a09b4fd733bf74b60a6f02a5a7e9.zip chromium_src-b6bb36e2e8c9a09b4fd733bf74b60a6f02a5a7e9.tar.gz chromium_src-b6bb36e2e8c9a09b4fd733bf74b60a6f02a5a7e9.tar.bz2 |
aura: Make 'ui' buildable without gtk.
BUG=97131
TEST=ui_unittests links and runs with use_aura=1
Review URL: http://codereview.chromium.org/7977025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102131 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/ui_unittests.gypi')
-rw-r--r-- | ui/ui_unittests.gypi | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/ui/ui_unittests.gypi b/ui/ui_unittests.gypi index b6fa721..1f2ea7f 100644 --- a/ui/ui_unittests.gypi +++ b/ui/ui_unittests.gypi @@ -138,12 +138,9 @@ 'gfx/interpolated_transform_unittest.cc', ], }], - ['toolkit_uses_gtk == 1', { - 'sources': [ - 'base/dragdrop/gtk_dnd_util_unittest.cc', - ], + ['use_glib == 1', { 'dependencies': [ - '../build/linux/system.gyp:gtk', + '../build/linux/system.gyp:pangocairo', '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 'base/strings/ui_strings.gyp:ui_unittest_strings', ], @@ -160,6 +157,14 @@ }], ], }], + ['toolkit_uses_gtk == 1', { + 'sources': [ + 'base/dragdrop/gtk_dnd_util_unittest.cc', + ], + 'dependencies': [ + '../build/linux/system.gyp:gtk', + ], + }], ['toolkit_views==1', { 'sources': [ 'gfx/render_text_unittest.cc', |