Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 608fb70d authored by Elliott Hughes's avatar Elliott Hughes
Browse files

$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
parent 09b66b93
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: