aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/bootstrap_win_toolchain_json.py
diff options
context:
space:
mode:
authorGravatar borenet <borenet@chromium.org>2016-03-11 04:54:42 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-11 04:54:42 -0800
commit2f56b1aba22ad79a5e63587e4bca3001ab7ab0ba (patch)
treece30ddb73a716cdc25ac2cc8c7f159d3168a8792 /infra/bots/bootstrap_win_toolchain_json.py
parent7fb4f8bd031eda87e1da9bc0f749968c0e872e6f (diff)
Fixes for Win toolchain isolate
Diffstat (limited to 'infra/bots/bootstrap_win_toolchain_json.py')
-rw-r--r--infra/bots/bootstrap_win_toolchain_json.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/infra/bots/bootstrap_win_toolchain_json.py b/infra/bots/bootstrap_win_toolchain_json.py
new file mode 100644
index 0000000000..199abe01bb
--- /dev/null
+++ b/infra/bots/bootstrap_win_toolchain_json.py
@@ -0,0 +1,26 @@
+#!/usr/bin/env python
+#
+# Copyright 2016 Google Inc.
+#
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+
+"""Resolve the path placeholders in the win_toolchain.json file."""
+
+
+import argparse
+import win_toolchain_utils
+
+
+def main():
+ parser = argparse.ArgumentParser()
+ parser.add_argument('--win_toolchain_json', required=True)
+ parser.add_argument('--depot_tools_parent_dir', required=True)
+ args = parser.parse_args()
+ win_toolchain_utils.resolve(args.win_toolchain_json,
+ args.depot_tools_parent_dir)
+
+
+if __name__ == '__main__':
+ main()