summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-03-26 04:19:53 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-03-26 04:19:53 +0000
commitcfead6dacf422d0d9230d7881a7b4c32f4f2b309 (patch)
treec20e65739ac1f53d7c8c3e32d52e5f6c331d12e0
parent09b66b93f17e639a6ff3994a51b6de61ca1c78d4 (diff)
parent608fb70dd86b763be56508a3412e6e0021390f2a (diff)
downloadsystem_core-cfead6dacf422d0d9230d7881a7b4c32f4f2b309.zip
system_core-cfead6dacf422d0d9230d7881a7b4c32f4f2b309.tar.gz
system_core-cfead6dacf422d0d9230d7881a7b4c32f4f2b309.tar.bz2
Merge "$ANDROID_BUILD_TOP isn't set for continuous builds."
-rwxr-xr-xtoolbox/generate-input.h-labels.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolbox/generate-input.h-labels.py b/toolbox/generate-input.h-labels.py
index 4d79043..ebb9588 100755
--- a/toolbox/generate-input.h-labels.py
+++ b/toolbox/generate-input.h-labels.py
@@ -36,7 +36,7 @@ ff_list = []
r = re.compile(r'#define\s+(\S+)\s+((?:0x)?\d+)')
-with open(os.environ['ANDROID_BUILD_TOP'] + '/bionic/libc/kernel/uapi/linux/input.h', 'r') as f:
+with open('bionic/libc/kernel/uapi/linux/input.h', 'r') as f:
for line in f:
m = r.match(line)
if m: