Changeset 248462 in webkit


Ignore:
Timestamp:
Aug 8, 2019, 10:51:44 PM (6 years ago)
Author:
pvollan@apple.com
Message:

[Win] Fix internal build
https://bugs.webkit.org/show_bug.cgi?id=200519

Reviewed by Alex Christensen.

Source/JavaScriptCore:

The script 'generate-js-builtins.py' cannot be found when building WebCore. Copy the JavaScriptCore Scripts
folder after building JSC.

Source/WebKitLegacy/win:

Switch to the String::wideCharacers method, since its return type is compatible with the Win32 api.

  • WebDownloadCFNet.cpp:

(WebDownload::didFinish):

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r248454 r248462  
     12019-08-08  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [Win] Fix internal build
     4        https://bugs.webkit.org/show_bug.cgi?id=200519
     5
     6        Reviewed by Alex Christensen.
     7
     8        The script 'generate-js-builtins.py' cannot be found when building WebCore. Copy the JavaScriptCore Scripts
     9        folder after building JSC.
     10
     11        * JavaScriptCore.vcxproj/JavaScriptCore.proj:
     12
    1132019-08-08  Devin Rousso  <drousso@apple.com>
    214
  • trunk/Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.proj

    r225563 r248462  
    6969      <Output TaskParameter="Include" ItemName="IncFiles" />
    7070    </CreateItem>
     71    <CreateItem Include="$(ConfigurationBuildDir)\include\private\JavaScriptCore\Scripts\**\*.*">
     72      <Output TaskParameter="Include" ItemName="Scripts" />
     73    </CreateItem>
    7174    <CreateItem Include="$(ConfigurationBuildDir)\build32\DerivedSources\JavaScriptCore\inspector\**\*.*">
    7275      <Output TaskParameter="Include" ItemName="InspectorFiles" />
     
    113116
    114117    <Copy SourceFiles="@(IncFiles)" DestinationFiles="@(IncFiles->'$(DSTROOT)\AppleInternal\include\private\JavaScriptCore\%(RecursiveDir)%(Filename)%(Extension)')" />
     118    <Copy SourceFiles="@(Scripts)" DestinationFiles="@(Scripts->'$(DSTROOT)\AppleInternal\include\private\JavaScriptCore\Scripts\%(RecursiveDir)%(Filename)%(Extension)')" />
    115119    <Copy SourceFiles="@(InspectorFiles)" DestinationFiles="@(InspectorFiles->'$(DSTROOT)\AppleInternal\include\private\JavaScriptCore\inspector\%(RecursiveDir)%(Filename)%(Extension)')" />
    116120    <Copy SourceFiles="@(APIFiles)" DestinationFiles="@(APIFiles->'$(DSTROOT)\AppleInternal\include\JavaScriptCore\%(Filename)%(Extension)')" />
  • trunk/Source/WebKitLegacy/win/ChangeLog

    r248444 r248462  
     12019-08-08  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [Win] Fix internal build
     4        https://bugs.webkit.org/show_bug.cgi?id=200519
     5
     6        Reviewed by Alex Christensen.
     7
     8        Switch to the String::wideCharacers method, since its return type is compatible with the Win32 api.
     9
     10        * WebDownloadCFNet.cpp:
     11        (WebDownload::didFinish):
     12
    1132019-08-08  Brent Fulgham  <bfulgham@apple.com>
    214
  • trunk/Source/WebKitLegacy/win/WebDownloadCFNet.cpp

    r240292 r248462  
    468468    // We try to rename the bundle to the final file name.  If that fails, we give the delegate one more chance to chose
    469469    // the final file name, then we just leave it
    470     if (!MoveFileEx(m_bundlePath.charactersWithNullTermination().data(), m_destination.charactersWithNullTermination().data(), 0)) {
     470    if (!MoveFileEx(m_bundlePath.wideCharacters().data(), m_destination.wideCharacters().data(), 0)) {
    471471        LOG_ERROR("Failed to move bundle %s to %s on completion\nError - %i", m_bundlePath.ascii().data(), m_destination.ascii().data(), GetLastError());
    472472       
     
    480480        // one last time.
    481481        if (!m_destination.isEmpty())
    482             if (MoveFileEx(m_bundlePath.charactersWithNullTermination().data(), m_destination.charactersWithNullTermination().data(), 0))
     482            if (MoveFileEx(m_bundlePath.wideCharacters().data(), m_destination.wideCharacters().data(), 0))
    483483                reportBundlePathAsFinalPath = false;
    484484
Note: See TracChangeset for help on using the changeset viewer.