Changeset 121302 in webkit


Ignore:
Timestamp:
Jun 26, 2012, 4:54:46 PM (13 years ago)
Author:
Lucas Forschler
Message:

Teach the Apple port how to build the test tools in build-webkit
https://bugs.webkit.org/show_bug.cgi?id=89540

Reviewed by Jon Lee & Simon Fraser.

  • BuildSlaveSupport/build.webkit.org-config/master.cfg: (RunWebKitTests.start): pass --no-build since tools should now be in the downloaded archive (RunUnitTests.start): ditto
  • Scripts/build-webkit: add tools to the projects build list
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg

    r121263 r121302  
    308308        platform = self.getProperty('platform')
    309309        appendCustomBuildFlags(self, platform, self.getProperty('fullPlatform'))
     310        if platform.startswith('mac'):
     311            self.setCommand(self.command + ['--no-build'])
    310312        if platform == "win":
    311313            rootArgument = ['--root=' + os.path.join("WebKitBuild", self.getProperty('configuration'), "bin")]
     314            self.setCommand(self.command + ['--no-build'])
    312315        else:
    313316            rootArgument = ['--root=WebKitBuild/bin']
     
    418421        platform = self.getProperty('platform')
    419422        if platform == 'win':
     423            self.setCommand(self.command + ['--no-build'])
     424        if platform.startswith('mac'):
    420425            self.setCommand(self.command + ['--no-build'])
    421426        if platform.startswith('chromium'):
  • trunk/Tools/ChangeLog

    r121301 r121302  
     12012-06-26  Lucas Forschler  <lforschler@apple.com>
     2
     3      Teach the Apple port how to build the test tools in build-webkit
     4      https://bugs.webkit.org/show_bug.cgi?id=89540
     5
     6      Reviewed by Jon Lee & Simon Fraser.
     7
     8      * BuildSlaveSupport/build.webkit.org-config/master.cfg:
     9      (RunWebKitTests.start): pass --no-build since tools should now be in the downloaded archive
     10      (RunUnitTests.start): ditto
     11      * Scripts/build-webkit: add tools to the projects build list
     12
    1132012-06-26  Ojan Vafai  <ojan@chromium.org>
    214
  • trunk/Tools/Scripts/build-webkit

    r120060 r121302  
    247247    push @projects, ("Source/WebKit2", "Tools/MiniBrowser") if osXVersion()->{"minor"} >= 6 and !$noWebKit2;
    248248
     249    # Build Tools needed for Apple ports
     250    push @projects, ("Tools/DumpRenderTree", "Tools/WebKitTestRunner", "Source/ThirdParty/gtest", "Tools/TestWebKitAPI");
     251   
    249252    # Copy library and header from WebKitLibraries to a findable place in the product directory.
    250253    (system("perl", "Tools/Scripts/copy-webkitlibraries-to-product-directory", $productDir) == 0) or die;
     
    376379        my $useGYPProject = $useGYP && ($project =~ "WebCore|JavaScriptCore");
    377380        my $projectPath = $useGYPProject ? "gyp/$project" : $project;
     381        $projectPath = $project =~ /gtest/ ? "xcode/gtest" : $project;
    378382        $result = buildXCodeProject($projectPath, $clean, @local_options, @ARGV);
    379383    } elsif (isAppleWinWebKit()) {
Note: See TracChangeset for help on using the changeset viewer.