Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(646)

Unified Diff: master.nacl.sdk/Makefile

Issue 5329006: Delete obsolete masters from tools/buildbot (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/buildbot/
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « master.nacl.ppapi/slaves.cfg ('k') | master.nacl.sdk/Makefile.win32 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: master.nacl.sdk/Makefile
===================================================================
--- master.nacl.sdk/Makefile (revision 67605)
+++ master.nacl.sdk/Makefile (working copy)
@@ -1,54 +0,0 @@
-# -*- makefile -*-
-
-# This is a simple makefile which lives in a buildmaster/buildslave
-# directory (next to the buildbot.tac file). It allows you to start/stop the
-# master or slave by doing 'make start' or 'make stop'.
-
-# The 'reconfig' target will tell a buildmaster to reload its config file.
-
-# Note that a relative PYTHONPATH entry is relative to the current directory.
-
-# On the Mac, the buildbot is started via the launchd mechanism as a
-# LaunchAgent to give the slave a proper Mac UI environment for tests. In
-# order for this to work, the plist must be present and loaded by launchd, and
-# the user must be logged in to the UI. The plist is loaded by launchd at user
-# login (and the job may have been initially started at that time too). Our
-# Mac build slaves are all set up this way, and have auto-login enabled, so
-# "make start" should just work and do the right thing.
-#
-# When using launchd to start the job, it also needs to be used to stop the
-# job. Otherwise, launchd might try to restart the job when stopped manually
-# by SIGTERM. Using SIGHUP for reconfig is safe with launchd.
-#
-# Because it's possible to have more than one slave on a machine (for testing),
-# this tests to make sure that the slave is in the known slave location,
-# /b/slave, which is what the LaunchAgent operates on.
-USE_LAUNCHD := \
- $(shell [ -f ~/Library/LaunchAgents/org.chromium.buildbot.master.nacl-internal.plist ] && \
- [ "$$(pwd -P)" = "/b/master.nacl-internal" ] && \
- echo 1)
-
-start:
-ifneq ($(USE_LAUNCHD),1)
- PYTHONPATH=../scripts:../scripts/master:../scripts/common:../scripts/private:../pylibs python ../scripts/common/twistd --no_save -y buildbot.tac
-else
- launchctl start org.chromium.buildbot.master.nacl-internal
-endif
-
-stop:
-ifneq ($(USE_LAUNCHD),1)
- if `test -f twistd.pid`; then kill `cat twistd.pid`; fi;
-else
- launchctl stop org.chromium.buildbot.master.nacl-internal
-endif
-
-reconfig:
- kill -HUP `cat twistd.pid`
-
-log:
- tail -F twistd.log
-
-wait:
- while `test -f twistd.pid`; do sleep 1; done;
-
-restart: stop wait start log
« no previous file with comments | « master.nacl.ppapi/slaves.cfg ('k') | master.nacl.sdk/Makefile.win32 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698