Commit f3147526 authored by Ramji Jiyani's avatar Ramji Jiyani Committed by Treehugger Robot
Browse files

ANDROID: GKI: gen_gki_modules_headers update preprocessing



Since we do not enforce symbol lists to be generated using
the ABI tooling; it is possible to have the symbol list
updates with CRLF characters at the end of a line, leading
and trailining white spaces based on how they are manually
edited. The header generation script fails in this case when
it parses these symbols with CRLF or sorting order may not
be correct for symbols with trailing white spaces.

Update the preprocessing of the symbol list to remove any
carriage returns, strip any leading and trailing white spaces
in addition to the other preprocessing.

Bug: 280837072
Test: TH, manual verification
Change-Id: I4b832c28b42f196056c38fc3e2ccd517a03e13fa
Signed-off-by: default avatarRamji Jiyani <ramjiyani@google.com>
(cherry picked from commit 6b893a53)
parent 9bb6bf15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment