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

Unified Diff: tools/bots/gn_build.py

Issue 2412553002: Add buildbot scripts for GN builders and dartdevc testers (Closed)
Patch Set: Created 4 years, 2 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 | « tools/bots/ddc_tests.py ('k') | tools/bots/gn_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/gn_build.py
diff --git a/tools/bots/gn_build.py b/tools/bots/gn_build.py
new file mode 100644
index 0000000000000000000000000000000000000000..73a7e4228667c7f17e8730c5ab2af0510226afbd
--- /dev/null
+++ b/tools/bots/gn_build.py
@@ -0,0 +1,28 @@
+#!/usr/bin/env python
+#
+# Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
+# for details. All rights reserved. Use of this source code is governed by a
+# BSD-style license that can be found in the LICENSE file.
+
+import os
+import os.path
+import shutil
+import sys
+import subprocess
+
+import bot
+import bot_utils
+
+utils = bot_utils.GetUtils()
+
+BUILD_OS = utils.GuessOS()
+
+(bot_name, _) = bot.GetBotName()
+CHANNEL = bot_utils.GetChannelFromName(bot_name)
+
+if __name__ == '__main__':
+ print "This step should build the sdk using gn"
+ print "This script received the args: " + (" ".join(sys.argv))
+ print "Current directory when running on a bot should be"
+ print "/b/build/slave/[builder name]/build/sdk"
+
« no previous file with comments | « tools/bots/ddc_tests.py ('k') | tools/bots/gn_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698