Introduced the new Mac Release bot.

NOTE: Possibly rename slave folder on master to mac-slave-3 from mac-slave-1 to keep history. Not sure if it is a good idea.

BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/395001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1642 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
phoglund@webrtc.org
2012-02-08 14:36:22 +00:00
parent 13ac430bef
commit 0da6c85cfa
2 changed files with 27 additions and 11 deletions

View File

@ -453,11 +453,14 @@ class WebRTCMacFactory(WebRTCFactory):
cmd = ["make", make, "-j100"]
if make_extra is not None:
cmd.append(make_extra)
if self.release:
cmd.append("BUILDTYPE=Release")
self.AddCommonStep(cmd, descriptor=make_descriptor+["(make)"],
workdir="build/trunk")
if self.build_type == "xcode" or self.build_type == "both":
configuration = "Release" if self.release else "Debug"
cmd = ["xcodebuild", "-project", "webrtc.xcodeproj", "-configuration",
"Debug", "-target", "All"]
configuration, "-target", "All"]
self.AddCommonStep(cmd, descriptor=make_descriptor+["(xcode)"],
workdir="build/trunk")