⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 283266 in webkit


Ignore:
Timestamp:
Sep 29, 2021, 2:58:18 PM (5 years ago)
Author:
basuke.suzuki@sony.com
Message:

[PlayStation] Make build-webkit configurable using environment variable
https://bugs.webkit.org/show_bug.cgi?id=230958

Reviewed by Fujii Hironori.

The cmake toolchain file is hard coded in the script. Make it configurable using
environment variable.

  • Scripts/webkitdirs.pm:

(generateBuildSystemFromCMakeProject):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r283230 r283266  
     12021-09-29  Basuke Suzuki  <basuke.suzuki@sony.com>
     2
     3        [PlayStation] Make build-webkit configurable using environment variable
     4        https://bugs.webkit.org/show_bug.cgi?id=230958
     5
     6        Reviewed by Fujii Hironori.
     7
     8        The cmake toolchain file is hard coded in the script. Make it configurable using
     9        environment variable.
     10
     11        * Scripts/webkitdirs.pm:
     12        (generateBuildSystemFromCMakeProject):
     13
    1142021-09-29  Youenn Fablet  <youenn@apple.com>
    215
  • trunk/Tools/Scripts/webkitdirs.pm

    r282815 r283266  
    25122512    push @args, "-DLTO_MODE=$ltoMode" if ltoMode();
    25132513
    2514     push @args, '-DCMAKE_TOOLCHAIN_FILE=Platform/PlayStation' if isPlayStation();
     2514    if (isPlayStation()) {
     2515        my $toolChainFile = $ENV{'CMAKE_TOOLCHAIN_FILE'} || "Platform/PlayStation";
     2516        push @args, '-DCMAKE_TOOLCHAIN_FILE=' . $toolChainFile;
     2517    }
    25152518
    25162519    if ($willUseNinja) {
Note: See TracChangeset for help on using the changeset viewer.