7fb0c0f707e1d688c1be90bd235f03a0b6e448ec
[WebKit-https.git] / Source / WebKit / chromium / WebKit.gypi
1 #
2 # Copyright (C) 2010 Google Inc. All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are
6 # met:
7 #
8 #         * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer.
10 #         * Redistributions in binary form must reproduce the above
11 # copyright notice, this list of conditions and the following disclaimer
12 # in the documentation and/or other materials provided with the
13 # distribution.
14 #         * Neither the name of Google Inc. nor the names of its
15 # contributors may be used to endorse or promote products derived from
16 # this software without specific prior written permission.
17 #
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 #
30
31 {
32     'variables': {
33         # List of DevTools source files, ordered by dependencies. It is used both
34         # for copying them to resource dir, and for generating 'devtools.html' file.
35         'devtools_js_files': [
36             'src/js/DevTools.js',
37             'src/js/DevToolsExtensionAPI.js',
38             'src/js/Tests.js',
39         ],
40         'devtools_css_files': [
41             'src/js/devTools.css',
42         ],
43         'devtools_extension_api_files': [
44             '../../WebCore/inspector/front-end/ExtensionAPI.js',
45             'src/js/DevToolsExtensionAPI.js'
46         ],
47         'devtools_image_files': [
48             'src/js/Images/segmentChromium.png',
49             'src/js/Images/segmentHoverChromium.png',
50             'src/js/Images/segmentHoverEndChromium.png',
51             'src/js/Images/segmentSelectedChromium.png',
52             'src/js/Images/segmentSelectedEndChromium.png',
53         ],
54         'webkit_unittest_files': [
55             'tests/AnimationTranslationUtilTest.cpp',
56             'tests/ArenaTestHelpers.h',
57             'tests/AssociatedURLLoaderTest.cpp',
58             'tests/Canvas2DLayerBridgeTest.cpp',
59             'tests/CCActiveAnimationTest.cpp',
60             'tests/CCAnimationTestCommon.cpp',
61             'tests/CCAnimationTestCommon.h',
62             'tests/CCDamageTrackerTest.cpp',
63             'tests/CCDelayBasedTimeSourceTest.cpp',
64             'tests/CCFrameRateControllerTest.cpp',
65             'tests/CCKeyframedAnimationCurveTest.cpp',
66             'tests/CCLayerAnimationControllerTest.cpp',
67             'tests/CCLayerImplTest.cpp',
68             'tests/CCLayerIteratorTest.cpp',
69             'tests/CCLayerQuadTest.cpp',
70             'tests/CCLayerSorterTest.cpp',
71             'tests/CCLayerTestCommon.cpp',
72             'tests/CCLayerTestCommon.h',
73             'tests/CCLayerTreeHostCommonTest.cpp',
74             'tests/CCLayerTreeHostImplTest.cpp',
75             'tests/CCLayerTreeHostTest.cpp',
76             'tests/CCLayerTreeTestCommon.h',
77             'tests/CCMathUtilTest.cpp',
78             'tests/CCOcclusionTrackerTest.cpp',
79             'tests/CCOcclusionTrackerTestCommon.h',
80             'tests/CCQuadCullerTest.cpp',
81             'tests/CCRenderSurfaceFiltersTest.cpp',
82             'tests/CCRenderSurfaceTest.cpp',
83             'tests/CCResourceProviderTest.cpp',
84             'tests/CCSchedulerStateMachineTest.cpp',
85             'tests/CCSchedulerTestCommon.h',
86             'tests/CCSchedulerTest.cpp',
87             'tests/CCScopedTextureTest.cpp',
88             'tests/CCScrollbarAnimationControllerLinearFadeTest.cpp',
89             'tests/CCSolidColorLayerImplTest.cpp',
90             'tests/CCTestCommon.h',
91             'tests/CCTextureUpdateControllerTest.cpp',
92             'tests/CCTiledLayerImplTest.cpp',
93             'tests/CCTiledLayerTestCommon.h',
94             'tests/CCTiledLayerTestCommon.cpp',
95             'tests/CCThreadTaskTest.cpp',
96             'tests/CCThreadedTest.cpp',
97             'tests/CCThreadedTest.h',
98             'tests/CCTimerTest.cpp',
99             'tests/ClipboardChromiumTest.cpp',
100             'tests/CompositorFakeWebGraphicsContext3D.h',
101             'tests/ContentLayerChromiumTest.cpp',
102             'tests/DateTimeFormatTest.cpp',
103             'tests/DecimalTest.cpp',
104             'tests/DragImageTest.cpp',
105             'tests/EventListenerTest.cpp',
106             'tests/FakeCCLayerTreeHostClient.h',
107             'tests/FakeGraphicsContext3DTest.cpp',
108             'tests/FakeWebCompositorOutputSurface.h',
109             'tests/FakeWebGraphicsContext3D.h',
110             'tests/FakeWebScrollbarThemeGeometry.h',
111             'tests/FilterOperationsTest.cpp',
112             'tests/FloatQuadTest.cpp',
113             'tests/FrameLoaderClientImplTest.cpp',
114             'tests/FrameTestHelpers.cpp',
115             'tests/FrameTestHelpers.h',
116             'tests/GraphicsLayerChromiumTest.cpp',
117             'tests/IDBAbortOnCorruptTest.cpp',
118             'tests/IDBBindingUtilitiesTest.cpp',
119             'tests/IDBDatabaseBackendTest.cpp',
120             'tests/IDBFakeBackingStore.h',
121             'tests/IDBKeyPathTest.cpp',
122             'tests/IDBLevelDBCodingTest.cpp',
123             'tests/IDBRequestTest.cpp',
124             'tests/ImageLayerChromiumTest.cpp',
125             'tests/KeyboardTest.cpp',
126             'tests/KURLTest.cpp',
127             'tests/LayerChromiumTest.cpp',
128             'tests/LayerRendererChromiumTest.cpp',
129             'tests/LevelDBTest.cpp',
130             'tests/LinkHighlightTest.cpp',
131             'tests/ListenerLeakTest.cpp',
132             'tests/MemoryInfo.cpp',
133             'tests/MemoryInstrumentationTest.cpp',
134             'tests/MockCCQuadCuller.h',
135             'tests/OpaqueRectTrackingContentLayerDelegateTest.cpp',
136             'tests/OpenTypeVerticalDataTest.cpp',
137             'tests/PaintAggregatorTest.cpp',
138             'tests/PlatformGestureCurveTest.cpp',
139             'tests/PlatformContextSkiaTest.cpp',
140             'tests/PODArenaTest.cpp',
141             'tests/PODIntervalTreeTest.cpp',
142             'tests/PODRedBlackTreeTest.cpp',
143             'tests/PopupContainerTest.cpp',
144             'tests/CCPrioritizedTextureTest.cpp',
145             'tests/RegionTest.cpp',
146             'tests/RenderTableCellTest.cpp',
147             'tests/RenderTableRowTest.cpp',
148             'tests/ScrollbarLayerChromiumTest.cpp',
149             'tests/TextureCopierTest.cpp',
150             'tests/TextureLayerChromiumTest.cpp',
151             'tests/ThrottledTextureUploaderTest.cpp',
152             'tests/TiledLayerChromiumTest.cpp',
153             'tests/TilingDataTest.cpp',
154             'tests/TreeSynchronizerTest.cpp',
155             'tests/TreeTestHelpers.cpp',
156             'tests/TreeTestHelpers.h',
157             'tests/URLTestHelpers.cpp',
158             'tests/URLTestHelpers.h',
159             'tests/WebAnimationTest.cpp',
160             'tests/WebCompositorInputHandlerImplTest.cpp',
161             'tests/WebFloatAnimationCurveTest.cpp',
162             'tests/WebFrameTest.cpp',
163             'tests/WebLayerTest.cpp',
164             'tests/WebLayerTreeViewTest.cpp',
165             'tests/WebLayerTreeViewTestCommon.h',
166             'tests/WebMediaPlayerClientImplTest.cpp',
167             'tests/WebPageNewSerializerTest.cpp',
168             'tests/WebPageSerializerTest.cpp',
169             'tests/WebSocketDeflaterTest.cpp',
170             'tests/WebSocketExtensionDispatcherTest.cpp',
171             'tests/WebTransformAnimationCurveTest.cpp',
172             'tests/WebTransformationMatrixTest.cpp',
173             'tests/WebTransformOperationsTest.cpp',
174             'tests/WebURLRequestTest.cpp',
175             'tests/WebURLResponseTest.cpp',
176             'tests/WebViewTest.cpp',
177         ],
178
179         'webkit_compositor_bindings_files': [
180             'src/WebAnimationCurveCommon.cpp',
181             'src/WebAnimationCurveCommon.h',
182             'src/WebAnimationImpl.cpp',
183             'src/WebAnimationImpl.h',
184             'src/WebCompositorInputHandlerImpl.cpp',
185             'src/WebCompositorInputHandlerImpl.h',
186             'src/WebContentLayer.cpp',
187             'src/WebContentLayerImpl.cpp',
188             'src/WebContentLayerImpl.h',
189             'src/WebExternalTextureLayer.cpp',
190             'src/WebFloatAnimationCurve.cpp',
191             'src/WebIOSurfaceLayer.cpp',
192             'src/WebImageLayer.cpp',
193             'src/WebLayer.cpp',
194             'src/WebLayerImpl.cpp',
195             'src/WebLayerImpl.h',
196             'src/WebLayerTreeView.cpp',
197             'src/WebLayerTreeViewImpl.cpp',
198             'src/WebLayerTreeViewImpl.h',
199             'src/WebScrollableLayer.cpp',
200             'src/WebScrollbarLayer.cpp',
201             'src/WebSolidColorLayer.cpp',
202             'src/WebSolidColorLayerImpl.cpp',
203             'src/WebSolidColorLayerImpl.h',
204             'src/WebTransformAnimationCurve.cpp',
205             'src/WebVideoLayer.cpp',
206         ],
207
208         'conditions': [
209             ['OS=="win"', {
210                 'webkit_unittest_files': [
211                     'tests/LocaleWinTest.cpp',
212                     # FIXME: Port PopupMenuTest to Linux and Mac.
213                     'tests/PopupMenuTest.cpp',
214                     'tests/TransparencyWinTest.cpp',
215                     'tests/UniscribeHelperTest.cpp',
216                     'tests/WebPageNewSerializerTest.cpp',
217                     'tests/WebPageSerializerTest.cpp',
218                 ],
219             }],
220             ['OS=="mac"', {
221                 'webkit_unittest_files': [
222                     'tests/LocaleMacTest.cpp',
223                 ],
224             }],
225             ['OS!="mac"', {
226                 'webkit_unittest_files': [
227                     # Mac uses ScrollAnimatorMac instead of ScrollAnimatorNone.
228                     'tests/ScrollAnimatorNoneTest.cpp',
229                 ],
230             }],
231             ['os_posix==1 and OS!="mac"', {
232                 'webkit_unittest_files': [
233                     'tests/LocalizedDateICUTest.cpp',
234                     'tests/LocalizedNumberICUTest.cpp',
235                 ],
236             }],
237             ['toolkit_uses_gtk == 1', {
238                 'webkit_unittest_files': [
239                     'tests/WebInputEventFactoryTestGtk.cpp',
240                 ],
241             }],
242         ],
243     },
244 }
245
246 # Local Variables:
247 # tab-width:2
248 # indent-tabs-mode:nil
249 # End:
250 # vim: set expandtab tabstop=2 shiftwidth=2: