Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: build/config/sysroot.gni

Issue 2858623002: Remove MIPS support (Closed)
Patch Set: Merge and cleanup Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/mips.gni ('k') | build/toolchain/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 # This header file defines the "sysroot" variable which is the absolute path 5 # This header file defines the "sysroot" variable which is the absolute path
6 # of the sysroot. If no sysroot applies, the variable will be an empty string. 6 # of the sysroot. If no sysroot applies, the variable will be an empty string.
7 7
8 declare_args() { 8 declare_args() {
9 # The absolute path of the sysroot that is applied when compiling using 9 # The absolute path of the sysroot that is applied when compiling using
10 # the target toolchain. 10 # the target toolchain.
(...skipping 15 matching lines...) Expand all
26 } 26 }
27 27
28 if (current_toolchain == default_toolchain && target_sysroot != "") { 28 if (current_toolchain == default_toolchain && target_sysroot != "") {
29 sysroot = target_sysroot 29 sysroot = target_sysroot
30 } else if (is_android) { 30 } else if (is_android) {
31 import("//build/config/android/config.gni") 31 import("//build/config/android/config.gni")
32 if (current_cpu == "x86") { 32 if (current_cpu == "x86") {
33 sysroot = rebase_path("$android_ndk_root/$x86_android_sysroot_subdir") 33 sysroot = rebase_path("$android_ndk_root/$x86_android_sysroot_subdir")
34 } else if (current_cpu == "arm") { 34 } else if (current_cpu == "arm") {
35 sysroot = rebase_path("$android_ndk_root/$arm_android_sysroot_subdir") 35 sysroot = rebase_path("$android_ndk_root/$arm_android_sysroot_subdir")
36 } else if (current_cpu == "mipsel") {
37 sysroot = rebase_path("$android_ndk_root/$mips_android_sysroot_subdir")
38 } else if (current_cpu == "x64") { 36 } else if (current_cpu == "x64") {
39 sysroot = rebase_path("$android_ndk_root/$x86_64_android_sysroot_subdir") 37 sysroot = rebase_path("$android_ndk_root/$x86_64_android_sysroot_subdir")
40 } else if (current_cpu == "arm64") { 38 } else if (current_cpu == "arm64") {
41 sysroot = rebase_path("$android_ndk_root/$arm64_android_sysroot_subdir") 39 sysroot = rebase_path("$android_ndk_root/$arm64_android_sysroot_subdir")
42 } else if (current_cpu == "mips64") {
43 sysroot = rebase_path("$android_ndk_root/$mips64_android_sysroot_subdir")
44 } else { 40 } else {
45 sysroot = "" 41 sysroot = ""
46 } 42 }
47 } else if (is_mac) { 43 } else if (is_mac) {
48 import("//build/config/mac/mac_sdk.gni") 44 import("//build/config/mac/mac_sdk.gni")
49 sysroot = mac_sdk_path 45 sysroot = mac_sdk_path
50 } else { 46 } else {
51 sysroot = "" 47 sysroot = ""
52 } 48 }
OLDNEW
« no previous file with comments | « build/config/mips.gni ('k') | build/toolchain/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698