Index: build/android/buildbot/env_to_json.py |
diff --git a/build/android/buildbot/env_to_json.py b/build/android/buildbot/env_to_json.py |
new file mode 100755 |
index 0000000000000000000000000000000000000000..f9a7a443d39aec7691ca83bf55d962f272c44b09 |
--- /dev/null |
+++ b/build/android/buildbot/env_to_json.py |
@@ -0,0 +1,11 @@ |
+#!/usr/bin/python |
+# Copyright 2013 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+# Encode current environment into json. |
+ |
+import json |
+import os |
+ |
+print json.dumps(dict(os.environ)) |