[all-commits] [llvm/llvm-project] 463ee1: [gn build] Fix Android compiler-rt targets

aeubanks via All-commits all-commits at lists.llvm.org
Thu Nov 11 18:42:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 463ee15e33c0a71c7ab13eef2eb235bcdcd792a5
      https://github.com/llvm/llvm-project/commit/463ee15e33c0a71c7ab13eef2eb235bcdcd792a5
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-11-11 (Thu, 11 Nov 2021)

  Changed paths:
    M llvm/utils/gn/build/BUILD.gn
    M llvm/utils/gn/secondary/compiler-rt/BUILD.gn
    M llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
    M llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
    M llvm/utils/gn/secondary/libunwind/BUILD.gn
    M llvm/utils/gn/secondary/lldb/tools/driver/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/Target/targets.gni

  Log Message:
  -----------
  [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




More information about the All-commits mailing list