3b0a7a53e5823c71cbe682b57074df56f1410c1f
[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/Canvas2DLayerManagerTest.cpp',
60             'tests/ChromeClientImplTest.cpp',
61             'tests/ClipboardChromiumTest.cpp',
62             'tests/CompositorFakeWebGraphicsContext3D.h',
63             'tests/DateTimeFormatTest.cpp',
64             'tests/DecimalTest.cpp',
65             'tests/DeferredImageDecoderTest.cpp',
66             'tests/DragImageTest.cpp',
67             'tests/EventListenerTest.cpp',
68             'tests/FakeWebPlugin.cpp',
69             'tests/FakeWebPlugin.h',
70             'tests/FakeWebGraphicsContext3D.h',
71             'tests/FilterOperationsTest.cpp',
72             'tests/FrameLoaderClientImplTest.cpp',
73             'tests/FrameTestHelpers.cpp',
74             'tests/FrameTestHelpers.h',
75             'tests/GIFImageDecoderTest.cpp',
76             'tests/GraphicsLayerChromiumTest.cpp',
77             'tests/IDBAbortOnCorruptTest.cpp',
78             'tests/IDBBindingUtilitiesTest.cpp',
79             'tests/IDBDatabaseBackendTest.cpp',
80             'tests/IDBFakeBackingStore.h',
81             'tests/IDBKeyPathTest.cpp',
82             'tests/IDBLevelDBCodingTest.cpp',
83             'tests/IDBRequestTest.cpp',
84             'tests/ImageDecodingStoreTest.cpp',
85             'tests/ImageFrameGeneratorTest.cpp',
86             'tests/ImageLayerChromiumTest.cpp',
87             'tests/MockDiscardablePixelRef.h',
88             'tests/MockImageDecoder.h',
89             'tests/KeyboardTest.cpp',
90             'tests/KURLTest.cpp',
91             'tests/LevelDBTest.cpp',
92             'tests/LinkHighlightTest.cpp',
93             'tests/ListenerLeakTest.cpp',
94             'tests/MemoryInfo.cpp',
95             'tests/OpaqueRectTrackingContentLayerDelegateTest.cpp',
96             'tests/OpenTypeVerticalDataTest.cpp',
97             'tests/PODArenaTest.cpp',
98             'tests/PODIntervalTreeTest.cpp',
99             'tests/PODRedBlackTreeTest.cpp',
100             'tests/PaintAggregatorTest.cpp',
101             'tests/PlatformContextSkiaTest.cpp',
102             'tests/PopupContainerTest.cpp',
103             'tests/PrerenderingTest.cpp',
104             'tests/RegionTest.cpp',
105             'tests/RenderTableCellTest.cpp',
106             'tests/RenderTableRowTest.cpp',
107             'tests/ScrollingCoordinatorChromiumTest.cpp',
108             'tests/ThreadSafeDataTransportTest.cpp',
109             'tests/TilingDataTest.cpp',
110             'tests/TreeTestHelpers.cpp',
111             'tests/TreeTestHelpers.h',
112             'tests/URLTestHelpers.cpp',
113             'tests/URLTestHelpers.h',
114             'tests/WebCompositorInitializer.h',
115             'tests/WebCompositorInputHandlerImplTest.cpp',
116             'tests/WebFrameTest.cpp',
117             'tests/WebImageTest.cpp',
118             'tests/WebInputEventConversionTest.cpp',
119             'tests/WebInputEventFactoryTestMac.mm',
120             'tests/WebMediaPlayerClientImplTest.cpp',
121             'tests/WebPageNewSerializerTest.cpp',
122             'tests/WebPageSerializerTest.cpp',
123             'tests/WebPluginContainerTest.cpp',
124             'tests/WebSocketDeflaterTest.cpp',
125             'tests/WebSocketExtensionDispatcherTest.cpp',
126             'tests/WebURLRequestTest.cpp',
127             'tests/WebURLResponseTest.cpp',
128             'tests/WebViewTest.cpp',
129         ],
130
131         'conditions': [
132             ['OS=="win"', {
133                 'webkit_unittest_files': [
134                     'tests/LocaleWinTest.cpp',
135                     # FIXME: Port PopupMenuTest to Linux and Mac.
136                     'tests/PopupMenuTest.cpp',
137                     'tests/TransparencyWinTest.cpp',
138                     'tests/UniscribeHelperTest.cpp',
139                     'tests/WebPageNewSerializerTest.cpp',
140                     'tests/WebPageSerializerTest.cpp',
141                 ],
142             }],
143             ['OS=="mac"', {
144                 'webkit_unittest_files': [
145                     'tests/LocaleMacTest.cpp',
146                 ],
147             }],
148             ['OS!="mac"', {
149                 'webkit_unittest_files': [
150                     # Mac uses ScrollAnimatorMac instead of ScrollAnimatorNone.
151                     'tests/ScrollAnimatorNoneTest.cpp',
152                 ],
153             }],
154             ['os_posix==1 and OS!="mac"', {
155                 'webkit_unittest_files': [
156                     'tests/LocaleICUTest.cpp',
157                 ],
158             }],
159             ['toolkit_uses_gtk == 1', {
160                 'webkit_unittest_files': [
161                     'tests/WebInputEventFactoryTestGtk.cpp',
162                 ],
163             }],
164         ],
165     },
166 }
167
168 # Local Variables:
169 # tab-width:2
170 # indent-tabs-mode:nil
171 # End:
172 # vim: set expandtab tabstop=2 shiftwidth=2: