Changeset 190775 in webkit


Ignore:
Timestamp:
Oct 8, 2015 9:01:54 PM (9 years ago)
Author:
dbates@webkit.org
Message:

Teach build-webkit to install LLVM binaries for iOS when building for device with the public iOS SDK
https://bugs.webkit.org/show_bug.cgi?id=149943

Reviewed by Dan Bernstein.

Following the addition of the LLVM binaries for iOS in changeset r190759 (bug #149913) we should
teach build-webkit to install them when building for iOS device using the public iOS SDK.

  • Scripts/build-webkit:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r190759 r190775  
     12015-10-08  Daniel Bates  <dabates@apple.com>
     2
     3        Teach build-webkit to install LLVM binaries for iOS when building for device with the public iOS SDK
     4        https://bugs.webkit.org/show_bug.cgi?id=149943
     5
     6        Reviewed by Dan Bernstein.
     7
     8        Following the addition of the LLVM binaries for iOS in changeset r190759 (bug #149913) we should
     9        teach build-webkit to install them when building for iOS device using the public iOS SDK.
     10
     11        * Scripts/build-webkit:
     12
    1132015-10-08  Daniel Bates  <dabates@apple.com>
    214
  • trunk/Tools/Scripts/build-webkit

    r190515 r190775  
    194194        (system(@copyLibrariesArgs) == 0) or die;
    195195    } else {
    196         my @copyLibrariesArgs = (
    197             "perl", "Tools/Scripts/copy-webkitlibraries-to-product-directory",
    198             "--sdk", xcodeSDK(), "--wksi", "--llvm", "--prefer-system-llvm",
    199             "--llvm-subdirectory", "internal-llvm", productDir(),
    200             "--llvm-prefix", "/usr/local"
    201         );
     196        my @copyLibrariesArgs = ("perl", "Tools/Scripts/copy-webkitlibraries-to-product-directory", "--sdk", xcodeSDK(), "--wksi");
     197        push @copyLibrariesArgs, "--llvm" if willUseIOSDeviceSDKWhenBuilding();
     198        if (my $hasInternalSDK = xcodeSDK() eq "iphoneos.internal") {
     199            push @copyLibrariesArgs, (
     200                "--prefer-system-llvm",
     201                "--llvm-subdirectory", "internal-llvm",
     202                "--llvm-prefix", "/usr/local",
     203            );
     204        }
     205        push @copyLibrariesArgs, productDir();
    202206        print(join(" ", @copyLibrariesArgs) . "\n");
    203207        (system(@copyLibrariesArgs) == 0) or die;
Note: See TracChangeset for help on using the changeset viewer.