Ignore:
Timestamp:
Dec 18, 2009, 4:29:53 PM (15 years ago)
Author:
[email protected]
Message:

2009-12-18 Laszlo Gombos <Laszlo Gombos>

Reviewed by Kenneth Rohde Christiansen.

Move some build decisions from Qt build system into source files
https://bugs.webkit.org/show_bug.cgi?id=31956

  • JavaScriptCore.pri: Compile files unconditionally
  • jit/ExecutableAllocatorPosix.cpp: Guard with PLATFORM(UNIX) && !PLATFORM(SYMBIAN)
  • jit/ExecutableAllocatorWin.cpp: Guard with PLATFORM(WIN_OS)
  • runtime/MarkStackPosix.cpp: Guard with PLATFORM(UNIX) && !PLATFORM(SYMBIAN)
  • runtime/MarkStackSymbian.cpp: Guard with PLATFORM(SYMBIAN)
  • runtime/MarkStackWin.cpp: Guard with PLATFORM(WIN_OS)
  • wtf/Platform.h: Guard ENABLE_JSC_MULTIPLE_THREADS with ENABLE_SINGLE_THREADED for the Qt port
  • wtf/ThreadingNone.cpp: Guard with ENABLE(SINGLE_THREADED)
  • wtf/qt/ThreadingQt.cpp: Guard with !ENABLE(SINGLE_THREADED)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.pri

    r52264 r52355  
    116116    interpreter/Interpreter.cpp \
    117117    interpreter/RegisterFile.cpp \
     118    jit/ExecutableAllocatorPosix.cpp \
     119    jit/ExecutableAllocatorSymbian.cpp \
     120    jit/ExecutableAllocatorWin.cpp \
    118121    jit/ExecutableAllocator.cpp \
    119122    jit/JITArithmetic.cpp \
     
    183186    runtime/LiteralParser.cpp \
    184187    runtime/Lookup.cpp \
     188    runtime/MarkStackPosix.cpp \
     189    runtime/MarkStackSymbian.cpp \
     190    runtime/MarkStackWin.cpp \
    185191    runtime/MarkStack.cpp \
    186192    runtime/MathObject.cpp \
     
    219225    wtf/MainThread.cpp \
    220226    wtf/qt/MainThreadQt.cpp \
     227    wtf/qt/ThreadingQt.cpp \
    221228    wtf/RandomNumber.cpp \
    222229    wtf/RefCountedLeakCounter.cpp \
     230    wtf/ThreadingNone.cpp \
    223231    wtf/Threading.cpp \
    224232    wtf/TypeTraits.cpp \
     
    230238    yarr/RegexJIT.cpp
    231239
    232 symbian {
    233     SOURCES += jit/ExecutableAllocatorSymbian.cpp \
    234               runtime/MarkStackSymbian.cpp
    235 } else {
    236     win32-*|wince* {
    237         SOURCES += jit/ExecutableAllocatorWin.cpp \
    238                   runtime/MarkStackWin.cpp
    239     } else {
    240         SOURCES += jit/ExecutableAllocatorPosix.cpp \
    241                   runtime/MarkStackPosix.cpp
    242     }
    243 }
    244 
    245240!contains(DEFINES, USE_SYSTEM_MALLOC) {
    246241    SOURCES += wtf/TCSystemAlloc.cpp
    247 }
    248 
    249 !contains(DEFINES, ENABLE_SINGLE_THREADED=1) {
    250     SOURCES += wtf/qt/ThreadingQt.cpp
    251 } else {
    252     DEFINES += ENABLE_JSC_MULTIPLE_THREADS=0
    253     SOURCES += wtf/ThreadingNone.cpp
    254242}
    255243
Note: See TracChangeset for help on using the changeset viewer.