summaryrefslogtreecommitdiffstats
path: root/webkit/build/JavaScriptCore
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/build/JavaScriptCore')
-rw-r--r--webkit/build/JavaScriptCore/SConscript23
1 files changed, 17 insertions, 6 deletions
diff --git a/webkit/build/JavaScriptCore/SConscript b/webkit/build/JavaScriptCore/SConscript
index 97534f7..5b15591 100644
--- a/webkit/build/JavaScriptCore/SConscript
+++ b/webkit/build/JavaScriptCore/SConscript
@@ -117,8 +117,11 @@ env.Append(
CPPDEFINES = [
'__STD_C',
'U_STATIC_IMPLEMENTATION',
- ]
- )
+ ],
+ CPPPATH = [
+ '$WTF_DIR/unicode',
+ ],
+)
if env['PLATFORM'] == 'win32':
env.Append(
@@ -136,7 +139,6 @@ if env['PLATFORM'] == 'win32':
CCFLAGS = [
'/TP',
- '/WX',
'/Wp64',
'/wd4127',
@@ -150,10 +152,19 @@ if env['PLATFORM'] == 'win32':
wtf_inputs = [
'$WTF_DIR/Assertions.cpp',
- '$WTF_DIR/unicode/UTF8.cpp',
- '$WTF_DIR/TCSystemAlloc.cpp',
+ '$WTF_DIR/FastMalloc.cpp',
'$WTF_DIR/HashTable.cpp',
+ '$WTF_DIR/MainThread.cpp',
+ '$WTF_DIR/RefCountedLeakCounter.cpp',
+ '$WTF_DIR/TCSystemAlloc.cpp',
+ '$WTF_DIR/unicode/UTF8.cpp',
+ '$WTF_DIR/unicode/icu/CollatorICU.cpp',
]
-env.ChromeStaticLibrary('WTF', wtf_inputs)
+if env['PLATFORM'] == 'win32':
+ wtf_inputs.extend([
+ '$WTF_DIR/win/MainThreadWin.cpp',
+ '$PENDING_DIR/wtf/ThreadingWin.cpp',
+ ])
+env.ChromeStaticLibrary('WTF', wtf_inputs)