Changeset 76716 in webkit


Ignore:
Timestamp:
Jan 26, 2011 1:59:22 PM (13 years ago)
Author:
yael.aharon@nokia.com
Message:

2011-01-26 Yael Aharon <yael.aharon@nokia.com>

Reviewed by Laszlo Gombos.

[Qt][Symbian] Fix --minimal build
https://bugs.webkit.org/show_bug.cgi?id=52839

Move definition of USE_SYSTEM_MALLOC out of pri file.
Put it in platform.h instead.

  • Source/WebKit.pri:

2011-01-26 Yael Aharon <yael.aharon@nokia.com>

Reviewed by Laszlo Gombos.

[Qt][Symbian] Fix --minimal build
https://bugs.webkit.org/show_bug.cgi?id=52839

Move definition of USE_SYSTEM_MALLOC out of pri file.
Put it in platform.h instead.

  • wtf/Platform.h:
  • wtf/TCSystemAlloc.cpp:
  • wtf/wtf.pri:
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r76694 r76716  
     12011-01-26  Yael Aharon  <yael.aharon@nokia.com>
     2
     3        Reviewed by Laszlo Gombos.
     4
     5        [Qt][Symbian] Fix --minimal build
     6        https://bugs.webkit.org/show_bug.cgi?id=52839
     7
     8        Move definition of USE_SYSTEM_MALLOC out of pri file.
     9        Put it in platform.h instead.
     10
     11        * Source/WebKit.pri:
     12
    1132011-01-26  Csaba Osztrogonác  <ossy@webkit.org>
    214
  • trunk/Source/JavaScriptCore/ChangeLog

    r76687 r76716  
     12011-01-26  Yael Aharon  <yael.aharon@nokia.com>
     2
     3        Reviewed by Laszlo Gombos.
     4
     5        [Qt][Symbian] Fix --minimal build
     6        https://bugs.webkit.org/show_bug.cgi?id=52839
     7
     8        Move definition of USE_SYSTEM_MALLOC out of pri file.
     9        Put it in platform.h instead.
     10
     11        * wtf/Platform.h:
     12        * wtf/TCSystemAlloc.cpp:
     13        * wtf/wtf.pri:
     14
    1152011-01-26  Patrick Gansterer  <paroga@webkit.org>
    216
  • trunk/Source/JavaScriptCore/wtf/Platform.h

    r75454 r76716  
    832832/* We must not customize the global operator new and delete for the Qt port. */
    833833#define ENABLE_GLOBAL_FASTMALLOC_NEW 0
     834#if !PLATFORM(UNIX) || OS(SYMBIAN)
     835#define USE_SYSTEM_MALLOC 1
     836#endif
    834837#endif
    835838
  • trunk/Source/JavaScriptCore/wtf/TCSystemAlloc.cpp

    r62764 r76716  
    3232
    3333#include "config.h"
     34#if !(defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC)
    3435#include "TCSystemAlloc.h"
    3536
     
    520521
    521522#endif
     523
     524#endif // #if !(defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC)
     525
  • trunk/Source/JavaScriptCore/wtf/wtf.pri

    r74922 r76716  
    2323    wtf/RefCountedLeakCounter.cpp \
    2424    wtf/StackBounds.cpp \
     25    wtf/TCSystemAlloc.cpp \
    2526    wtf/ThreadingNone.cpp \
    2627    wtf/Threading.cpp \
     
    4344}
    4445
    45 !contains(DEFINES, USE_SYSTEM_MALLOC=1) {
    46     SOURCES += wtf/TCSystemAlloc.cpp
    47 }
    48 
    4946unix:!symbian: SOURCES += wtf/OSAllocatorPosix.cpp
    5047symbian: SOURCES += wtf/OSAllocatorSymbian.cpp
  • trunk/Source/WebKit.pri

    r76694 r76716  
    4646    }
    4747    DEPENDPATH += $$PWD/WebKit/qt/Api
    48 }
    49 
    50 !mac:!unix|symbian {
    51     DEFINES += USE_SYSTEM_MALLOC=1
    5248}
    5349
Note: See TracChangeset for help on using the changeset viewer.