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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 } | 125 } |
126 | 126 |
127 android_gcc_toolchains_helper("arm") { | 127 android_gcc_toolchains_helper("arm") { |
128 android_ndk_sysroot = "$android_ndk_root/$arm_android_sysroot_subdir" | 128 android_ndk_sysroot = "$android_ndk_root/$arm_android_sysroot_subdir" |
129 android_ndk_lib_dir = "usr/lib" | 129 android_ndk_lib_dir = "usr/lib" |
130 | 130 |
131 tool_prefix = "$arm_android_toolchain_root/bin/arm-linux-androideabi-" | 131 tool_prefix = "$arm_android_toolchain_root/bin/arm-linux-androideabi-" |
132 toolchain_cpu = "arm" | 132 toolchain_cpu = "arm" |
133 } | 133 } |
134 | 134 |
135 android_gcc_toolchains_helper("mipsel") { | |
136 android_ndk_sysroot = "$android_ndk_root/$mips_android_sysroot_subdir" | |
137 android_ndk_lib_dir = "usr/lib" | |
138 | |
139 tool_prefix = "$mips_android_toolchain_root/bin/mipsel-linux-android-" | |
140 toolchain_cpu = "mipsel" | |
141 } | |
142 | |
143 android_gcc_toolchains_helper("x64") { | 135 android_gcc_toolchains_helper("x64") { |
144 android_ndk_sysroot = "$android_ndk_root/$x86_64_android_sysroot_subdir" | 136 android_ndk_sysroot = "$android_ndk_root/$x86_64_android_sysroot_subdir" |
145 android_ndk_lib_dir = "usr/lib64" | 137 android_ndk_lib_dir = "usr/lib64" |
146 | 138 |
147 tool_prefix = "$x86_64_android_toolchain_root/bin/x86_64-linux-android-" | 139 tool_prefix = "$x86_64_android_toolchain_root/bin/x86_64-linux-android-" |
148 toolchain_cpu = "x86_64" | 140 toolchain_cpu = "x86_64" |
149 } | 141 } |
150 | 142 |
151 android_gcc_toolchains_helper("arm64") { | 143 android_gcc_toolchains_helper("arm64") { |
152 android_ndk_sysroot = "$android_ndk_root/$arm64_android_sysroot_subdir" | 144 android_ndk_sysroot = "$android_ndk_root/$arm64_android_sysroot_subdir" |
153 android_ndk_lib_dir = "usr/lib" | 145 android_ndk_lib_dir = "usr/lib" |
154 | 146 |
155 tool_prefix = "$arm64_android_toolchain_root/bin/aarch64-linux-android-" | 147 tool_prefix = "$arm64_android_toolchain_root/bin/aarch64-linux-android-" |
156 toolchain_cpu = "aarch64" | 148 toolchain_cpu = "aarch64" |
157 } | 149 } |
158 | |
159 android_gcc_toolchains_helper("mips64el") { | |
160 android_ndk_sysroot = "$android_ndk_root/$mips64_android_sysroot_subdir" | |
161 android_ndk_lib_dir = "usr/lib64" | |
162 | |
163 tool_prefix = "$mips64_android_toolchain_root/bin/mipsel-linux-android-" | |
164 toolchain_cpu = "mipsel64el" | |
165 } | |
OLD | NEW |