Index: ui/aura_shell/aura_shell.gyp |
diff --git a/ui/aura_shell/aura_shell.gyp b/ui/aura_shell/aura_shell.gyp |
index 2e1d4302db928631d8e195e63136bdd7b6484d77..fc4f0d19a4aeeddcea38bb51c4e53d36a179c578 100644 |
--- a/ui/aura_shell/aura_shell.gyp |
+++ b/ui/aura_shell/aura_shell.gyp |
@@ -135,7 +135,6 @@ |
'../aura/aura.gyp:aura', |
'../aura/aura.gyp:test_support_aura', |
'../gfx/compositor/compositor.gyp:compositor_test_support', |
- '../gfx/compositor/compositor.gyp:test_compositor', |
'../ui.gyp:gfx_resources', |
'../ui.gyp:ui', |
'../ui.gyp:ui_resources', |
@@ -170,6 +169,17 @@ |
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', |
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc', |
], |
+ 'conditions': [ |
+ ['use_webkit_compositor==1', { |
+ 'dependencies': [ |
+ '../gfx/compositor/compositor.gyp:compositor', |
+ ], |
+ }, { # use_webkit_compositor!=1 |
+ 'dependencies': [ |
+ '../gfx/compositor/compositor.gyp:test_compositor', |
+ ], |
+ }], |
+ ], |
}, |
{ |
'target_name': 'aura_shell_exe', |