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

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

Issue 143963006: [MIPS] Set make_global_settings correctly for MIPS-Linux (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Style change. Created 6 years, 11 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 | « no previous file | build/toolchain/linux/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 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
10 if (!is_android_webview_build) { 10 if (!is_android_webview_build) {
(...skipping 15 matching lines...) Expand all
26 if (cpu_arch == "x64") { 26 if (cpu_arch == "x64") {
27 sysroot = rebase_path( 27 sysroot = rebase_path(
28 "//chrome/installer/linux/debian_wheezy_amd64-sysroot", ".", "") 28 "//chrome/installer/linux/debian_wheezy_amd64-sysroot", ".", "")
29 } else if (cpu_arch == "x86") { 29 } else if (cpu_arch == "x86") {
30 sysroot = rebase_path( 30 sysroot = rebase_path(
31 "//chrome/installer/linux/debian_wheezy_i386-sysroot", ".", "") 31 "//chrome/installer/linux/debian_wheezy_i386-sysroot", ".", "")
32 } else { 32 } else {
33 # Any other builds don't use a sysroot. 33 # Any other builds don't use a sysroot.
34 sysroot = "" 34 sysroot = ""
35 } 35 }
36 } else if (is_linux && !is_chromeos) {
37 if (cpu_arch == "mipsel") {
38 sysroot = rebase_path("//mipsel-sysroot/sysroot", ".", "")
39 } else {
40 sysroot = ""
41 }
36 } else if (is_mac) { 42 } else if (is_mac) {
37 import("//build/config/mac/mac_sdk.gni") 43 import("//build/config/mac/mac_sdk.gni")
38 44
39 sysroot = mac_sdk_path 45 sysroot = mac_sdk_path
40 } else { 46 } else {
41 sysroot = "" 47 sysroot = ""
42 } 48 }
OLDNEW
« no previous file with comments | « no previous file | build/toolchain/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698