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" |
+ |