$ANDROID_BUILD_TOP isn't set for continuous builds.
Instead, take advantage of the fact that we'll be run from the root of the tree. Change-Id: I5ce6d1c9ae8d478748ab90c9d3cc8e665ae5859b
This commit is contained in:
parent
09b66b93f1
commit
608fb70dd8
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue