summaryrefslogtreecommitdiffstats
path: root/src/host/BUILD.toolchain.gn.in
blob: 1beb9ee6d896c8bc56e19adfea448b89cef677d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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@
    is_mingw = @GN_IS_MINGW@
    use_gold = false
  }
}