initial import
[vuplus_webkit] / 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/CCLayerTreeHostTest.cpp',
58             'tests/CCThreadTaskTest.cpp',
59             'tests/CCThreadTest.cpp',
60             'tests/IDBBindingUtilitiesTest.cpp',
61             'tests/IDBKeyPathTest.cpp',
62             'tests/IDBLevelDBCodingTest.cpp',
63             'tests/InnerGestureRecognizerTest.cpp',
64             'tests/KeyboardTest.cpp',
65             'tests/KURLTest.cpp',
66             'tests/MockGraphicsContext3DTest.cpp',
67             'tests/MockWebGraphicsContext3D.h',
68             'tests/PODArenaTest.cpp',
69             'tests/PODIntervalTreeTest.cpp',
70             'tests/PODRedBlackTreeTest.cpp',
71             'tests/ScrollAnimatorNoneTest.cpp',
72             'tests/TilingDataTest.cpp',
73             'tests/TreeSynchronizerTest.cpp',
74             'tests/TreeTestHelpers.cpp',
75             'tests/TreeTestHelpers.h',
76             'tests/WebFrameTest.cpp',
77             'tests/WebURLRequestTest.cpp',
78         ],
79
80         'conditions': [
81             ['OS=="win"', {
82                 'webkit_unittest_files': [
83                     # FIXME: Port DragImageTest to Mac.
84                     'tests/DragImageTest.cpp',
85                     # FIXME: Port PopupMenuTest to Linux and Mac.
86                     'tests/PopupMenuTest.cpp',
87                     'tests/TransparencyWinTest.cpp',
88                     'tests/UniscribeHelperTest.cpp',
89                     'tests/WebPageNewSerializerTest.cpp',
90                     'tests/WebPageSerializerTest.cpp',
91                 ],
92             }],
93             ['toolkit_uses_gtk == 1', {
94                 'webkit_unittest_files': [
95                     # FIXME: Port DragImageTest to Mac.
96                     'tests/DragImageTest.cpp',
97                     'tests/WebInputEventFactoryTestGtk.cpp',
98                 ],
99             }],
100         ],
101     },
102 }
103
104 # Local Variables:
105 # tab-width:2
106 # indent-tabs-mode:nil
107 # End:
108 # vim: set expandtab tabstop=2 shiftwidth=2: