OLD | NEW |
---|---|
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'webkit_support', | 11 'target_name': 'webkit_support', |
12 'type': 'static_library', | 12 'type': '<(library)', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '<(DEPTH)/gfx/gfx.gyp:gfx', | 14 '<(DEPTH)/gfx/gfx.gyp:gfx', |
15 '<(DEPTH)/media/media.gyp:media', | 15 '<(DEPTH)/media/media.gyp:media', |
16 '<(DEPTH)/skia/skia.gyp:skia', | 16 '<(DEPTH)/skia/skia.gyp:skia', |
17 '<(DEPTH)/testing/gtest.gyp:gtest', | 17 '<(DEPTH)/testing/gtest.gyp:gtest', |
18 'appcache', | 18 'appcache', |
19 'blob', | 19 'blob', |
20 'common', | |
20 'database', | 21 'database', |
21 'fileapi', | 22 'fileapi', |
22 'glue', | 23 'glue', |
23 ], | 24 ], |
24 'include_dirs': [ | 25 'include_dirs': [ |
25 '<(SHARED_INTERMEDIATE_DIR)/webkit', # for a header generated by grit | 26 '<(SHARED_INTERMEDIATE_DIR)/webkit', # for a header generated by grit |
26 ], | 27 ], |
27 'defines': [ | 28 'defines': [ |
28 # Technically not a unit test but require functions available only to | 29 # Technically not a unit test but require functions available only to |
29 # unit tests. | 30 # unit tests. |
(...skipping 10 matching lines...) Expand all Loading... | |
40 'test_webkit_client.h', | 41 'test_webkit_client.h', |
41 'test_webplugin_page_delegate.h', | 42 'test_webplugin_page_delegate.h', |
42 'webkit_support.cc', | 43 'webkit_support.cc', |
43 'webkit_support.h', | 44 'webkit_support.h', |
44 'webkit_support_gfx.h', | 45 'webkit_support_gfx.h', |
45 'webkit_support_glue.cc', | 46 'webkit_support_glue.cc', |
46 'weburl_loader_mock.cc', | 47 'weburl_loader_mock.cc', |
47 'weburl_loader_mock.h', | 48 'weburl_loader_mock.h', |
48 'weburl_loader_mock_factory.cc', | 49 'weburl_loader_mock_factory.cc', |
49 'weburl_loader_mock_factory.h', | 50 'weburl_loader_mock_factory.h', |
50 # TODO(tkent): Move the following files to here. | 51 ], |
52 'conditions': [ | |
53 ['OS=="mac"', { | |
54 'copies': [{ | |
55 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
56 'files': ['../tools/test_shell/resources/textAreaResizeCorner.png'], | |
57 }], | |
58 },{ # OS!="mac" | |
59 'copies': [{ | |
60 'destination': '<(PRODUCT_DIR)/DumpRenderTree_resources', | |
61 'files': [ | |
62 '../tools/test_shell/resources/missingImage.gif', | |
63 '../tools/test_shell/resources/textAreaResizeCorner.png', | |
64 ], | |
65 }], | |
66 }], | |
67 ], | |
68 }, | |
69 | |
70 { | |
71 'target_name': 'common', | |
tony
2011/01/11 17:45:22
Can we name this webkit_support_common to avoid am
tkent
2011/01/12 02:17:15
Yes!
Done in the updated patch.
| |
72 'type': '<(library)', | |
73 'dependencies': [ | |
74 '<(DEPTH)/skia/skia.gyp:skia', | |
75 'glue', | |
76 ], | |
77 'sources': [ | |
51 '<(DEPTH)/webkit/tools/test_shell/mac/DumpRenderTreePasteboard.h', | 78 '<(DEPTH)/webkit/tools/test_shell/mac/DumpRenderTreePasteboard.h', |
52 '<(DEPTH)/webkit/tools/test_shell/mac/DumpRenderTreePasteboard.m', | 79 '<(DEPTH)/webkit/tools/test_shell/mac/DumpRenderTreePasteboard.m', |
53 '<(DEPTH)/webkit/tools/test_shell/mock_webclipboard_impl.cc', | 80 '<(DEPTH)/webkit/tools/test_shell/mock_webclipboard_impl.cc', |
54 '<(DEPTH)/webkit/tools/test_shell/mock_webclipboard_impl.h', | 81 '<(DEPTH)/webkit/tools/test_shell/mock_webclipboard_impl.h', |
55 '<(DEPTH)/webkit/tools/test_shell/simple_appcache_system.cc', | 82 '<(DEPTH)/webkit/tools/test_shell/simple_appcache_system.cc', |
56 '<(DEPTH)/webkit/tools/test_shell/simple_appcache_system.h', | 83 '<(DEPTH)/webkit/tools/test_shell/simple_appcache_system.h', |
57 '<(DEPTH)/webkit/tools/test_shell/simple_file_system.cc', | 84 '<(DEPTH)/webkit/tools/test_shell/simple_file_system.cc', |
58 '<(DEPTH)/webkit/tools/test_shell/simple_file_system.h', | 85 '<(DEPTH)/webkit/tools/test_shell/simple_file_system.h', |
59 '<(DEPTH)/webkit/tools/test_shell/simple_file_writer.cc', | 86 '<(DEPTH)/webkit/tools/test_shell/simple_file_writer.cc', |
60 '<(DEPTH)/webkit/tools/test_shell/simple_file_writer.h', | 87 '<(DEPTH)/webkit/tools/test_shell/simple_file_writer.h', |
61 '<(DEPTH)/webkit/tools/test_shell/simple_clipboard_impl.cc', | 88 '<(DEPTH)/webkit/tools/test_shell/simple_clipboard_impl.cc', |
62 '<(DEPTH)/webkit/tools/test_shell/simple_database_system.cc', | 89 '<(DEPTH)/webkit/tools/test_shell/simple_database_system.cc', |
63 '<(DEPTH)/webkit/tools/test_shell/simple_database_system.h', | 90 '<(DEPTH)/webkit/tools/test_shell/simple_database_system.h', |
64 '<(DEPTH)/webkit/tools/test_shell/simple_resource_loader_bridge.cc', | 91 '<(DEPTH)/webkit/tools/test_shell/simple_resource_loader_bridge.cc', |
65 '<(DEPTH)/webkit/tools/test_shell/simple_resource_loader_bridge.h', | 92 '<(DEPTH)/webkit/tools/test_shell/simple_resource_loader_bridge.h', |
66 '<(DEPTH)/webkit/tools/test_shell/simple_socket_stream_bridge.cc', | 93 '<(DEPTH)/webkit/tools/test_shell/simple_socket_stream_bridge.cc', |
67 '<(DEPTH)/webkit/tools/test_shell/simple_socket_stream_bridge.h', | 94 '<(DEPTH)/webkit/tools/test_shell/simple_socket_stream_bridge.h', |
68 '<(DEPTH)/webkit/tools/test_shell/simple_webcookiejar_impl.cc', | 95 '<(DEPTH)/webkit/tools/test_shell/simple_webcookiejar_impl.cc', |
69 '<(DEPTH)/webkit/tools/test_shell/simple_webcookiejar_impl.h', | 96 '<(DEPTH)/webkit/tools/test_shell/simple_webcookiejar_impl.h', |
70 '<(DEPTH)/webkit/tools/test_shell/test_shell_request_context.cc', | 97 '<(DEPTH)/webkit/tools/test_shell/test_shell_request_context.cc', |
71 '<(DEPTH)/webkit/tools/test_shell/test_shell_request_context.h', | 98 '<(DEPTH)/webkit/tools/test_shell/test_shell_request_context.h', |
72 '<(DEPTH)/webkit/tools/test_shell/test_shell_webblobregistry_impl.cc', | 99 '<(DEPTH)/webkit/tools/test_shell/test_shell_webblobregistry_impl.cc', |
73 '<(DEPTH)/webkit/tools/test_shell/test_shell_webblobregistry_impl.h', | 100 '<(DEPTH)/webkit/tools/test_shell/test_shell_webblobregistry_impl.h', |
74 '<(DEPTH)/webkit/tools/test_shell/test_shell_webmimeregistry_impl.cc', | 101 '<(DEPTH)/webkit/tools/test_shell/test_shell_webmimeregistry_impl.cc', |
75 '<(DEPTH)/webkit/tools/test_shell/test_shell_webmimeregistry_impl.h', | 102 '<(DEPTH)/webkit/tools/test_shell/test_shell_webmimeregistry_impl.h', |
76 ], | 103 ], |
77 'conditions': [ | |
78 ['OS=="mac"', { | |
79 'copies': [{ | |
80 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
81 'files': ['../tools/test_shell/resources/textAreaResizeCorner.png'], | |
82 }], | |
83 },{ # OS!="mac" | |
84 'copies': [{ | |
85 'destination': '<(PRODUCT_DIR)/DumpRenderTree_resources', | |
86 'files': [ | |
87 '../tools/test_shell/resources/missingImage.gif', | |
88 '../tools/test_shell/resources/textAreaResizeCorner.png', | |
89 ], | |
90 }], | |
91 }], | |
92 ], | |
93 }, | 104 }, |
94 ], | 105 ], |
95 } | 106 } |
96 # Local Variables: | 107 # Local Variables: |
97 # tab-width:2 | 108 # tab-width:2 |
98 # indent-tabs-mode:nil | 109 # indent-tabs-mode:nil |
99 # End: | 110 # End: |
100 # vim: set expandtab tabstop=2 shiftwidth=2: | 111 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |