Changeset 116257 in webkit


Ignore:
Timestamp:
May 6, 2012 6:41:09 PM (12 years ago)
Author:
mitz@apple.com
Message:

.: Part of: Building and debugging WebKit in the Xcode IDE requires a lot of setup
https://bugs.webkit.org/show_bug.cgi?id=85739

Reviewed by Daniel Bates.

  • WebKit.xcworkspace: Added.
  • WebKit.xcworkspace/contents.xcworkspacedata: Added.
  • WebKit.xcworkspace/xcshareddata: Added.
  • WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: Added.
  • WebKit.xcworkspace/xcshareddata/xcschemes: Added.
  • WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme: Added

this scheme, which builds all source projects and runs WebProcess with
Safari as the client executable.

  • WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: Added

this scheme, which builds all source projects and runs Safari.

  • WebKit.xcworkspace/xcshareddata/xcschemes/All Tools.xcscheme: Added

this scheme, which builds all tools projects and runs DumpRenderTree.

Tools: Tools part of: Building and debugging WebKit in the Xcode IDE requires a lot of setup
https://bugs.webkit.org/show_bug.cgi?id=85739

Reviewed by Daniel Bates.

  • Scripts/build-webkit: Moved code that copies from WebKitLibraries to the product directory

from here...

  • Scripts/copy-webkitlibraries-to-product-directory: ...to this new script.
Location:
trunk
Files:
9 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r116256 r116257  
     12012-05-06  Dan Bernstein  <mitz@apple.com>
     2
     3        Part of: Building and debugging WebKit in the Xcode IDE requires a lot of setup
     4        https://bugs.webkit.org/show_bug.cgi?id=85739
     5
     6        Reviewed by Daniel Bates.
     7
     8        * WebKit.xcworkspace: Added.
     9        * WebKit.xcworkspace/contents.xcworkspacedata: Added.
     10        * WebKit.xcworkspace/xcshareddata: Added.
     11        * WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: Added.
     12        * WebKit.xcworkspace/xcshareddata/xcschemes: Added.
     13        * WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme: Added
     14        this scheme, which builds all source projects and runs WebProcess with
     15        Safari as the client executable.
     16        * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: Added
     17        this scheme, which builds all source projects and runs Safari.
     18        * WebKit.xcworkspace/xcshareddata/xcschemes/All Tools.xcscheme: Added
     19        this scheme, which builds all tools projects and runs DumpRenderTree.
     20
    1212012-05-06  Gustavo Noronha Silva  <gns@gnome.org>
    222
  • trunk/Tools/ChangeLog

    r116252 r116257  
     12012-05-06  Dan Bernstein  <mitz@apple.com>
     2
     3        Tools part of: Building and debugging WebKit in the Xcode IDE requires a lot of setup
     4        https://bugs.webkit.org/show_bug.cgi?id=85739
     5
     6        Reviewed by Daniel Bates.
     7
     8        * Scripts/build-webkit: Moved code that copies from WebKitLibraries to the product directory
     9        from here...
     10        * Scripts/copy-webkitlibraries-to-product-directory: ...to this new script.
     11
    1122012-05-06  Andy Estes  <aestes@apple.com>
    213
  • trunk/Tools/Scripts/build-webkit

    r116107 r116257  
    246246
    247247    # Copy library and header from WebKitLibraries to a findable place in the product directory.
    248     my @librariesToCopy = (
    249         "libWebKitSystemInterfaceLeopard.a",
    250         "libWebKitSystemInterfaceSnowLeopard.a",
    251         "libWebKitSystemInterfaceLion.a",
    252         "libWebCoreSQLite3.a",
    253     );
    254 
    255     my $ranlib = `xcrun -find ranlib`;
    256     chomp $ranlib;
    257     foreach my $libName (@librariesToCopy) {
    258         my $srcLib = "WebKitLibraries/" . $libName;
    259         my $lib = "$productDir/" . $libName;
    260         if (!-e $lib || -M $lib > -M $srcLib) {
    261             print "Updating $lib\n";
    262             system "ditto", $srcLib, $lib;
    263             system $ranlib, $lib;
    264         }
    265     }
    266 
    267     # FIXME: This code should be abstracted to not be copy/paste.
    268     my $srcHeader = "WebKitLibraries/WebKitSystemInterface.h";
    269     my $header = "$productDir/usr/local/include/WebKitSystemInterface.h";
    270     if (!-e $header || -M $header > -M $srcHeader) {
    271         print "Updating $header\n";
    272         system "mkdir", "-p", "$productDir/usr/local/include";
    273         system "ditto", $srcHeader, $header;
    274     }
    275 
    276     my $srcHeaderDir = "WebKitLibraries/WebCoreSQLite3";
    277     my $headerDir = "$productDir/WebCoreSQLite3";
    278     if (!-e $headerDir || -M $headerDir > -M $srcHeaderDir) {
    279         print "Updating $headerDir\n";
    280         system "ditto", $srcHeaderDir, $headerDir;
    281     }
     248    (system("perl Tools/Scripts/copy-webkitlibraries-to-product-directory") == 0) or die;
    282249} elsif (isWinCairo()) {
    283250    (system("perl Tools/Scripts/update-webkit-wincairo-libs") == 0) or die;
Note: See TracChangeset for help on using the changeset viewer.