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..ceeb9f69ec218c5108768c4df00abdec648b0fc3 |
--- /dev/null |
+++ b/build/android/buildbot/env_to_json.py |
@@ -0,0 +1,11 @@ |
+#!/usr/bin/python |
+# Copyright (c) 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)) |