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

Unified Diff: cc/cc_tests.gyp

Issue 10828381: libcc and webkit_compositor targets + stubs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Slightly better scripts and updated README 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 | « cc/cc.gyp ('k') | cc/copyfiles.py » ('j') | cc/test/RunAllTests.cpp » ('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
new file mode 100644
index 0000000000000000000000000000000000000000..a67d5636f438706a575b1a11a8000471195df135
--- /dev/null
+++ b/cc/cc_tests.gyp
@@ -0,0 +1,105 @@
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'chromium_code': 0,
+ 'use_libcc_for_compositor%': 0,
+ 'cc_tests_source_files': [
+ 'CCActiveAnimationTest.cpp',
+ 'CCDamageTrackerTest.cpp',
+ 'CCDelayBasedTimeSourceTest.cpp',
+ 'CCFrameRateControllerTest.cpp',
+ 'CCKeyframedAnimationCurveTest.cpp',
+ 'CCLayerAnimationControllerTest.cpp',
+ 'CCLayerImplTest.cpp',
+ 'CCLayerIteratorTest.cpp',
+ 'CCLayerQuadTest.cpp',
+ 'CCLayerSorterTest.cpp',
+ 'CCLayerTreeHostCommonTest.cpp',
+ 'CCLayerTreeHostImplTest.cpp',
+ 'CCLayerTreeHostTest.cpp',
+ 'CCMathUtilTest.cpp',
+ 'CCOcclusionTrackerTest.cpp',
+ 'CCPrioritizedTextureTest.cpp',
+ 'CCQuadCullerTest.cpp',
+ 'CCRenderSurfaceFiltersTest.cpp',
+ 'CCRenderSurfaceTest.cpp',
+ 'CCResourceProviderTest.cpp',
+ 'CCSchedulerStateMachineTest.cpp',
+ 'CCSchedulerTest.cpp',
+ 'CCSchedulerTest.cpp',
+ 'CCScopedTextureTest.cpp',
+ 'CCScrollbarAnimationControllerLinearFadeTest.cpp',
+ 'CCSolidColorLayerImplTest.cpp',
+ 'CCTextureUpdateControllerTest.cpp',
+ 'CCThreadTaskTest.cpp',
+ 'CCThreadedTest.cpp',
+ 'CCThreadedTest.h',
+ 'CCTiledLayerImplTest.cpp',
+ 'CCTimerTest.cpp',
+ 'test/CCAnimationTestCommon.cpp',
+ 'test/CCAnimationTestCommon.h',
+ 'test/CCLayerTestCommon.cpp',
+ 'test/CCLayerTestCommon.h',
+ 'test/CCLayerTreeTestCommon.h',
+ 'test/CCLayerTreeTestCommon.h',
+ 'test/CCOcclusionTrackerTestCommon.h',
+ 'test/CCSchedulerTestCommon.h',
+ 'test/CCSchedulerTestCommon.h',
+ 'test/CCTestCommon.h',
+ 'test/CCTiledLayerTestCommon.cpp',
+ 'test/CCTiledLayerTestCommon.h',
+ 'test/CompositorFakeWebGraphicsContext3D.h',
+ 'test/FakeCCGraphicsContext.h',
+ 'test/FakeCCLayerTreeHostClient.h',
+ 'test/FakeGraphicsContext3DTest.cpp',
+ 'test/FakeWebCompositorOutputSurface.h',
+ 'test/FakeWebGraphicsContext3D.h',
+ 'test/FakeWebScrollbarThemeGeometry.h',
+ 'test/MockCCQuadCuller.h',
+ ]
+ },
+ 'conditions': [
+ ['use_libcc_for_compositor==1 and component!="shared_library"', {
+ 'targets': [
+ {
+ 'target_name': 'cc_unittests',
+ 'type': 'executable',
+ 'dependencies': [
+ '<(DEPTH)/base/base.gyp:test_support_base',
+ '<(DEPTH)/testing/gtest.gyp:gtest',
+ '<(DEPTH)/testing/gmock.gyp:gmock',
+ '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support',
+ '<(DEPTH)/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.
+ '<(DEPTH)/third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf',
+ '<(DEPTH)/third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp:webkit_platform',
+ 'cc.gyp:cc',
+ ],
+ 'defines': [
+ 'WTF_USE_ACCELERATED_COMPOSITING=1',
+ ],
+ 'include_dirs': [
+ 'stubs',
+ 'test',
+ '.',
+ ],
+ 'sources': [
+ '<@(cc_tests_source_files)',
+ 'test/RunAllTests.cpp',
+ ],
+ },
+ ],
+ }, {
+ 'targets': [
+ {
+ 'target_name': 'cc_unittests',
+ 'type': 'none',
+ }
+ ]
+ }],
+ ],
+}
+
« no previous file with comments | « cc/cc.gyp ('k') | cc/copyfiles.py » ('j') | cc/test/RunAllTests.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698