[Qt] Fix build against Qt5 after refactor of widgets out of QtGUi
[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/Tests.js',
38         ],
39         'devtools_css_files': [
40             'src/js/devTools.css',
41         ],
42         'devtools_image_files': [
43             'src/js/Images/segmentChromium.png',
44             'src/js/Images/segmentHoverChromium.png',
45             'src/js/Images/segmentHoverEndChromium.png',
46             'src/js/Images/segmentSelectedChromium.png',
47             'src/js/Images/segmentSelectedEndChromium.png',
48             'src/js/Images/statusbarBackgroundChromium.png',
49             'src/js/Images/statusbarBottomBackgroundChromium.png',
50             'src/js/Images/statusbarButtonsChromium.png',
51             'src/js/Images/statusbarMenuButtonChromium.png',
52             'src/js/Images/statusbarMenuButtonSelectedChromium.png',
53         ],
54         'webkit_unittest_files': [
55             'tests/ArenaTestHelpers.h',
56             'tests/AssociatedURLLoaderTest.cpp',
57             'tests/CCLayerSorterTest.cpp',
58             'tests/CCLayerTreeHostTest.cpp',
59             'tests/CCThreadTaskTest.cpp',
60             'tests/CCThreadTest.cpp',
61             'tests/IDBBindingUtilitiesTest.cpp',
62             'tests/IDBKeyPathTest.cpp',
63             'tests/IDBLevelDBCodingTest.cpp',
64             'tests/InnerGestureRecognizerTest.cpp',
65             'tests/KeyboardTest.cpp',
66             'tests/KURLTest.cpp',
67             'tests/MockGraphicsContext3DTest.cpp',
68             'tests/MockWebGraphicsContext3D.h',
69             'tests/PODArenaTest.cpp',
70             'tests/PODIntervalTreeTest.cpp',
71             'tests/PODRedBlackTreeTest.cpp',
72             'tests/ScrollAnimatorNoneTest.cpp',
73             'tests/TilingDataTest.cpp',
74             'tests/TreeSynchronizerTest.cpp',
75             'tests/TreeTestHelpers.cpp',
76             'tests/TreeTestHelpers.h',
77             'tests/WebFrameTest.cpp',
78             'tests/WebURLRequestTest.cpp',
79         ],
80
81         'conditions': [
82             ['OS=="win"', {
83                 'webkit_unittest_files': [
84                     # FIXME: Port DragImageTest to Mac.
85                     'tests/DragImageTest.cpp',
86                     # FIXME: Port PopupMenuTest to Linux and Mac.
87                     'tests/PopupMenuTest.cpp',
88                     'tests/TransparencyWinTest.cpp',
89                     'tests/UniscribeHelperTest.cpp',
90                     'tests/WebPageNewSerializerTest.cpp',
91                     'tests/WebPageSerializerTest.cpp',
92                 ],
93             }],
94             ['toolkit_uses_gtk == 1', {
95                 'webkit_unittest_files': [
96                     # FIXME: Port DragImageTest to Mac.
97                     'tests/DragImageTest.cpp',
98                     'tests/WebInputEventFactoryTestGtk.cpp',
99                 ],
100             }],
101         ],
102     },
103 }
104
105 # Local Variables:
106 # tab-width:2
107 # indent-tabs-mode:nil
108 # End:
109 # vim: set expandtab tabstop=2 shiftwidth=2: