Ignore:
Timestamp:
Feb 22, 2011, 7:14:57 AM (15 years ago)
Author:
[email protected]
Message:

2011-02-22 Andras Becsi <[email protected]>

Reviewed by Laszlo Gombos.

[Qt] Redesign the build system
https://bugs.webkit.org/show_bug.cgi?id=51339

Part 2.

Build WebCore as a static library, compile the WebKit API and WebKit2 API
in a final step and link to WebKit2, WebCore and JSC libraries to fix
linking issues resulting from stripped away symbols.

  • Source/WebKit.pri: Add common include paths
  • Source/WebKit.pro: Add new project file to SUBDIRS

2011-02-22 Andras Becsi <[email protected]>

Reviewed by Laszlo Gombos.

[Qt] Redesign the build system
https://bugs.webkit.org/show_bug.cgi?id=51339

Part 2.

Build WebCore as a static library, compile the WebKit API and WebKit2 API
in a final step and link to WebKit2, WebCore and JSC libraries to fix
linking issues resulting from stripped away symbols.

  • WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro: Remove superfluous includepaths.

2011-02-22 Andras Becsi <[email protected]>

Reviewed by Laszlo Gombos.

[Qt] Redesign the build system
https://bugs.webkit.org/show_bug.cgi?id=51339

Part 2.

Build WebCore as a static library, compile the WebKit API and WebKit2 API
in a final step and link to WebKit2, WebCore and JSC libraries to fix
linking issues resulting from stripped away symbols.

2011-02-22 Andras Becsi <[email protected]>

Reviewed by Laszlo Gombos.

[Qt] Redesign the build system
https://bugs.webkit.org/show_bug.cgi?id=51339

Part 2.

Build WebCore as a static library, compile the WebKit API and WebKit2 API
in a final step and link to WebKit2, WebCore and JSC libraries to fix
linking issues resulting from stripped away symbols.

  • QtWebKit.pro: Added. Project file for the final build step.

2011-02-22 Andras Becsi <[email protected]>

Reviewed by Laszlo Gombos.

[Qt] Redesign the build system
https://bugs.webkit.org/show_bug.cgi?id=51339

Part 2.

Build WebCore as a static library, compile the WebKit API and WebKit2 API
in a final step and link to WebKit2, WebCore and JSC libraries to fix
linking issues resulting from stripped away symbols.

No new tests needed.

  • WebCore.pri: Add needed rules for handling the static library.
  • WebCore.pro: Reorganize API and linker options to QtWebKit.pro.

2011-02-22 Andras Becsi <[email protected]>

Reviewed by Laszlo Gombos.

[Qt] Redesign the build system
https://bugs.webkit.org/show_bug.cgi?id=51339

Part 2.

Build WebCore as a static library, compile the WebKit API and WebKit2 API
in a final step and link to WebKit2, WebCore and JSC libraries to fix
linking issues resulting from stripped away symbols.

  • WebKit2.pri: Add include paths.
  • WebKit2.pro: Move include paths to WebKit2.pri and move the API source to WebKit/qt/QtWebKit.pro
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/JavaScriptCore.pri

    r79144 r79320  
    8989        # that can't resolve symbols from QtCore if libjscore comes after.
    9090        QMAKE_LIBDIR = $$pathToJavaScriptCoreOutput $$QMAKE_LIBDIR
    91         webkit2 {
    92             # FIXME Workaround for undefined reference linking issues until the build system gets redesigned
    93             mac: LIBS += -Wl,-all_load -l$$JAVASCRIPTCORE_TARGET -WL,-noall_load
    94             else: LIBS += -Wl,-whole-archive -l$$JAVASCRIPTCORE_TARGET -Wl,-no-whole-archive
    95         } else {
    96             LIBS += -l$$JAVASCRIPTCORE_TARGET
    97         }
     91        LIBS += -l$$JAVASCRIPTCORE_TARGET
    9892        POST_TARGETDEPS += $${pathToJavaScriptCoreOutput}$${QMAKE_DIR_SEP}lib$${JAVASCRIPTCORE_TARGET}.a
    9993    }
Note: See TracChangeset for help on using the changeset viewer.