Changeset 51167 in webkit
- Timestamp:
- Nov 18, 2009 6:53:55 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/BuildSlaveSupport/build.webkit.org-config/config.json
r48452 r51167 26 26 { "name": "szeged-linux-1", "platform": "qt"}, 27 27 28 { "name": "google-slave-1", "platform": "chromium-win" } 28 { "name": "google-windows-1", "platform": "chromium" }, 29 { "name": "google-mac-1", "platform": "chromium" }, 30 { "name": "google-linux-1", "platform": "chromium" } 29 31 ], 30 32 … … 99 101 }, 100 102 { 101 "name": "Chromium Win Release", "type": "ChromiumBuild", "builddir": "chromium-win-release", 102 "platform": "chromium-win", "configuration": "release", "architectures": ["i386"], 103 "slavenames": ["google-slave-1"] 103 "name": "Chromium Win Release", "type": "Build", "builddir": "chromium-win-release", 104 "platform": "chromium", "configuration": "release", "architectures": ["i386"], 105 "slavenames": ["google-windows-1"] 106 }, 107 { 108 "name": "Chromium Mac Release", "type": "Build", "builddir": "chromium-mac-release", 109 "platform": "chromium", "configuration": "release", "architectures": ["i386"], 110 "slavenames": ["google-mac-1"] 111 }, 112 { 113 "name": "Chromium Linux Release", "type": "Build", "builddir": "chromium-linux-release", 114 "platform": "chromium", "configuration": "release", "architectures": ["i386"], 115 "slavenames": ["google-linux-1"] 104 116 } 105 117 ], … … 110 122 "Windows Release (Build)", "Windows Debug (Build)", 111 123 "GTK Linux Release", "Qt Linux Release", 112 "Chromium Win Release" ]124 "Chromium Win Release", "Chromium Mac Release", "Chromium Linux Release"] 113 125 }, 114 126 { "type": "Triggerable", "name": "leopard-intel-release-tests", -
trunk/WebKitTools/BuildSlaveSupport/build.webkit.org-config/master.cfg
r50401 r51167 49 49 50 50 51 # FIXME: Remove this step once Chromium WebKit port build system is decoupled from52 # Chromium (https://bugs.webkit.org/show_bug.cgi?id=28396)53 class UpdateChromiumSource(shell.ShellCommand):54 command = ["gclient", "sync"]55 name = "update-chromium"56 description = ["updating chromium source"]57 descriptionDone = ["updated"]58 haltOnFailure = True59 60 def createSummary(self, log):61 scraper = re.compile(r"^________ running '[^\n]+third_party[/\\]WebKit[^\n]+$\n(?:^[UA]\W+[^\n]+$\n)*^(?:Updated to|At) revision (\d+)", re.DOTALL | re.MULTILINE)62 revisions = scraper.findall(log.getText())63 gotRevision = "??" # This matches SVN unknown revision response.64 if len(revisions):65 gotRevision = "r%s" % revisions[-1]66 self.descriptionDone = ["updated", gotRevision]67 68 def start(self):69 os = self.getProperty("fullPlatform").split('-')[1]70 if os == "win":71 self.setCommand(["gclient.bat", "sync"])72 revision = self.getProperty("revision")73 if revision:74 command = self.command[:]75 command.append("--revision=src/third_party/WebKit@%d" % revision)76 self.setCommand(command)77 return shell.ShellCommand.start(self)78 79 80 # FIXME: Remove this step once Chromium WebKit port build system is decoupled from81 # Chromium (https://bugs.webkit.org/show_bug.cgi?id=28396)82 class CompileChromiumWebKit(shell.ShellCommand):83 command = ["python", "../../../scripts/slave/compile.py"]84 name = "build-chromium"85 description = ["compiling"]86 descriptionDone = ["compiled"]87 haltOnFailure = True88 89 def start(self):90 os = self.getProperty("fullPlatform").split('-')[1]91 command = self.command[:]92 if os == "win":93 command.extend(["--solution=webkit.sln", "--build-dir=src\\webkit", "--", "/project", "webcore"])94 elif os == "mac":95 command.extend(["--solution=__solution__", "--build-dir=src/build", "--", "-project", "../webkit/webkit.xcodeproj", "-target", "webcore"])96 self.setCommand(command)97 return shell.ShellCommand.start(self)98 99 100 51 class InstallWin32Dependencies(shell.Compile): 101 52 description = ["installing dependencies"] … … 104 55 105 56 57 class InstallChromiumDependencies(shell.ShellCommand): 58 name = "gclient" 59 description = ["updating chromium dependencies"] 60 descriptionDone = ["updated chromium dependencies"] 61 command = ["perl", "./WebKitTools/Scripts/update-webkit-chromium"] 62 haltOnFailure = True 63 64 106 65 def appendCustomBuildFlags(step, platform): 107 if platform in ('gtk', 'wx', 'qt' ):66 if platform in ('gtk', 'wx', 'qt', 'chromium'): 108 67 step.setCommand(step.command + ['--' + platform]) 109 68 … … 321 280 if platform == "win": 322 281 self.addStep(InstallWin32Dependencies) 323 324 # FIXME: Remove this factory once Chromium WebKit port build system is decoupled from 325 # Chromium (https://bugs.webkit.org/show_bug.cgi?id=28396) 326 class ChromiumBuildFactory(factory.BuildFactory): 327 def __init__(self, platform, configuration, architectures): 328 factory.BuildFactory.__init__(self) 329 self.addStep(ConfigureBuild, platform=platform, configuration=configuration, architecture=" ".join(architectures), buildOnly=True) 330 self.addStep(UpdateChromiumSource) 331 self.addStep(CompileChromiumWebKit) 282 if platform == "chromium": 283 self.addStep(InstallChromiumDependencies) 332 284 333 285 class BuildFactory(Factory): 334 def __init__(self, platform, configuration, architectures, triggers ):286 def __init__(self, platform, configuration, architectures, triggers=None): 335 287 Factory.__init__(self, platform, configuration, architectures, True) 336 288 self.addStep(CompileWebKit) 337 self.addStep(ArchiveBuiltProduct) 338 self.addStep(UploadBuiltProduct) 339 self.addStep(trigger.Trigger, schedulerNames=triggers) 289 if triggers: 290 self.addStep(ArchiveBuiltProduct) 291 self.addStep(UploadBuiltProduct) 292 self.addStep(trigger.Trigger, schedulerNames=triggers) 340 293 341 294 class TestFactory(Factory): -
trunk/WebKitTools/ChangeLog
r51160 r51167 1 2009-11-18 Yaar Schnitman <yaar@chromium.org> 2 3 Reviewed by Darin Adler. 4 5 Configuration for Chromium Build Slaves. 6 7 https://bugs.webkit.org/show_bug.cgi?id=31442 8 9 * BuildSlaveSupport/build.webkit.org-config/config.json: 10 * BuildSlaveSupport/build.webkit.org-config/master.cfg: 11 1 12 2009-11-18 Eric Seidel <eric@webkit.org> 2 13
Note: See TracChangeset
for help on using the changeset viewer.