Ignore:
Timestamp:
Jun 17, 2010, 10:46:41 AM (15 years ago)
Author:
[email protected]
Message:

2010-06-17 Shu Chang <[email protected]>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Fix the link error on symbian with ENABLE_JIT=0.

  1. Add "#if ENABLE(JIT)" in the header file;
  2. Put feature enable/disable logic to a common.pri so that both JavaScriptCore.pri and WebCore.pri can share.

https://bugs.webkit.org/show_bug.cgi?id=40780

2010-06-17 Shu Chang <[email protected]>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Fix the link error on symbian with ENABLE_JIT=0.

  1. Add "#if ENABLE(JIT)" in the header file;
  2. Put feature enable/disable logic to a common.pri so that both JavaScriptCore.pri and WebCore.pri can share.

https://bugs.webkit.org/show_bug.cgi?id=40780

  • common.pri: Added.

2010-06-17 Shu Chang <[email protected]>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Fix the link error on symbian with ENABLE_JIT=0.

  1. Add "#if ENABLE(JIT)" in the header file;
  2. Put feature enable/disable logic to a common.pri so that both JavaScriptCore.pri and WebCore.pri can share.

https://bugs.webkit.org/show_bug.cgi?id=40780

  • WebCore.pri:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.pri

    r59264 r61338  
    11# JavaScriptCore - Qt4 build info
     2
     3include(../common.pri)
     4
    25VPATH += $$PWD
    36!CONFIG(release, debug|release) {
     
    5255DEFINES += BUILDING_QT__ BUILDING_JavaScriptCore BUILDING_WTF
    5356
    54 contains(JAVASCRIPTCORE_JIT,yes): DEFINES+=ENABLE_JIT=1
    55 contains(JAVASCRIPTCORE_JIT,no): DEFINES+=ENABLE_JIT=0
    56 
    5757wince* {
    5858    INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/ce-compat
Note: See TracChangeset for help on using the changeset viewer.