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

Unified Diff: ui/aura/aura.gyp

Issue 8805033: Makes tests either use mock compositor or mock WebGraphicsContext3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks Created 9 years 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: ui/aura/aura.gyp
diff --git a/ui/aura/aura.gyp b/ui/aura/aura.gyp
index 6d98b42d6e282102896056bf4cfb85a96eae5b7b..2bb8aec9c03edc71aacf64f07ed7a0902a1aaa02 100644
--- a/ui/aura/aura.gyp
+++ b/ui/aura/aura.gyp
@@ -60,7 +60,6 @@
'dependencies': [
'../../skia/skia.gyp:skia',
'../../testing/gtest.gyp:gtest',
- '../gfx/compositor/compositor.gyp:test_compositor',
'../ui.gyp:ui',
'aura',
],
@@ -81,6 +80,13 @@
'test/test_window_delegate.cc',
'test/test_window_delegate.h',
],
+ 'conditions': [
+ ['use_webkit_compositor==0', {
+ 'dependencies': [
+ '../gfx/compositor/compositor.gyp:test_compositor',
+ ],
+ }],
+ ],
},
{
'target_name': 'aura_demo',
@@ -116,7 +122,6 @@
'../../skia/skia.gyp:skia',
'../../testing/gtest.gyp:gtest',
'../gfx/compositor/compositor.gyp:compositor_test_support',
- '../gfx/compositor/compositor.gyp:test_compositor',
'../gfx/gl/gl.gyp:gl',
'../ui.gyp:gfx_resources',
'../ui.gyp:ui',
@@ -144,6 +149,15 @@
'<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
],
}],
+ ['use_webkit_compositor==1', {
+ 'dependencies': [
+ '../gfx/compositor/compositor.gyp:compositor',
+ ],
+ }, { # use_webkit_compositor!=1
+ 'dependencies': [
+ '../gfx/compositor/compositor.gyp:test_compositor',
+ ],
+ }],
],
},
],

Powered by Google App Engine
This is Rietveld 408576698