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