Index: build/toolchain/get_default_posix_goma_dir.py |
diff --git a/build/toolchain/get_default_posix_goma_dir.py b/build/toolchain/get_default_posix_goma_dir.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2aa02674fef9b6f3802a50d2b1184c95701917f4 |
--- /dev/null |
+++ b/build/toolchain/get_default_posix_goma_dir.py |
@@ -0,0 +1,11 @@ |
+# 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. |
+ |
+# This script returns the default goma directory for Posix systems, which is |
+# relative to the user's home directory. On Windows, goma.gypi hardcodes a |
+# value. |
+ |
+import os |
+ |
+print '"' + os.environ['HOME'] + '/goma"' |