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

Unified Diff: client/bin/base_utils.py

Issue 6539001: Merge remote branch 'cros/upstream' into master. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 10 months 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 | « client/bin/autotest ('k') | client/bin/harness.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/bin/base_utils.py
diff --git a/client/bin/base_utils.py b/client/bin/base_utils.py
index f1b1de676be62d337b8a75a63152cf366e3dd991..00e745f157fbd5f86180ef36e4145517e0d6ec3a 100644
--- a/client/bin/base_utils.py
+++ b/client/bin/base_utils.py
@@ -245,6 +245,13 @@ def get_os_vendor():
return 'Unknown'
+def get_cc():
+ try:
+ return os.environ['CC']
+ except KeyError:
+ return 'gcc'
+
+
def get_vmlinux():
"""Return the full path to vmlinux
« no previous file with comments | « client/bin/autotest ('k') | client/bin/harness.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698