OLD | NEW |
---|---|
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'includes': [ | 9 'includes': [ |
10 '../../../build/common.gypi', | 10 '../../../build/common.gypi', |
11 ], | 11 ], |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'test_shell_common', | 14 'target_name': 'test_shell_common', |
15 'type': 'static_library', | 15 'type': 'static_library', |
16 'dependencies': [ | |
17 '../../../base/base.gyp:base', | |
18 '../../../base/base.gyp:base_gfx', | |
19 '../../../testing/gtest.gyp:gtest', | |
20 '../../../skia/skia.gyp:skia', | |
21 '../../../third_party/npapi/npapi.gyp:npapi', | |
22 '../../webkit.gyp:glue', | |
darin (slow to review)
2009/02/26 15:31:29
perhaps we also need webkit.gyp:webkit here?
| |
23 ], | |
16 'sources': [ | 24 'sources': [ |
17 'mac/DumpRenderTreePasteboard.h', | 25 'mac/DumpRenderTreePasteboard.h', |
18 'mac/DumpRenderTreePasteboard.m', | 26 'mac/DumpRenderTreePasteboard.m', |
19 'mac/KeystoneGlue.h', | 27 'mac/KeystoneGlue.h', |
20 'mac/KeystoneGlue.m', | 28 'mac/KeystoneGlue.m', |
21 'mac/test_shell_webview.h', | 29 'mac/test_shell_webview.h', |
22 'mac/test_shell_webview.mm', | 30 'mac/test_shell_webview.mm', |
23 'mac/test_webview_delegate.mm', | 31 'mac/test_webview_delegate.mm', |
24 'mac/webview_host.mm', | 32 'mac/webview_host.mm', |
25 'mac/webwidget_host.mm', | 33 'mac/webwidget_host.mm', |
(...skipping 30 matching lines...) Expand all Loading... | |
56 'test_webview_delegate_win.cc', | 64 'test_webview_delegate_win.cc', |
57 'text_input_controller.cc', | 65 'text_input_controller.cc', |
58 'text_input_controller.h', | 66 'text_input_controller.h', |
59 'webview_host.h', | 67 'webview_host.h', |
60 'webview_host_gtk.cc', | 68 'webview_host_gtk.cc', |
61 'webview_host_win.cc', | 69 'webview_host_win.cc', |
62 'webwidget_host.h', | 70 'webwidget_host.h', |
63 'webwidget_host_gtk.cc', | 71 'webwidget_host_gtk.cc', |
64 'webwidget_host_win.cc', | 72 'webwidget_host_win.cc', |
65 ], | 73 ], |
66 'dependencies': [ | |
67 '../../../base/base.gyp:base', | |
68 '../../../base/base.gyp:base_gfx', | |
69 '../../../testing/gtest.gyp:gtest', | |
70 '../../../skia/skia.gyp:skia', | |
71 '../../../third_party/npapi/npapi.gyp:npapi', | |
72 '../../webkit.gyp:glue', | |
73 ], | |
74 'conditions': [ | 74 'conditions': [ |
75 ['OS!="linux"', {'sources/': [['exclude', '_gtk\\.cc$']]}], | 75 ['OS!="linux"', {'sources/': [['exclude', '_gtk\\.cc$']]}], |
76 ['OS!="mac"', { | 76 ['OS!="mac"', { |
77 'sources/': [ | 77 'sources/': [ |
78 ['exclude', 'mac/[^/]*\\.(cc|mm?)$'], | 78 ['exclude', 'mac/[^/]*\\.(cc|mm?)$'], |
79 ['exclude', '_mac\\.(cc|mm?)$'], | 79 ['exclude', '_mac\\.(cc|mm?)$'], |
80 ] | 80 ] |
81 }], | 81 }], |
82 ['OS=="win"', { | 82 ['OS=="win"', { |
83 'include_dirs': [ | 83 'include_dirs': [ |
84 '../../../breakpad/src', | 84 '../../../breakpad/src', |
85 ], | 85 ], |
86 'msvs_disabled_warnings': [ 4800 ], | 86 'msvs_disabled_warnings': [ 4800 ], |
87 }, { # OS!=win | 87 }, { # OS!=win |
88 'sources/': [ | 88 'sources/': [ |
89 ['exclude', '_win\\.cc$'] | 89 ['exclude', '_win\\.cc$'] |
90 ], | 90 ], |
91 'sources!': [ | 91 'sources!': [ |
92 'drag_delegate.cc', | 92 'drag_delegate.cc', |
93 'drop_delegate.cc', | 93 'drop_delegate.cc', |
94 ], | 94 ], |
95 }], | 95 }], |
96 ], | 96 ], |
97 }, | 97 }, |
98 { | 98 { |
99 'target_name': 'test_shell', | 99 'target_name': 'test_shell', |
100 'type': 'application', | 100 'type': 'application', |
101 'dependencies': [ | |
102 'test_shell_common', | |
103 '../../../base/base.gyp:base', | |
104 '../../../net/net.gyp:net', | |
105 '../../webkit.gyp:glue', | |
106 '../../webkit.gyp:webkit', | |
107 ], | |
101 'sources': [ | 108 'sources': [ |
102 'test_shell_main.cc', | 109 'test_shell_main.cc', |
103 ], | 110 ], |
104 'mac_bundle_resources': [ | 111 'mac_bundle_resources': [ |
105 '../../data/test_shell/', | 112 '../../data/test_shell/', |
106 'mac/English.lproj/InfoPlist.strings', | 113 'mac/English.lproj/InfoPlist.strings', |
107 'mac/English.lproj/MainMenu.nib', | 114 'mac/English.lproj/MainMenu.nib', |
108 'mac/Info.plist', | 115 'mac/Info.plist', |
109 'mac/test_shell.icns', | 116 'mac/test_shell.icns', |
110 'resources/AHEM____.TTF', | 117 'resources/AHEM____.TTF', |
111 ], | 118 ], |
112 'mac_bundle_resources!': [ | 119 'mac_bundle_resources!': [ |
113 # TODO(mark): Come up with a fancier way to do this (mac_info_plist?) | 120 # TODO(mark): Come up with a fancier way to do this (mac_info_plist?) |
114 # that automatically sets the correct INFOPLIST_FILE setting and adds | 121 # that automatically sets the correct INFOPLIST_FILE setting and adds |
115 # the file to a source group. | 122 # the file to a source group. |
116 'mac/Info.plist', | 123 'mac/Info.plist', |
117 ], | 124 ], |
118 'dependencies': [ | |
119 'test_shell_common', | |
120 '../../../base/base.gyp:base', | |
121 '../../../net/net.gyp:net', | |
122 '../../webkit.gyp:glue', | |
123 ], | |
124 'xcode_settings': { | 125 'xcode_settings': { |
125 'INFOPLIST_FILE': 'mac/Info.plist', | 126 'INFOPLIST_FILE': 'mac/Info.plist', |
126 }, | 127 }, |
127 'conditions': [ | 128 'conditions': [ |
128 ['OS=="mac"', {'product_name': 'TestShell'}], | 129 ['OS=="mac"', {'product_name': 'TestShell'}], |
129 ], | 130 ], |
130 }, | 131 }, |
131 { | 132 { |
132 'target_name': 'test_shell_tests', | 133 'target_name': 'test_shell_tests', |
133 'type': 'executable', | 134 'type': 'executable', |
135 'dependencies': [ | |
136 'test_shell_common', | |
137 '../../../base/base.gyp:base', | |
138 '../../../net/net.gyp:net', | |
139 '../../../skia/skia.gyp:skia', | |
140 '../../../testing/gtest.gyp:gtest', | |
141 '../../webkit.gyp:glue', | |
darin (slow to review)
2009/02/26 15:31:29
and here?
| |
142 ], | |
134 'sources': [ | 143 'sources': [ |
135 '../../../skia/ext/convolver_unittest.cc', | 144 '../../../skia/ext/convolver_unittest.cc', |
136 '../../../skia/ext/platform_canvas_unittest.cc', | 145 '../../../skia/ext/platform_canvas_unittest.cc', |
137 '../../../skia/ext/vector_canvas_unittest.cc', | 146 '../../../skia/ext/vector_canvas_unittest.cc', |
138 '../../glue/bookmarklet_unittest.cc', | 147 '../../glue/bookmarklet_unittest.cc', |
139 '../../glue/context_menu_unittest.cc', | 148 '../../glue/context_menu_unittest.cc', |
140 '../../glue/cpp_bound_class_unittest.cc', | 149 '../../glue/cpp_bound_class_unittest.cc', |
141 '../../glue/cpp_variant_unittest.cc', | 150 '../../glue/cpp_variant_unittest.cc', |
142 '../../glue/dom_operations_unittest.cc', | 151 '../../glue/dom_operations_unittest.cc', |
143 '../../glue/dom_serializer_unittest.cc', | 152 '../../glue/dom_serializer_unittest.cc', |
(...skipping 16 matching lines...) Expand all Loading... | |
160 'image_decoder_unittest.h', | 169 'image_decoder_unittest.h', |
161 'keyboard_unittest.cc', | 170 'keyboard_unittest.cc', |
162 'layout_test_controller_unittest.cc', | 171 'layout_test_controller_unittest.cc', |
163 'node_leak_test.cc', | 172 'node_leak_test.cc', |
164 'plugin_tests.cc', | 173 'plugin_tests.cc', |
165 'run_all_tests.cc', | 174 'run_all_tests.cc', |
166 'test_shell_test.cc', | 175 'test_shell_test.cc', |
167 'test_shell_test.h', | 176 'test_shell_test.h', |
168 'text_input_controller_unittest.cc', | 177 'text_input_controller_unittest.cc', |
169 ], | 178 ], |
170 'dependencies': [ | |
171 'test_shell_common', | |
172 '../../../base/base.gyp:base', | |
173 '../../../net/net.gyp:net', | |
174 '../../../skia/skia.gyp:skia', | |
175 '../../../testing/gtest.gyp:gtest', | |
176 '../../webkit.gyp:glue', | |
177 ], | |
178 'conditions': [ | 179 'conditions': [ |
179 ['OS=="win"', { | 180 ['OS=="win"', { |
180 'msvs_disabled_warnings': [ 4800 ], | 181 'msvs_disabled_warnings': [ 4800 ], |
181 }, { # OS!=win | 182 }, { # OS!=win |
182 'sources!': [ | 183 'sources!': [ |
183 '../../../skia/ext/vector_canvas_unittest.cc', | 184 '../../../skia/ext/vector_canvas_unittest.cc', |
184 '../webcore_unit_tests/UniscribeHelper_unittest.cpp', | 185 '../webcore_unit_tests/UniscribeHelper_unittest.cpp', |
185 'plugin_tests.cc' | 186 'plugin_tests.cc' |
186 ], | 187 ], |
187 }], | 188 }], |
188 ], | 189 ], |
189 }, | 190 }, |
190 ], | 191 ], |
191 } | 192 } |
OLD | NEW |