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', | 10 'LayerChromiumTest.cpp', |
11 'TextureCopierTest.cpp', | 11 'TextureCopierTest.cpp', |
12 'TextureLayerChromiumTest.cpp', | 12 'TextureLayerChromiumTest.cpp', |
13 'ThrottledTextureUploaderTest.cpp', | 13 'ThrottledTextureUploaderTest.cpp', |
14 'TiledLayerChromiumTest.cpp', | 14 'TiledLayerChromiumTest.cpp', |
15 'TreeSynchronizerTest.cpp', | 15 'TreeSynchronizerTest.cpp', |
16 'WebAnimationTest.cpp', | 16 'WebAnimationTest.cpp', |
17 'WebFloatAnimationCurveTest.cpp', | 17 'WebFloatAnimationCurveTest.cpp', |
18 'WebFloatAnimationCurveTest.cpp', | 18 'WebFloatAnimationCurveTest.cpp', |
19 'WebLayerTest.cpp', | 19 'WebLayerTest.cpp', |
20 'WebLayerTreeViewTest.cpp', | 20 'WebLayerTreeViewTest.cpp', |
21 'WebTransformAnimationCurveTest.cpp', | 21 'WebTransformAnimationCurveTest.cpp', |
22 'WebTransformAnimationCurveTest.cpp', | 22 'WebTransformAnimationCurveTest.cpp', |
23 'WebTransformOperationsTest.cpp', | 23 'WebTransformOperationsTest.cpp', |
24 'WebTransformationMatrixTest.cpp', | 24 'WebTransformationMatrixTest.cpp', |
25 'test/FakeWebScrollbarThemeGeometry.h', | 25 'test/FakeWebScrollbarThemeGeometry.h', |
26 'test/WebLayerTreeViewTestCommon.h', | 26 'test/WebLayerTreeViewTestCommon.h', |
27 ], | 27 ], |
28 }, | 28 }, |
29 'conditions': [ | 29 'targets': [ |
30 ['use_libcc_for_compositor==1 and component!="shared_library"', { | 30 { |
31 'targets': [ | 31 'target_name': 'webkit_compositor_unittests', |
nduca
2012/08/31 23:16:49
this target name is kinda bad.
webkit_unit_tests
| |
32 { | 32 'type' : 'executable', |
33 'target_name': 'webkit_compositor_unittests', | 33 'dependencies': [ |
34 'type' : 'executable', | 34 '../../base/base.gyp:test_support_base', |
35 '../../testing/gmock.gyp:gmock', | |
36 '../../testing/gtest.gyp:gtest', | |
37 '../../webkit/support/webkit_support.gyp:webkit_support', | |
38 ], | |
39 'sources': [ | |
40 'test/run_all_unittests.cc', | |
41 ], | |
42 'conditions': [ | |
43 ['use_libcc_for_compositor==1 and component!="shared_library"', { | |
35 'dependencies': [ | 44 'dependencies': [ |
36 '../../base/base.gyp:test_support_base', | |
37 '../../cc/cc.gyp:cc', | 45 '../../cc/cc.gyp:cc', |
38 '../../cc/cc_tests.gyp:cc_test_support', | 46 '../../cc/cc_tests.gyp:cc_test_support', |
39 '../../skia/skia.gyp:skia', | 47 '../../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', | 48 '../../third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp: webkit_platform', |
43 '../../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', | 49 '../../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', |
44 '../../webkit/support/webkit_support.gyp:webkit_support', | |
45 'compositor.gyp:webkit_compositor', | 50 'compositor.gyp:webkit_compositor', |
46 ], | 51 ], |
47 'include_dirs': [ | 52 'include_dirs': [ |
48 '.', | 53 '.', |
49 'test', | 54 'test', |
50 '<(DEPTH)/cc', | 55 '<(DEPTH)/cc', |
51 '<(DEPTH)/cc/stubs', | 56 '<(DEPTH)/cc/stubs', |
52 '<(DEPTH)/cc/test', | 57 '<(DEPTH)/cc/test', |
53 ], | 58 ], |
54 'sources': [ | 59 'sources': [ |
55 '<@(webkit_compositor_tests_sources)', | 60 '<@(webkit_compositor_tests_sources)', |
56 'test/run_all_unittests.cc', | |
57 ] | 61 ] |
58 }, | 62 }], |
59 ], | 63 ], |
60 }, { | 64 }, |
61 'targets': [ | |
62 { | |
63 'target_name': 'webkit_compositor_unittests', | |
64 'type' : 'none', | |
65 } | |
66 ], | |
67 }], | |
68 ], | 65 ], |
69 } | 66 } |
OLD | NEW |