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

Unified Diff: webkit/compositor_bindings/compositor_bindings_tests.gyp

Issue 10920056: Make cc_unittests and webkit_compositor_unittests executable always (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename to webkit_compositor_bindings Created 8 years, 4 months 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
« no previous file with comments | « webkit/compositor_bindings/compositor_bindings.gyp ('k') | webkit/compositor_bindings/copyfiles.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/compositor_bindings_tests.gyp
diff --git a/webkit/compositor/compositor_tests.gyp b/webkit/compositor_bindings/compositor_bindings_tests.gyp
similarity index 68%
rename from webkit/compositor/compositor_tests.gyp
rename to webkit/compositor_bindings/compositor_bindings_tests.gyp
index 87ecd484090bd8d0044613c9fb5fb64c79183530..00fbb30910b97ea9531f9fb1ed74b254ca91c071 100644
--- a/webkit/compositor/compositor_tests.gyp
+++ b/webkit/compositor_bindings/compositor_bindings_tests.gyp
@@ -6,7 +6,7 @@
'variables': {
'chromium_code': 0,
'use_libcc_for_compositor%': 0,
- 'webkit_compositor_tests_sources': [
+ 'webkit_compositor_bindings_tests_sources': [
'LayerChromiumTest.cpp',
'TextureCopierTest.cpp',
'TextureLayerChromiumTest.cpp',
@@ -26,23 +26,31 @@
'test/WebLayerTreeViewTestCommon.h',
],
},
- 'conditions': [
- ['use_libcc_for_compositor==1 and component!="shared_library"', {
- 'targets': [
- {
- 'target_name': 'webkit_compositor_unittests',
- 'type' : 'executable',
+ 'targets': [
+ {
+ 'target_name': 'webkit_compositor_bindings_unittests',
+ 'type' : 'executable',
+ 'dependencies': [
+ '../../base/base.gyp:test_support_base',
+ '../../testing/gmock.gyp:gmock',
+ '../../testing/gtest.gyp:gtest',
+ ],
+ 'sources': [
+ 'test/run_all_unittests.cc',
+ ],
+ 'conditions': [
+ ['use_libcc_for_compositor==1 and component!="shared_library"', {
+ 'defines': [
+ 'USE_LIBCC_FOR_COMPOSITOR',
+ ],
'dependencies': [
- '../../base/base.gyp:test_support_base',
'../../cc/cc.gyp:cc',
'../../cc/cc_tests.gyp:cc_test_support',
'../../skia/skia.gyp:skia',
- '../../testing/gmock.gyp:gmock',
- '../../testing/gtest.gyp:gtest',
'../../third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp:webkit_platform',
'../../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf',
'../../webkit/support/webkit_support.gyp:webkit_support',
- 'compositor.gyp:webkit_compositor',
+ 'compositor_bindings.gyp:webkit_compositor_bindings',
],
'include_dirs': [
'.',
@@ -52,18 +60,10 @@
'<(DEPTH)/cc/test',
],
'sources': [
- '<@(webkit_compositor_tests_sources)',
- 'test/run_all_unittests.cc',
+ '<@(webkit_compositor_bindings_tests_sources)',
]
- },
- ],
- }, {
- 'targets': [
- {
- 'target_name': 'webkit_compositor_unittests',
- 'type' : 'none',
- }
+ }],
],
- }],
+ },
],
}
« no previous file with comments | « webkit/compositor_bindings/compositor_bindings.gyp ('k') | webkit/compositor_bindings/copyfiles.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698