summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)