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

Commit 655c542d authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by Chih-hung Hsieh
Browse files

Find target keywords in the first 100 lines.

Bug: 62416199
Test: warn.py build.log
Change-Id: I8c5ef310758fdd44519aeb1efe2f0bd92fe1ac87
parent 1923ed7f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2427,7 +2427,7 @@ def parse_input_file(infile):
    if warning_pattern.match(line):
      line = normalize_warning_line(line)
      warning_lines.add(line)
    elif line_counter < 50:
    elif line_counter < 100:
      # save a little bit of time by only doing this for the first few lines
      line_counter += 1
      m = re.search('(?<=^PLATFORM_VERSION=).*', line)