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

Unified Diff: cc/cc_tests.gyp

Issue 11066132: Remove use_libcc_for_compositor gyp variable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 2 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 | « cc/cc.gyp ('k') | webkit/compositor_bindings/WebCompositorImpl.cpp » ('j') | no next file with comments »
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 80b71a1534440943c58f8f8b66269ca5b4ec94fb..816476b375bb5669a1185d6470fede8ce5409335 100644
--- a/cc/cc_tests.gyp
+++ b/cc/cc_tests.gyp
@@ -5,7 +5,6 @@
{
'variables': {
'chromium_code': 0,
- 'use_libcc_for_compositor%': 0,
'cc_tests_source_files': [
'hash_pair_unittest.cc',
'active_animation_unittest.cc',
@@ -109,33 +108,24 @@
'type': '<(gtest_target_type)',
'dependencies': [
'../base/base.gyp:test_support_base',
- '../testing/gtest.gyp:gtest',
+ '../skia/skia.gyp:skia',
'../testing/gmock.gyp:gmock',
+ '../testing/gtest.gyp:gtest',
+ '../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf',
+ 'cc.gyp:cc',
+ 'cc_test_support',
],
'sources': [
'test/run_all_unittests.cc',
+ '<@(cc_tests_source_files)',
+ ],
+ 'include_dirs': [
+ 'stubs',
+ 'test',
+ '.',
+ '../third_party/WebKit/Source/Platform/chromium',
],
'conditions': [
- ['use_libcc_for_compositor==1', {
- 'dependencies': [
- '../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf',
- '../skia/skia.gyp:skia',
- 'cc.gyp:cc',
- 'cc_test_support',
- ],
- 'defines': [
- 'USE_LIBCC_FOR_COMPOSITOR',
- ],
- 'include_dirs': [
- 'stubs',
- 'test',
- '.',
- '../third_party/WebKit/Source/Platform/chromium',
- ],
- 'sources': [
- '<@(cc_tests_source_files)',
- ],
- }],
['OS == "android" and gtest_target_type == "shared_library"', {
'dependencies': [
'../testing/android/native_test.gyp:native_test_native_code',
@@ -143,6 +133,33 @@
}],
],
},
+ {
+ 'target_name': 'cc_test_support',
+ 'type': 'static_library',
+ 'include_dirs': [
+ 'stubs',
+ 'test',
+ '.',
+ '..',
+ '../third_party/WebKit/Source/Platform/chromium',
+ ],
+ 'dependencies': [
+ '../ui/gl/gl.gyp:gl',
+ '../testing/gtest.gyp:gtest',
+ '../testing/gmock.gyp:gmock',
+ '../skia/skia.gyp:skia',
+ '../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf',
+ '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit_wtf_support',
+ '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
+ '../webkit/compositor_bindings/compositor_bindings.gyp:webkit_compositor_support',
+ '../webkit/support/webkit_support.gyp:glue',
+ ],
+ 'sources': [
+ '<@(cc_tests_support_files)',
+ 'test/test_webkit_platform.cc',
+ 'test/test_webkit_platform.h',
+ ],
+ },
],
'conditions': [
# Special target to wrap a gtest_target_type==shared_library
@@ -163,36 +180,5 @@
},
],
}],
- ['use_libcc_for_compositor==1', {
- 'targets': [
- {
- 'target_name': 'cc_test_support',
- 'type': 'static_library',
- 'include_dirs': [
- 'stubs',
- 'test',
- '.',
- '..',
- '../third_party/WebKit/Source/Platform/chromium',
- ],
- 'dependencies': [
- '../ui/gl/gl.gyp:gl',
- '../testing/gtest.gyp:gtest',
- '../testing/gmock.gyp:gmock',
- '../skia/skia.gyp:skia',
- '../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf',
- '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit_wtf_support',
- '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
- '../webkit/compositor_bindings/compositor_bindings.gyp:webkit_compositor_support',
- '../webkit/support/webkit_support.gyp:glue',
- ],
- 'sources': [
- '<@(cc_tests_support_files)',
- 'test/test_webkit_platform.cc',
- 'test/test_webkit_platform.h',
- ],
- },
- ],
- }],
],
}
« no previous file with comments | « cc/cc.gyp ('k') | webkit/compositor_bindings/WebCompositorImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698