Changeset 160035 in webkit


Ignore:
Timestamp:
Dec 3, 2013 1:50:43 PM (10 years ago)
Author:
Brent Fulgham
Message:

[Win] Support 64-bit Application Support Libraries Location
https://bugs.webkit.org/show_bug.cgi?id=125179

Reviewed by Tim Horton.

Enable the user to specify a location for 64-bit support libraries (such as libxml2, ICU, etc.)
on Windows until an official distribution is available that properly creates registry settings
to specify these locations.

  • Scripts/webkitdirs.pm:

(setupAppleWinEnv): Notify user to set WEBKIT_64_SUPPORT environment variable if needed.
(setupCygwinEnv): Report WEWBKIT_64_SUPPORT path when running 64-bit builds.
(appleApplicationSupportPath): Add WEBKIT_64_SUPPORT location to runtime environment when
running 64-bit builds.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r160016 r160035  
     12013-12-03  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [Win] Support 64-bit Application Support Libraries Location
     4        https://bugs.webkit.org/show_bug.cgi?id=125179
     5
     6        Reviewed by Tim Horton.
     7
     8        Enable the user to specify a location for 64-bit support libraries (such as libxml2, ICU, etc.)
     9        on Windows until an official distribution is available that properly creates registry settings
     10        to specify these locations.
     11
     12        * Scripts/webkitdirs.pm:
     13        (setupAppleWinEnv): Notify user to set WEBKIT_64_SUPPORT environment variable if needed.
     14        (setupCygwinEnv): Report WEWBKIT_64_SUPPORT path when running 64-bit builds.
     15        (appleApplicationSupportPath): Add WEBKIT_64_SUPPORT location to runtime environment when
     16        running 64-bit builds.
     17
    1182013-12-03  Mark Hahnenberg  <mhahnenberg@apple.com>
    219
  • trunk/Tools/Scripts/webkitdirs.pm

    r159806 r160035  
    15751575        }
    15761576    }
     1577    # FIXME (125180): Remove the following temporary 64-bit support once official support is available.
     1578    if (isWin64() and !$ENV{'WEBKIT_64_SUPPORT'}) {
     1579        print "Warning: You must set the 'WEBKIT_64_SUPPORT' environment variable\n";
     1580        print "         to be able run WebKit or JavaScriptCore tests.\n\n";
     1581    }
    15771582}
    15781583
     
    16071612    print "WEBKIT_OUTPUTDIR is set to: ", $ENV{"WEBKIT_OUTPUTDIR"}, "\n";
    16081613    print "WEBKIT_LIBRARIES is set to: ", $ENV{"WEBKIT_LIBRARIES"}, "\n";
     1614    # FIXME (125180): Remove the following temporary 64-bit support once official support is available.
     1615    print "WEBKIT_64_SUPPORT is set to: ", $ENV{"WEBKIT_64_SUPPORT"}, "\n" if isWin64();
    16091616}
    16101617
     
    21192126sub appleApplicationSupportPath
    21202127{
     2128    if (isWin64()) {
     2129        # FIXME (125180): Remove the following once official 64-bit Windows support is available.
     2130        return $ENV{"WEBKIT_64_SUPPORT"}, "\n" if isWin64();
     2131    }
     2132
    21212133    open INSTALL_DIR, "</proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Apple\ Inc./Apple\ Application\ Support/InstallDir";
    21222134    my $path = <INSTALL_DIR>;
Note: See TracChangeset for help on using the changeset viewer.