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

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

Issue 1352313002: GN: Harmonize ARM compiler settings with GYP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/compiler/BUILD.gn ('k') | 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 import("//build/config/chrome_build.gni") 8 import("//build/config/chrome_build.gni")
9 9
10 declare_args() { 10 declare_args() {
(...skipping 27 matching lines...) Expand all
38 if (current_cpu == "x64") { 38 if (current_cpu == "x64") {
39 sysroot = rebase_path("//build/linux/debian_wheezy_amd64-sysroot") 39 sysroot = rebase_path("//build/linux/debian_wheezy_amd64-sysroot")
40 } else if (current_cpu == "x86") { 40 } else if (current_cpu == "x86") {
41 sysroot = rebase_path("//build/linux/debian_wheezy_i386-sysroot") 41 sysroot = rebase_path("//build/linux/debian_wheezy_i386-sysroot")
42 } else { 42 } else {
43 # Any other builds don't use a sysroot. 43 # Any other builds don't use a sysroot.
44 sysroot = "" 44 sysroot = ""
45 } 45 }
46 } else if (is_linux && !is_chromeos) { 46 } else if (is_linux && !is_chromeos) {
47 if (current_cpu == "mipsel") { 47 if (current_cpu == "mipsel") {
48 sysroot = rebase_path("//mipsel-sysroot/sysroot") 48 sysroot = rebase_path("//mipsel-sysroot/sysroot")
Sam Clegg 2015/09/19 08:40:06 Looks like the mips path is out-of-date too, but m
49 } else if (current_cpu == "arm") {
50 sysroot = rebase_path("//build/linux/debian_wheezy_arm-sysroot")
49 } else { 51 } else {
50 sysroot = "" 52 sysroot = ""
51 } 53 }
52 } else if (is_mac) { 54 } else if (is_mac) {
53 import("//build/config/mac/mac_sdk.gni") 55 import("//build/config/mac/mac_sdk.gni")
54 56
55 sysroot = mac_sdk_path 57 sysroot = mac_sdk_path
56 } else if (is_ios) { 58 } else if (is_ios) {
57 import("//build/config/ios/ios_sdk.gni") 59 import("//build/config/ios/ios_sdk.gni")
58 sysroot = ios_sdk_path 60 sysroot = ios_sdk_path
59 } else { 61 } else {
60 sysroot = "" 62 sysroot = ""
61 } 63 }
OLDNEW
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | build/toolchain/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698