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

Unified Diff: scripts/tools/dump_master_cfg.py

Issue 1183563003: Re-land "Modify annotated_run to read factory configs from the slave checkout." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: fix sys.path in dump_master_cfg, improve logging Created 5 years, 6 months 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 | « scripts/slave/annotated_run.py ('k') | scripts/tools/run_recipe.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/tools/dump_master_cfg.py
diff --git a/scripts/tools/dump_master_cfg.py b/scripts/tools/dump_master_cfg.py
index 50364d20d9c4e9181256ac07a8a1944cd949fe04..54d4420087da971b8658f0223edf12aceedae1f2 100755
--- a/scripts/tools/dump_master_cfg.py
+++ b/scripts/tools/dump_master_cfg.py
@@ -15,6 +15,15 @@ import json
import os
import sys
+SCRIPTS_DIR = os.path.abspath(
+ os.path.join(os.path.dirname(__file__), os.pardir))
+if not SCRIPTS_DIR in sys.path:
+ sys.path.insert(0, SCRIPTS_DIR)
+
+from common import env
+
+env.Install()
+
from common import master_cfg_utils
from master.factory.build_factory import BuildFactory
« no previous file with comments | « scripts/slave/annotated_run.py ('k') | scripts/tools/run_recipe.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698