
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
13 lines
354 B
Plaintext
13 lines
354 B
Plaintext
import("//llvm/lib/Target/targets.gni")
|
|
import("//llvm/utils/gn/build/toolchain/compiler.gni")
|
|
|
|
supported_toolchains = [ "//llvm/utils/gn/build/toolchain:stage2_unix" ] +
|
|
supported_android_toolchains
|
|
|
|
group("libunwind") {
|
|
deps = []
|
|
foreach(toolchain, supported_toolchains) {
|
|
deps += [ "//libunwind/src($toolchain)" ]
|
|
}
|
|
}
|