Ignore:
Timestamp:
Apr 27, 2010, 6:55:36 AM (15 years ago)
Author:
[email protected]
Message:

[Qt] Fix Mac build break.

Reviewed by Tor Arne Vestbø.

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

  • Make sure JavaScriptCore's debug_and_release config follows that of WebCore.
  • Use different name for JavaScriptCore target in debug and release since they might be written in the same path at the same time on parallel builds
  • Consolidate the DESTDIR determination logic in JavaScriptCore.pri
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.pri

    r58104 r58306  
    11# JavaScriptCore - Qt4 build info
    22VPATH += $$PWD
    3 JAVASCRIPTCORE_TARGET = jscore
    4 
     3CONFIG(debug, debug|release) {
     4    # Output in JavaScriptCore/<config>
     5    JAVASCRIPTCORE_DESTDIR = debug
     6    # Use a config-specific target to prevent parallel builds file clashes on Mac
     7    JAVASCRIPTCORE_TARGET = jscored
     8} else {
     9    JAVASCRIPTCORE_DESTDIR = release
     10    JAVASCRIPTCORE_TARGET = jscore
     11}
    512CONFIG(standalone_package) {
    613    isEmpty(JSC_GENERATED_SOURCES_DIR):JSC_GENERATED_SOURCES_DIR = $$PWD/generated
     
    6673
    6774defineTest(addJavaScriptCoreLib) {
    68     pathToJavaScriptCoreOutput = $$ARGS
    69     CONFIG(debug_and_release):CONFIG(debug, debug|release): pathToJavaScriptCoreOutput = $$pathToJavaScriptCoreOutput/debug
    70     CONFIG(debug_and_release):CONFIG(release, debug|release): pathToJavaScriptCoreOutput = $$pathToJavaScriptCoreOutput/release
     75    # Argument is the relative path to JavaScriptCore.pro's qmake output
     76    pathToJavaScriptCoreOutput = $$ARGS/$$JAVASCRIPTCORE_DESTDIR
    7177
    7278    win32-msvc*|wince* {
Note: See TracChangeset for help on using the changeset viewer.