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

Unified Diff: cc/cc_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: 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 | « no previous file | webkit/compositor/compositor_tests.gyp » ('j') | webkit/compositor/compositor_tests.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/cc_tests.gyp
diff --git a/cc/cc_tests.gyp b/cc/cc_tests.gyp
index e24b71dd766114dd2bc03fb862dd0a291b657940..74ccc8fecedb675dd7770926b57bc4349bcc2e45 100644
--- a/cc/cc_tests.gyp
+++ b/cc/cc_tests.gyp
@@ -64,17 +64,22 @@
'test/MockCCQuadCuller.h',
],
},
- 'conditions': [
- ['use_libcc_for_compositor==1 and component!="shared_library"', {
- 'targets': [
- {
- 'target_name': 'cc_unittests',
- 'type': 'executable',
+ 'targets': [
+ {
+ 'target_name': 'cc_unittests',
+ 'type': 'executable',
+ 'dependencies': [
+ '../base/base.gyp:test_support_base',
+ '../testing/gtest.gyp:gtest',
+ '../testing/gmock.gyp:gmock',
+ '../webkit/support/webkit_support.gyp:webkit_support',
+ ],
+ 'sources': [
+ 'test/run_all_unittests.cc',
+ ],
+ 'conditions': [
+ ['use_libcc_for_compositor==1 and component!="shared_library"', {
'dependencies': [
- '../base/base.gyp:test_support_base',
- '../testing/gtest.gyp:gtest',
- '../testing/gmock.gyp:gmock',
- '../webkit/support/webkit_support.gyp:webkit_support',
'../skia/skia.gyp:skia',
# We have to depend on WTF directly to pick up the correct defines for WTF headers - for instance USE_SYSTEM_MALLOC.
'../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf',
@@ -92,9 +97,14 @@
],
'sources': [
'<@(cc_tests_source_files)',
- 'test/run_all_unittests.cc',
],
- },
+ }],
+ ],
+ },
+ ],
+ 'conditions': [
+ ['use_libcc_for_compositor==1 and component!="shared_library"', {
+ 'targets': [
{
'target_name': 'cc_test_support',
'type': 'static_library',
@@ -120,13 +130,6 @@
],
},
],
- }, {
- 'targets': [
- {
- 'target_name': 'cc_unittests',
- 'type': 'none',
- }
- ]
}],
],
}
« no previous file with comments | « no previous file | webkit/compositor/compositor_tests.gyp » ('j') | webkit/compositor/compositor_tests.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698