Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1195)

Side by Side Diff: webkit/support/webkit_support.gypi

Issue 6111001: Make a separated library for files common between webkit_support and test_she... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/tools/test_shell/test_shell.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'database', 20 'database',
21 'fileapi', 21 'fileapi',
22 'glue', 22 'glue',
23 'webkit_gpu', 23 'webkit_gpu',
24 'webkit_support_common',
24 ], 25 ],
25 'include_dirs': [ 26 'include_dirs': [
26 '<(SHARED_INTERMEDIATE_DIR)/webkit', # for a header generated by grit 27 '<(SHARED_INTERMEDIATE_DIR)/webkit', # for a header generated by grit
27 ], 28 ],
28 'defines': [ 29 'defines': [
29 # Technically not a unit test but require functions available only to 30 # Technically not a unit test but require functions available only to
30 # unit tests. 31 # unit tests.
31 'UNIT_TEST' 32 'UNIT_TEST'
32 ], 33 ],
33 'sources': [ 34 'sources': [
34 'drt_application_mac.h', 35 'drt_application_mac.h',
35 'drt_application_mac.mm', 36 'drt_application_mac.mm',
36 'platform_support.h', 37 'platform_support.h',
37 'platform_support_gtk.cc', 38 'platform_support_gtk.cc',
38 'platform_support_mac.mm', 39 'platform_support_mac.mm',
39 'platform_support_win.cc', 40 'platform_support_win.cc',
40 'test_webkit_client.cc', 41 'test_webkit_client.cc',
41 'test_webkit_client.h', 42 'test_webkit_client.h',
42 'test_webplugin_page_delegate.h', 43 'test_webplugin_page_delegate.h',
43 'webkit_support.cc', 44 'webkit_support.cc',
44 'webkit_support.h', 45 'webkit_support.h',
45 'webkit_support_gfx.h', 46 'webkit_support_gfx.h',
46 'webkit_support_glue.cc', 47 'webkit_support_glue.cc',
47 'weburl_loader_mock.cc', 48 'weburl_loader_mock.cc',
48 'weburl_loader_mock.h', 49 'weburl_loader_mock.h',
49 'weburl_loader_mock_factory.cc', 50 'weburl_loader_mock_factory.cc',
50 'weburl_loader_mock_factory.h', 51 'weburl_loader_mock_factory.h',
51 # TODO(tkent): Move the following files to here. 52 ],
53 'conditions': [
54 ['OS=="mac"', {
55 'copies': [{
56 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
57 'files': ['../tools/test_shell/resources/textAreaResizeCorner.png'],
58 }],
59 },{ # OS!="mac"
60 'copies': [{
61 'destination': '<(PRODUCT_DIR)/DumpRenderTree_resources',
62 'files': [
63 '../tools/test_shell/resources/missingImage.gif',
64 '../tools/test_shell/resources/textAreaResizeCorner.png',
65 ],
66 }],
67 }],
68 ],
69 },
70
71 {
72 'target_name': 'webkit_support_common',
73 'type': '<(library)',
74 'dependencies': [
75 '<(DEPTH)/skia/skia.gyp:skia',
76 'glue',
77 ],
78 'sources': [
52 '<(DEPTH)/webkit/tools/test_shell/mac/DumpRenderTreePasteboard.h', 79 '<(DEPTH)/webkit/tools/test_shell/mac/DumpRenderTreePasteboard.h',
53 '<(DEPTH)/webkit/tools/test_shell/mac/DumpRenderTreePasteboard.m', 80 '<(DEPTH)/webkit/tools/test_shell/mac/DumpRenderTreePasteboard.m',
54 '<(DEPTH)/webkit/tools/test_shell/mock_webclipboard_impl.cc', 81 '<(DEPTH)/webkit/tools/test_shell/mock_webclipboard_impl.cc',
55 '<(DEPTH)/webkit/tools/test_shell/mock_webclipboard_impl.h', 82 '<(DEPTH)/webkit/tools/test_shell/mock_webclipboard_impl.h',
56 '<(DEPTH)/webkit/tools/test_shell/simple_appcache_system.cc', 83 '<(DEPTH)/webkit/tools/test_shell/simple_appcache_system.cc',
57 '<(DEPTH)/webkit/tools/test_shell/simple_appcache_system.h', 84 '<(DEPTH)/webkit/tools/test_shell/simple_appcache_system.h',
58 '<(DEPTH)/webkit/tools/test_shell/simple_file_system.cc', 85 '<(DEPTH)/webkit/tools/test_shell/simple_file_system.cc',
59 '<(DEPTH)/webkit/tools/test_shell/simple_file_system.h', 86 '<(DEPTH)/webkit/tools/test_shell/simple_file_system.h',
60 '<(DEPTH)/webkit/tools/test_shell/simple_file_writer.cc', 87 '<(DEPTH)/webkit/tools/test_shell/simple_file_writer.cc',
61 '<(DEPTH)/webkit/tools/test_shell/simple_file_writer.h', 88 '<(DEPTH)/webkit/tools/test_shell/simple_file_writer.h',
62 '<(DEPTH)/webkit/tools/test_shell/simple_clipboard_impl.cc', 89 '<(DEPTH)/webkit/tools/test_shell/simple_clipboard_impl.cc',
63 '<(DEPTH)/webkit/tools/test_shell/simple_database_system.cc', 90 '<(DEPTH)/webkit/tools/test_shell/simple_database_system.cc',
64 '<(DEPTH)/webkit/tools/test_shell/simple_database_system.h', 91 '<(DEPTH)/webkit/tools/test_shell/simple_database_system.h',
65 '<(DEPTH)/webkit/tools/test_shell/simple_resource_loader_bridge.cc', 92 '<(DEPTH)/webkit/tools/test_shell/simple_resource_loader_bridge.cc',
66 '<(DEPTH)/webkit/tools/test_shell/simple_resource_loader_bridge.h', 93 '<(DEPTH)/webkit/tools/test_shell/simple_resource_loader_bridge.h',
67 '<(DEPTH)/webkit/tools/test_shell/simple_socket_stream_bridge.cc', 94 '<(DEPTH)/webkit/tools/test_shell/simple_socket_stream_bridge.cc',
68 '<(DEPTH)/webkit/tools/test_shell/simple_socket_stream_bridge.h', 95 '<(DEPTH)/webkit/tools/test_shell/simple_socket_stream_bridge.h',
69 '<(DEPTH)/webkit/tools/test_shell/simple_webcookiejar_impl.cc', 96 '<(DEPTH)/webkit/tools/test_shell/simple_webcookiejar_impl.cc',
70 '<(DEPTH)/webkit/tools/test_shell/simple_webcookiejar_impl.h', 97 '<(DEPTH)/webkit/tools/test_shell/simple_webcookiejar_impl.h',
71 '<(DEPTH)/webkit/tools/test_shell/test_shell_request_context.cc', 98 '<(DEPTH)/webkit/tools/test_shell/test_shell_request_context.cc',
72 '<(DEPTH)/webkit/tools/test_shell/test_shell_request_context.h', 99 '<(DEPTH)/webkit/tools/test_shell/test_shell_request_context.h',
73 '<(DEPTH)/webkit/tools/test_shell/test_shell_webblobregistry_impl.cc', 100 '<(DEPTH)/webkit/tools/test_shell/test_shell_webblobregistry_impl.cc',
74 '<(DEPTH)/webkit/tools/test_shell/test_shell_webblobregistry_impl.h', 101 '<(DEPTH)/webkit/tools/test_shell/test_shell_webblobregistry_impl.h',
75 '<(DEPTH)/webkit/tools/test_shell/test_shell_webmimeregistry_impl.cc', 102 '<(DEPTH)/webkit/tools/test_shell/test_shell_webmimeregistry_impl.cc',
76 '<(DEPTH)/webkit/tools/test_shell/test_shell_webmimeregistry_impl.h', 103 '<(DEPTH)/webkit/tools/test_shell/test_shell_webmimeregistry_impl.h',
77 ], 104 ],
78 'conditions': [
79 ['OS=="mac"', {
80 'copies': [{
81 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
82 'files': ['../tools/test_shell/resources/textAreaResizeCorner.png'],
83 }],
84 },{ # OS!="mac"
85 'copies': [{
86 'destination': '<(PRODUCT_DIR)/DumpRenderTree_resources',
87 'files': [
88 '../tools/test_shell/resources/missingImage.gif',
89 '../tools/test_shell/resources/textAreaResizeCorner.png',
90 ],
91 }],
92 }],
93 ],
94 }, 105 },
95 ], 106 ],
96 } 107 }
97 # Local Variables: 108 # Local Variables:
98 # tab-width:2 109 # tab-width:2
99 # indent-tabs-mode:nil 110 # indent-tabs-mode:nil
100 # End: 111 # End:
101 # vim: set expandtab tabstop=2 shiftwidth=2: 112 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | webkit/tools/test_shell/test_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698