OLD | NEW |
| (Empty) |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'chromium_code': 0, | |
8 'use_libcc_for_compositor%': 0, | |
9 'webkit_compositor_tests_sources': [ | |
10 'LayerChromiumTest.cpp', | |
11 'TextureCopierTest.cpp', | |
12 'TextureLayerChromiumTest.cpp', | |
13 'ThrottledTextureUploaderTest.cpp', | |
14 'TiledLayerChromiumTest.cpp', | |
15 'TreeSynchronizerTest.cpp', | |
16 'WebAnimationTest.cpp', | |
17 'WebFloatAnimationCurveTest.cpp', | |
18 'WebFloatAnimationCurveTest.cpp', | |
19 'WebLayerTest.cpp', | |
20 'WebLayerTreeViewTest.cpp', | |
21 'WebTransformAnimationCurveTest.cpp', | |
22 'WebTransformAnimationCurveTest.cpp', | |
23 'WebTransformOperationsTest.cpp', | |
24 'WebTransformationMatrixTest.cpp', | |
25 'test/FakeWebScrollbarThemeGeometry.h', | |
26 'test/WebLayerTreeViewTestCommon.h', | |
27 ], | |
28 }, | |
29 'conditions': [ | |
30 ['use_libcc_for_compositor==1 and component!="shared_library"', { | |
31 'targets': [ | |
32 { | |
33 'target_name': 'webkit_compositor_unittests', | |
34 'type' : 'executable', | |
35 'dependencies': [ | |
36 '../../base/base.gyp:test_support_base', | |
37 '../../cc/cc.gyp:cc', | |
38 '../../cc/cc_tests.gyp:cc_test_support', | |
39 '../../skia/skia.gyp:skia', | |
40 '../../testing/gmock.gyp:gmock', | |
41 '../../testing/gtest.gyp:gtest', | |
42 '../../third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp:
webkit_platform', | |
43 '../../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', | |
44 '../../webkit/support/webkit_support.gyp:webkit_support', | |
45 'compositor.gyp:webkit_compositor', | |
46 ], | |
47 'include_dirs': [ | |
48 '.', | |
49 'test', | |
50 '<(DEPTH)/cc', | |
51 '<(DEPTH)/cc/stubs', | |
52 '<(DEPTH)/cc/test', | |
53 ], | |
54 'sources': [ | |
55 '<@(webkit_compositor_tests_sources)', | |
56 'test/run_all_unittests.cc', | |
57 ] | |
58 }, | |
59 ], | |
60 }, { | |
61 'targets': [ | |
62 { | |
63 'target_name': 'webkit_compositor_unittests', | |
64 'type' : 'none', | |
65 } | |
66 ], | |
67 }], | |
68 ], | |
69 } | |
OLD | NEW |