Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5855)

Unified Diff: build/toolchain/android/default_goma_for_android.py

Issue 117863003: Work on GN toolchain definitions and build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/toolchain/android/BUILD.gn ('k') | build/toolchain/clang.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/android/default_goma_for_android.py
diff --git a/build/toolchain/android/default_goma_for_android.py b/build/toolchain/android/default_goma_for_android.py
new file mode 100644
index 0000000000000000000000000000000000000000..f84246e4c41f6f9645330e2da3adfa4c6a3bb83f
--- /dev/null
+++ b/build/toolchain/android/default_goma_for_android.py
@@ -0,0 +1,17 @@
+# 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 just returns the environment variable GOMA_DIR if there is one,
+# which is the default goma location on Android. Returns the empty string if
+# it's not defined.
+#
+# TODO(brettw) this should be rationalized with the way that other systems get
+# their goma setup.
+
+import os
+
+if 'GOMA_DIR' in os.environ:
+ print '"' + os.environ['GOMA_DIR'] + '"'
+else:
+ print '""'
« no previous file with comments | « build/toolchain/android/BUILD.gn ('k') | build/toolchain/clang.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698