summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-05 22:23:46 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-05 22:23:46 +0000
commitff575ca85c0ffbea559c58363e1a9e602d83c80a (patch)
tree66291b9a72a99673d978e2a1401b6baec555f158 /base
parent852a9f6aa1aa1c8eef2ae0e4366b46bc3c13649f (diff)
downloadchromium_src-ff575ca85c0ffbea559c58363e1a9e602d83c80a.zip
chromium_src-ff575ca85c0ffbea559c58363e1a9e602d83c80a.tar.gz
chromium_src-ff575ca85c0ffbea559c58363e1a9e602d83c80a.tar.bz2
Add base_paths_win.cc to SCons build.
Use the occasion to collect the other *_win.cc source files in a Windows-specific block. TBR: erikkay git-svn-id: svn://svn.chromium.org/chrome/trunk/src@400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/SConscript13
1 files changed, 9 insertions, 4 deletions
diff --git a/base/SConscript b/base/SConscript
index 4db61d5..1902bf9 100644
--- a/base/SConscript
+++ b/base/SConscript
@@ -76,7 +76,6 @@ input_files = [
'json_reader.cc',
'json_writer.cc',
'lock.cc',
- 'lock_impl_win.cc',
'logging.cc',
'md5.cc',
'memory_debug.cc',
@@ -100,13 +99,10 @@ input_files = [
'string_piece.cc',
'string_util.cc',
'string_util_icu.cc',
- 'string_util_win.cc',
'third_party/nspr/prtime.cc',
'third_party/nss/sha512.cc',
'thread.cc',
- 'thread_local_storage_win.cc',
'time.cc',
- 'time_win.cc',
'timer.cc',
'tracked.cc',
'tracked_objects.cc',
@@ -118,6 +114,15 @@ input_files = [
'worker_pool.cc',
]
+if env['PLATFORM'] == 'win32':
+ input_files.extend([
+ 'base_paths_win.cc',
+ 'lock_impl_win.cc',
+ 'string_util_win.cc',
+ 'thread_local_storage_win.cc',
+ 'time_win.cc',
+ ])
+
env.ChromeStaticLibrary('base', input_files)