[Webkit-unassigned] [Bug 77252] New: WebCore_DerivedSources.pri and WebKit2_DerivedSources.pri not compatible with nmake on windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 27 15:30:53 PST 2012


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

           Summary: WebCore_DerivedSources.pri and
                    WebKit2_DerivedSources.pri not compatible with nmake
                    on windows
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cgmelt at gmail.com


WebCore_DerivedSources.pri(662) contains $(addprefix) macro which is not supported by nmake

a fix for this would be to replace it with perlscript, in the following way:

DOLLAR = $
resolveSupplemental.commands = perl -e \"foreach my $${DOLLAR}$${DOLLAR}f (split(\\\" \\\",\\\"$$IDL_BINDINGS\\\")) { print \\\"$${ROOT_WEBKIT_DIR}/Source/WebCore/$${DOLLAR}$${DOLLAR}f\\n\\\";} system(\'perl -IE:/git/qt5/qtwebkit/Source/WebCore/bindings/scripts E:/git/qt5/qtwebkit/Source/WebCore/bindings/scripts/resolve-supplemental.pl --defines \\\"LANGUAGE_JAVASCRIPT=1 ENABLE_CHANNEL_MESSAGING=1 ENABLE_SQL_DATABASE=1 ENABLE_DATALIST=1 ENABLE_WORKERS=1 ENABLE_SHARED_WORKERS=1 ENABLE_XSLT=1 ENABLE_FILTERS=1 ENABLE_CSS_FILTERS=1 ENABLE_SVG=1 ENABLE_JAVASCRIPT_DEBUGGER=1 ENABLE_WEB_SOCKETS=1 ENABLE_WEB_TIMING=1 ENABLE_TOUCH_EVENTS=1 ENABLE_GESTURE_EVENTS=1 WTF_USE_TILED_BACKING_STORE=1 ENABLE_NOTIFICATIONS=1 ENABLE_DETAILS=1 ENABLE_METER_TAG=1 ENABLE_PROGRESS_TAG=1 ENABLE_BLOB=1 ENABLE_REQUEST_ANIMATION_FRAME=1\\\" --idlFilesList generated/idl_files.tmp --supplementalDependencyFile generated/supplemental_dependency.tmp --preprocessor \\\"E:\git\qt5\qtbase\bin\moc.exe -E\\\"\');
  \" > $$IDL_FILES_TMP



WebKit2_DerivedSources.pri(139) uses mkdir in a way that is not supported by windows, a fix would be again, use perl instead

eval($${header_target}.commands = perl -e \\\"use File::Path; mkpath(\\\'$$dest_dir\\\');\\\" && echo $${DOUBLE_ESCAPED_QUOTE}\$${LITERAL_HASH}include \\\"$$header_path\\\"$${DOUBLE_ESCAPED_QUOTE} > $$eval($${header_target}.target))

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list