diff options
author | 2022-06-24 16:40:11 -0400 | |
---|---|---|
committer | 2022-06-28 01:33:18 +0000 | |
commit | f192474a600788031d7d1aebb96041d1ecb8cbe6 (patch) | |
tree | 17b92ad410adc7e64a81fb49710e44f0ee4fa210 /java/systemserver_classpath_fragment.go | |
parent | 2ff57f9d00b4e34ba488e3216496a8429d7384a5 (diff) |
Replace API level codename with number
This CL fixes a bug when Soong pass `-target` with a non-digit suffix in Clang. As mentioned in b/236753843, Clang's version parsing expects to see an integer in the target string so it ignores the
S suffix.
Test: m gwp_asan_crash_handler && make sure -target is aarch64-linux-androidS instead of aarch64-linux-android31
Test: go test -run ^TestNonDigitMinSdkVersionInClangTriple$ android/soong/cc
Bug: 236753843
Change-Id: I258ecc52083dbf3471d23cf310e0ad54440f1908
Diffstat (limited to 'java/systemserver_classpath_fragment.go')
0 files changed, 0 insertions, 0 deletions