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

Side by Side Diff: chrome/browser/views/SConscript

Issue 53121: Remove the checked-in scons configuration files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 | « chrome/browser/debugger/debugger.scons ('k') | chrome/chrome_main.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 Import('env')
6
7 env = env.Clone()
8
9
10 env.Prepend(
11 CPPPATH = [
12 '$TARGET_ROOT/grit_derived_sources',
13 #'$OBJ_ROOT/google_update',
14 '$OBJ_ROOT/chrome/tools/build/win',
15 '$CHROME_SRC_DIR',
16 ],
17 CPPDEFINES = [
18 'U_STATIC_IMPLEMENTATION',
19 'USE_HUNSPELL',
20 'HUNSPELL_CHROME_CLIENT',
21 'LIBXML_STATIC',
22 'PNG_USER_CONFIG',
23 'CHROME_PNG_WRITE_SUPPORT',
24 ],
25 )
26
27 if env.Bit('windows'):
28 env.Prepend(
29 CCFLAGS = [
30 '/TP',
31 ],
32 )
33
34 env.Append(
35 CPPPATH = [
36 '$GTEST_DIR/include',
37
38 '$GOOGLE_UPDATE_DIR',
39 '$CHROME_DIR/third_party/hunspell/src/hunspell',
40 '$CHROME_DIR/third_party/wtl/include',
41 '$NPAPI_DIR',
42 '$LIBXML_DIR/DerivedSources/include',
43 '$LIBXML_DIR/include',
44 '$ICU38_DIR/public/common',
45 '$ICU38_DIR/public/i18n',
46 '$CHROME_DIR/app',
47 '$WEBKIT_DIR/build/localized_strings',
48 '$ZLIB_DIR',
49 '$SKIA_DIR/include',
50 '$SKIA_DIR/include/corecg',
51 '$SKIA_DIR/platform',
52 '$LIBPNG_DIR',
53 '$BREAKPAD_DIR/src',
54 ],
55 )
56
57 input_files = ChromeFileList([
58 # TODO(sgk): violate standard indentation so we don't have to
59 # reindent too much when we remove the explicit MSVSFilter() calls
60 # in favor of generating the hierarchy to reflect the file system.
61 MSVSFilter('Frame', [
62 'frame/aero_glass_frame.cc',
63 'frame/aero_glass_frame.h',
64 'frame/aero_glass_non_client_view.cc',
65 'frame/aero_glass_non_client_view.h',
66 'frame/browser_frame.h',
67 'frame/browser_view.cc',
68 'frame/browser_view.h',
69 'frame/browser_window_factory.cc',
70 'frame/opaque_frame.cc',
71 'frame/opaque_frame.h',
72 'frame/opaque_non_client_view.cc',
73 'frame/opaque_non_client_view.h',
74 ]),
75 MSVSFilter('Info Bars', [
76 'infobars/infobar_container.cc',
77 'infobars/infobar_container.h',
78 'infobars/infobars.cc',
79 'infobars/infobars.h',
80 ]),
81 MSVSFilter('Options', [
82 'options/advanced_contents_view.cc',
83 'options/advanced_contents_view.h',
84 'options/advanced_page_view.cc',
85 'options/advanced_page_view.h',
86 'options/content_page_view.cc',
87 'options/content_page_view.h',
88 'options/cookies_view.cc',
89 'options/cookies_view.h',
90 'options/fonts_languages_window_view.cc',
91 'options/fonts_languages_window_view.h',
92 'options/fonts_page_view.cc',
93 'options/fonts_page_view.h',
94 'options/general_page_view.cc',
95 'options/general_page_view.h',
96 'options/language_combobox_model.cc',
97 'options/language_combobox_model.h',
98 'options/languages_page_view.cc',
99 'options/languages_page_view.h',
100 'options/options_group_view.cc',
101 'options/options_group_view.h',
102 'options/options_page_view.cc',
103 'options/options_page_view.h',
104 'options/options_window_view.cc',
105 ]),
106 MSVSFilter('Tabs', [
107 'tabs/dragged_tab_controller.cc',
108 'tabs/dragged_tab_controller.h',
109 'tabs/dragged_tab_view.cc',
110 'tabs/dragged_tab_view.h',
111 'tabs/hwnd_photobooth.cc',
112 'tabs/hwnd_photobooth.h',
113 'tabs/tab.cc',
114 'tabs/tab.h',
115 'tabs/tab_renderer.cc',
116 'tabs/tab_renderer.h',
117 'tabs/tab_strip.cc',
118 'tabs/tab_strip.h',
119 ]),
120 MSVSFilter('Find Bar', [
121 'find_bar_view.cc',
122 'find_bar_view.h',
123 'find_bar_win.cc',
124 'find_bar_win.h',
125 ]),
126 'about_chrome_view.cc',
127 'about_chrome_view.h',
128 'about_ipc_dialog.cc',
129 'about_ipc_dialog.h',
130 'about_network_dialog.cc',
131 'about_network_dialog.h',
132 'blocked_popup_container.cc',
133 'blocked_popup_container.h',
134 'bookmark_bar_view.cc',
135 'bookmark_bar_view.h',
136 'bookmark_bubble_view.cc',
137 'bookmark_bubble_view.h',
138 'bookmark_editor_view.cc',
139 'bookmark_editor_view.h',
140 'bookmark_folder_tree_view.cc',
141 'bookmark_folder_tree_view.h',
142 'bookmark_manager_view.cc',
143 'bookmark_manager_view.h',
144 'bookmark_table_view.cc',
145 'bookmark_table_view.h',
146 'bug_report_view.cc',
147 'bug_report_view.h',
148 'clear_browsing_data.cc',
149 'clear_browsing_data.h',
150 'constrained_window_impl.cc',
151 'constrained_window_impl.h',
152 'delay_view.cc',
153 'delay_view.h',
154 'dom_view.cc',
155 'dom_view.h',
156 'download_item_view.cc',
157 'download_item_view.h',
158 'download_shelf_view.cc',
159 'download_shelf_view.h',
160 'download_started_animation.cc',
161 'download_started_animation.h',
162 'edit_keyword_controller.cc',
163 'edit_keyword_controller.h',
164 'event_utils.cc',
165 'event_utils.h',
166 'external_protocol_dialog.cc',
167 'external_protocol_dialog.h',
168 'first_run_bubble.cc',
169 'first_run_bubble.h',
170 'first_run_customize_view.cc',
171 'first_run_customize_view.h',
172 'first_run_view.cc',
173 'first_run_view.h',
174 'first_run_view_base.cc',
175 'first_run_view_base.h',
176 'go_button.cc',
177 'go_button.h',
178 'html_dialog_view.cc',
179 'html_dialog_view.h',
180 'hung_renderer_view.cc',
181 'hung_renderer_view.h',
182 'hwnd_html_view.cc',
183 'hwnd_html_view.h',
184 'importer_lock_view.cc',
185 'importer_lock_view.h',
186 'importer_view.cc',
187 'importer_view.h',
188 'importing_progress_view.cc',
189 'importing_progress_view.h',
190 'info_bubble.cc',
191 'info_bubble.h',
192 'input_window.cc',
193 'input_window.h',
194 'keyword_editor_view.cc',
195 'keyword_editor_view.h',
196 'location_bar_view.cc',
197 'location_bar_view.h',
198 'login_view.cc',
199 'login_view.h',
200 'new_profile_dialog.cc',
201 'new_profile_dialog.h',
202 'page_info_window.cc',
203 'page_info_window.h',
204 'password_manager_view.cc',
205 'password_manager_view.h',
206 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX',
207 '$CHROME_DIR/tools/build/win/precompiled_wtl.h',
208 'restart_message_box.cc',
209 'restart_message_box.h',
210 'sad_tab_view.cc',
211 'sad_tab_view.h',
212 'select_profile_dialog.cc',
213 'select_profile_dialog.h',
214 'shelf_item_dialog.cc',
215 'shelf_item_dialog.h',
216 'shell_dialogs_win.cc',
217 'standard_layout.h',
218 'star_toggle.cc',
219 'star_toggle.h',
220 'status_bubble.cc',
221 'status_bubble.h',
222 'tab_contents_container_view.cc',
223 'tab_contents_container_view.h',
224 'tab_icon_view.cc',
225 'tab_icon_view.h',
226 'theme_helpers.cc',
227 'theme_helpers.h',
228 'toolbar_star_toggle.cc',
229 'toolbar_star_toggle.h',
230 'toolbar_view.cc',
231 'toolbar_view.h',
232 'user_data_dir_dialog.cc',
233 'user_data_dir_dialog.h',
234 ])
235
236 if env.Bit('linux'):
237 # TODO(port): Port to Linux.
238 input_files.Remove(
239 'about_chrome_view.cc',
240 'about_ipc_dialog.cc',
241 'about_network_dialog.cc',
242 'blocked_popup_container.cc',
243 'bookmark_bar_view.cc',
244 'bookmark_bubble_view.cc',
245 'bookmark_editor_view.cc',
246 'bookmark_folder_tree_view.cc',
247 'bookmark_manager_view.cc',
248 'bookmark_table_view.cc',
249 'bug_report_view.cc',
250 'clear_browsing_data.cc',
251 'constrained_window_impl.cc',
252 'delay_view.cc',
253 'dom_view.cc',
254 'download_item_view.cc',
255 'download_shelf_view.cc',
256 'download_started_animation.cc',
257 'edit_keyword_controller.cc',
258 'external_protocol_dialog.cc',
259 'find_bar_view.cc',
260 'first_run_bubble.cc',
261 'first_run_customize_view.cc',
262 'first_run_view.cc',
263 'first_run_view_base.cc',
264 'frame/aero_glass_frame.cc',
265 'frame/aero_glass_non_client_view.cc',
266 'frame/browser_view.cc',
267 'frame/browser_window_factory.cc',
268 'frame/opaque_frame.cc',
269 'frame/opaque_non_client_view.cc',
270 'go_button.cc',
271 'html_dialog_view.cc',
272 'hung_renderer_view.cc',
273 'hwnd_html_view.cc',
274 'importer_lock_view.cc',
275 'importer_view.cc',
276 'importing_progress_view.cc',
277 'info_bubble.cc',
278 'infobars/infobar_container.cc',
279 'infobars/infobars.cc',
280 'input_window.cc',
281 'keyword_editor_view.cc',
282 'location_bar_view.cc',
283 'login_view.cc',
284 'new_profile_dialog.cc',
285 'options/advanced_contents_view.cc',
286 'options/advanced_page_view.cc',
287 'options/content_page_view.cc',
288 'options/cookies_view.cc',
289 'options/fonts_languages_window_view.cc',
290 'options/fonts_page_view.cc',
291 'options/general_page_view.cc',
292 'options/language_combobox_model.cc',
293 'options/languages_page_view.cc',
294 'options/options_group_view.cc',
295 'options/options_page_view.cc',
296 'options/options_window_view.cc',
297 'page_info_window.cc',
298 'password_manager_view.cc',
299 'restart_message_box.cc',
300 'select_profile_dialog.cc',
301 'shelf_item_dialog.cc',
302 'shell_dialogs_win.cc',
303 'star_toggle.cc',
304 'status_bubble.cc',
305 'tab_contents_container_view.cc',
306 'tab_icon_view.cc',
307 'tabs/dragged_tab_controller.cc',
308 'tabs/dragged_tab_view.cc',
309 'tabs/hwnd_photobooth.cc',
310 'tabs/tab.cc',
311 'tabs/tab_renderer.cc',
312 'tabs/tab_strip.cc',
313 'theme_helpers.cc',
314 'toolbar_star_toggle.cc',
315 'toolbar_view.cc',
316 'user_data_dir_dialog.cc',
317 )
318
319 if env.Bit('mac'):
320 # TODO(port): Port to Mac.
321 input_files.Remove(
322 'about_chrome_view.cc',
323 'about_ipc_dialog.cc'
324 'about_network_dialog.cc'
325 'blocked_popup_container.cc',
326 'bookmark_bar_view.cc',
327 'bookmark_bubble_view.cc',
328 'bookmark_editor_view.cc',
329 'bookmark_folder_tree_view.cc',
330 'bookmark_manager_view.cc',
331 'bookmark_table_view.cc',
332 'bug_report_view.cc',
333 'clear_browsing_data.cc',
334 'constrained_window_impl.cc',
335 'delay_view.cc',
336 'dom_view.cc',
337 'download_item_view.cc',
338 'download_shelf_view.cc',
339 'download_started_animation.cc',
340 'edit_keyword_controller.cc',
341 'event_utils.cc',
342 'external_protocol_dialog.cc',
343 'find_bar_view.cc',
344 'first_run_bubble.cc',
345 'first_run_customize_view.cc',
346 'first_run_view.cc',
347 'first_run_view_base.cc',
348 'frame/aero_glass_frame.cc',
349 'frame/aero_glass_non_client_view.cc',
350 'frame/browser_view.cc',
351 'frame/browser_window_factory.cc',
352 'frame/opaque_frame.cc',
353 'frame/opaque_non_client_view.cc',
354 'go_button.cc',
355 'html_dialog_view.cc',
356 'hung_renderer_view.cc',
357 'hwnd_html_view.cc',
358 'importer_lock_view.cc',
359 'importer_view.cc',
360 'importing_progress_view.cc',
361 'info_bubble.cc',
362 'infobars/infobar_container.cc',
363 'infobars/infobars.cc',
364 'input_window.cc',
365 'keyword_editor_view.cc',
366 'location_bar_view.cc',
367 'login_view.cc',
368 'new_profile_dialog.cc',
369 'options/advanced_contents_view.cc',
370 'options/advanced_page_view.cc',
371 'options/content_page_view.cc',
372 'options/cookies_view.cc',
373 'options/fonts_languages_window_view.cc',
374 'options/fonts_page_view.cc',
375 'options/general_page_view.cc',
376 'options/language_combobox_model.cc',
377 'options/languages_page_view.cc',
378 'options/options_group_view.cc',
379 'options/options_page_view.cc',
380 'options/options_window_view.cc',
381 'page_info_window.cc',
382 'password_manager_view.cc',
383 'restart_message_box.cc',
384 'sad_tab_view.cc',
385 'select_profile_dialog.cc',
386 'shelf_item_dialog.cc',
387 'shell_dialogs_win.cc',
388 'star_toggle.cc',
389 'status_bubble.cc',
390 'tab_contents_container_view.cc',
391 'tab_icon_view.cc',
392 'tabs/dragged_tab_controller.cc',
393 'tabs/dragged_tab_view.cc',
394 'tabs/hwnd_photobooth.cc',
395 'tabs/tab.cc',
396 'tabs/tab_renderer.cc',
397 'tabs/tab_strip.cc',
398 'theme_helpers.cc',
399 'toolbar_star_toggle.cc',
400 'toolbar_view.cc',
401 'user_data_dir_dialog.cc',
402 )
403
404 if not env.Bit('windows'):
405 input_files.Remove(
406 'find_bar_win.cc',
407 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX',
408 '$CHROME_DIR/tools/build/win/precompiled_wtl.h',
409 )
410
411 env.ChromeLibrary('browser_views', input_files)
412
413 p = env.ChromeMSVSProject('browser_views.vcproj',
414 dest=('$CHROME_SRC_DIR/chrome/'
415 + 'browser/views/browser_views.vcproj'),
416 root_namespace='Browser_views',
417 guid='{FA537565-7B03-4FFC-AF15-F7A979B72E22}',
418 keyword='Win32Proj',
419 dependencies = [
420 '$LIBXML_DIR/build/libxml_config.vcproj',
421 '$GOOGLE_UPDATE_DIR/ondemand_updates.vcproj',
422 '$CHROME_DIR/app/generated_resources.vcproj',
423 ],
424 # TODO(sgk): when we can intuit the hierarchy
425 # from the built targets.
426 #buildtargets=TODO,
427 files=input_files,
428 relative_path_prefix='./',
429 tools=[
430 'VCPreBuildEventTool',
431 'VCCustomBuildTool',
432 'VCXMLDataGeneratorTool',
433 'VCWebServiceProxyGeneratorTool',
434 'VCMIDLTool',
435 'VCCLCompilerTool',
436 'VCManagedResourceCompilerTool',
437 'VCResourceCompilerTool',
438 'VCPreLinkEventTool',
439 'VCLibrarianTool',
440 'VCALinkTool',
441 'VCXDCMakeTool',
442 'VCBscMakeTool',
443 'VCFxCopTool',
444 'VCPostBuildEventTool',
445 ],
446 ConfigurationType='4')
447
448
449 p.AddConfig('Debug|Win32',
450 InheritedPropertySheets=[
451 '../browser.vsprops',
452 '$(SolutionDir)../build/debug.vsprops',
453 '../../tools/build/win/precompiled_wtl.vsprops',
454 ])
455
456 p.AddConfig('Release|Win32',
457 InheritedPropertySheets=[
458 '../browser.vsprops',
459 '$(SolutionDir)../build/release.vsprops',
460 '$(SolutionDir)/tools/build/win/js_engine.vsprops',
461 ])
462
463 p.AddFileConfig('../../tools/build/win/precompiled_wtl.cc',
464 'Debug|Win32',
465 tools=[
466 MSVSTool('VCCLCompilerTool',
467 UsePrecompiledHeader='1'),
468 ])
469
470 p.AddFileConfig('../../tools/build/win/precompiled_wtl.cc',
471 'Release|Win32',
472 ExcludedFromBuild='true',
473 tools=[
474 'VCCLCompilerTool',
475 ])
OLDNEW
« no previous file with comments | « chrome/browser/debugger/debugger.scons ('k') | chrome/chrome_main.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698