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

Unified Diff: ui/gfx/compositor/compositor.gyp

Issue 8486020: compositor_unittests target is unimplmented on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address kbr's comments (#19) Created 9 years, 1 month 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/gfx/compositor/compositor.gyp
diff --git a/ui/gfx/compositor/compositor.gyp b/ui/gfx/compositor/compositor.gyp
index ed0b04454bbc494d5d315b73860b384f328c25e6..f97cc95235943cab86e8b222d100a4d7c4be7345 100644
--- a/ui/gfx/compositor/compositor.gyp
+++ b/ui/gfx/compositor/compositor.gyp
@@ -60,7 +60,7 @@
'screen_rotation.h',
],
'conditions': [
- ['os_posix == 1 and OS != "mac"', {
+ ['os_posix == 1', {
'sources!': [
'compositor_stub.cc',
],
@@ -90,7 +90,7 @@
}],
['use_webkit_compositor == 1', {
'sources/': [
- ['exclude', '^compositor_(gl|win|stub).(h|cc)$'],
+ ['exclude', '^compositor_(gl|mac|win|stub).(h|cc|mm)$'],
],
'dependencies': [
'<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
@@ -120,11 +120,15 @@
'conditions': [
['use_webkit_compositor == 1', {
'dependencies': [
- '<(DEPTH)/base/allocator/allocator.gyp:allocator',
'<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support',
'<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
],
}],
+ ['use_webkit_compositor == 1 and OS != "mac"', {
+ 'dependencies': [
+ '<(DEPTH)/base/allocator/allocator.gyp:allocator',
+ ],
+ }],
],
},
{
@@ -152,6 +156,7 @@
'run_all_unittests.cc',
'test_compositor_host.h',
'test_compositor_host_linux.cc',
+ 'test_compositor_host_mac.mm',
'test_compositor_host_win.cc',
'test_layer_animation_delegate.cc',
'test_layer_animation_delegate.h',

Powered by Google App Engine
This is Rietveld 408576698