OLD | NEW |
---|---|
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 Loading... | |
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 } |
OLD | NEW |