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/gcc_toolchain.gni") | 6 import("//build/toolchain/gcc_toolchain.gni") |
7 | 7 |
8 # The Android GCC toolchains share most of the same parameters, so we have this | 8 # The Android GCC toolchains share most of the same parameters, so we have this |
9 # wrapper around gcc_toolchain to avoid duplication of logic. | 9 # wrapper around gcc_toolchain to avoid duplication of logic. |
10 # | 10 # |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 android_ndk_sysroot = "$android_ndk_root/$arm64_android_sysroot_subdir" | 103 android_ndk_sysroot = "$android_ndk_root/$arm64_android_sysroot_subdir" |
104 android_ndk_lib_dir = "usr/lib" | 104 android_ndk_lib_dir = "usr/lib" |
105 | 105 |
106 toolchain_cpu = "aarch64" | 106 toolchain_cpu = "aarch64" |
107 } | 107 } |
108 | 108 |
109 android_gcc_toolchains_helper("mips64el") { | 109 android_gcc_toolchains_helper("mips64el") { |
110 android_ndk_sysroot = "$android_ndk_root/$mips64_android_sysroot_subdir" | 110 android_ndk_sysroot = "$android_ndk_root/$mips64_android_sysroot_subdir" |
111 android_ndk_lib_dir = "usr/lib64" | 111 android_ndk_lib_dir = "usr/lib64" |
112 | 112 |
113 toolchain_cpu = "mipsel64el" | 113 toolchain_cpu = "mips64el" |
114 } | 114 } |
OLD | NEW |