HomePhabricator

[gn build] Fix Android compiler-rt targets

Authored by aeubanks on Nov 10 2021, 12:51 PM.

Description

[gn build] Fix Android compiler-rt targets

If a sysroot was specified, it would take precedence over the Android
NDK sysroot since it would appear after in the command line.

Also only build runtimes for enabled target arches. Many places have
copied this around so create and use supported_android_toolchains.

Reviewed By: pcc

Differential Revision: https://reviews.llvm.org/D113606

Details

Committed
aeubanksNov 11 2021, 6:41 PM
Reviewer
pcc
Differential Revision
D113606: [gn build] Fix Android compiler-rt targets
Parents
rG1a6c26d1f529: Revert "[mlir] Allow out-of-tree python building from installed MLIR."
Branches
Unknown
Tags
Unknown