OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/sysroot.gni") # Imports android/config.gni. | 5 import("//build/config/sysroot.gni") # Imports android/config.gni. |
6 import("//build/toolchain/ccache.gni") | 6 import("//build/toolchain/ccache.gni") |
7 import("//build/toolchain/clang.gni") | 7 import("//build/toolchain/clang.gni") |
8 import("//build/toolchain/goma.gni") | 8 import("//build/toolchain/goma.gni") |
9 import("//build/toolchain/gcc_toolchain.gni") | 9 import("//build/toolchain/gcc_toolchain.gni") |
10 | 10 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 android_ndk_lib_dir = "usr/lib64" | 135 android_ndk_lib_dir = "usr/lib64" |
136 | 136 |
137 tool_prefix = "$x86_64_android_toolchain_root/bin/x86_64-linux-android-" | 137 tool_prefix = "$x86_64_android_toolchain_root/bin/x86_64-linux-android-" |
138 toolchain_cpu = "x86_64" | 138 toolchain_cpu = "x86_64" |
139 } | 139 } |
140 | 140 |
141 android_gcc_toolchains_helper("arm64") { | 141 android_gcc_toolchains_helper("arm64") { |
142 android_ndk_sysroot = "$android_ndk_root/$arm64_android_sysroot_subdir" | 142 android_ndk_sysroot = "$android_ndk_root/$arm64_android_sysroot_subdir" |
143 android_ndk_lib_dir = "usr/lib" | 143 android_ndk_lib_dir = "usr/lib" |
144 | 144 |
145 tool_prefix = "$arm64_android_toolchain_root/bin/arm-linux-androideabi-" | 145 tool_prefix = "$arm64_android_toolchain_root/bin/aarch64-linux-android-" |
146 toolchain_cpu = "aarch64" | 146 toolchain_cpu = "aarch64" |
147 } | 147 } |
148 | 148 |
149 android_gcc_toolchains_helper("mips64el") { | 149 android_gcc_toolchains_helper("mips64el") { |
150 android_ndk_sysroot = "$android_ndk_root/$mips64_android_sysroot_subdir" | 150 android_ndk_sysroot = "$android_ndk_root/$mips64_android_sysroot_subdir" |
151 android_ndk_lib_dir = "usr/lib64" | 151 android_ndk_lib_dir = "usr/lib64" |
152 | 152 |
153 tool_prefix = "$mips64_android_toolchain_root/bin/mipsel-linux-android-" | 153 tool_prefix = "$mips64_android_toolchain_root/bin/mipsel-linux-android-" |
154 toolchain_cpu = "mipsel64el" | 154 toolchain_cpu = "mipsel64el" |
155 } | 155 } |
OLD | NEW |