summaryrefslogtreecommitdiffstats
path: root/src/host/BUILD.toolchain.gn.in
blob: df62aa88e86086a25388b8484b0ca82a6b6ff891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import("//build/config/sysroot.gni")
import("//build/toolchain/gcc_toolchain.gni")
gcc_toolchain("@GN_TOOLCHAIN@") {
  cc = "@CMAKE_C_COMPILER@"
  cxx = "@CMAKE_CXX_COMPILER@"
  ld = "@CMAKE_CXX_COMPILER@"
  ar = "@CMAKE_AR@"
  nm = "@CMAKE_NM@"
  extra_cppflags = ""
  toolchain_args = {
    current_os = "@GN_OS@"
    current_cpu = "@GN_CPU@"
    v8_current_cpu = "@GN_V8_CPU@"
    is_clang = @GN_IS_CLANG@
    use_gold = false
  }
}