OLD | NEW |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 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 | 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 __doc__ = """ | 5 __doc__ = """ |
6 Configuration for building base.lib / libbase.a. | 6 Configuration for building base.lib / libbase.a. |
7 """ | 7 """ |
8 | 8 |
9 Import('env') | 9 Import('env') |
10 | 10 |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 ]) | 270 ]) |
271 | 271 |
272 if env.Bit('posix'): | 272 if env.Bit('posix'): |
273 # Remove files that still need to be ported from the input_files list. | 273 # Remove files that still need to be ported from the input_files list. |
274 # TODO(port): delete files from this list as they get ported. | 274 # TODO(port): delete files from this list as they get ported. |
275 input_files.Remove( | 275 input_files.Remove( |
276 'clipboard_util.cc', | 276 'clipboard_util.cc', |
277 'event_recorder.cc', | 277 'event_recorder.cc', |
278 'file_version_info.cc', | 278 'file_version_info.cc', |
279 | 279 |
280 # We have an implementation of idle_timer, but it's unclear if we want it | 280 # We have an implementation of idle_timer that depends on XScreenSaver, |
281 # yet, so it's commented out for now. Leave this 'unported'. | 281 # but it's unclear if we want it yet, so it's commented out for now. |
| 282 # Leave this 'unported'. |
282 'idle_timer.cc', | 283 'idle_timer.cc', |
283 | 284 |
284 'object_watcher.cc', | 285 'object_watcher.cc', |
285 | 286 |
286 'resource_util.cc', # Uses HMODULE, but may be abstractable. | 287 'resource_util.cc', # Uses HMODULE, but may be abstractable. |
287 ) | 288 ) |
288 | 289 |
| 290 input_files.Append( |
| 291 # See above note about idle_timer.cc. |
| 292 'idle_timer_none.cc', |
| 293 ) |
| 294 |
289 if not env.Bit('windows'): | 295 if not env.Bit('windows'): |
290 # Remove windows-specific files on non-Windows platforms. | 296 # Remove windows-specific files on non-Windows platforms. |
291 # TODO(sgk): | 297 # TODO(sgk): |
292 # Remove the windows-specific files from the input_files list above | 298 # Remove the windows-specific files from the input_files list above |
293 # and turn this back in to an add-on-Windows list (like we used to) | 299 # and turn this back in to an add-on-Windows list (like we used to) |
294 # once we're comfortable re-ordering the files in the generated | 300 # once we're comfortable re-ordering the files in the generated |
295 # .vcproj file(s). | 301 # .vcproj file(s). |
296 input_files.Remove( | 302 input_files.Remove( |
297 'base_drag_source.cc', | 303 'base_drag_source.cc', |
298 'base_drop_target.cc', | 304 'base_drop_target.cc', |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 tools=[ | 465 tools=[ |
460 MSVSTool('VCCLCompilerTool', DisableSpecificWarnings='4102'), | 466 MSVSTool('VCCLCompilerTool', DisableSpecificWarnings='4102'), |
461 ]) | 467 ]) |
462 | 468 |
463 p.AddFileConfig( | 469 p.AddFileConfig( |
464 'third_party/dmg_fp/g_fmt.cc', | 470 'third_party/dmg_fp/g_fmt.cc', |
465 'Release|Win32', | 471 'Release|Win32', |
466 tools=[ | 472 tools=[ |
467 MSVSTool('VCCLCompilerTool', DisableSpecificWarnings='4102'), | 473 MSVSTool('VCCLCompilerTool', DisableSpecificWarnings='4102'), |
468 ]) | 474 ]) |
OLD | NEW |