OLD | NEW |
| (Empty) |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 # This script just returns the environment variable GOMA_DIR if there is one, | |
6 # which is the default goma location on Android. Returns the empty string if | |
7 # it's not defined. | |
8 # | |
9 # TODO(brettw) this should be rationalized with the way that other systems get | |
10 # their goma setup. | |
11 | |
12 import os | |
13 | |
14 if 'GOMA_DIR' in os.environ: | |
15 print '"' + os.environ['GOMA_DIR'] + '"' | |
16 else: | |
17 print '""' | |
OLD | NEW |