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

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

Issue 141433015: GN build fixes, mostly for Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: put back sha1 file 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 | Annotate | Revision Log
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 25 matching lines...) Expand all
36 } else if (is_linux && !is_chromeos) { 36 } else if (is_linux && !is_chromeos) {
37 if (cpu_arch == "mipsel") { 37 if (cpu_arch == "mipsel") {
38 sysroot = rebase_path("//mipsel-sysroot/sysroot", ".", "") 38 sysroot = rebase_path("//mipsel-sysroot/sysroot", ".", "")
39 } else { 39 } else {
40 sysroot = "" 40 sysroot = ""
41 } 41 }
42 } else if (is_mac) { 42 } else if (is_mac) {
43 import("//build/config/mac/mac_sdk.gni") 43 import("//build/config/mac/mac_sdk.gni")
44 44
45 sysroot = mac_sdk_path 45 sysroot = mac_sdk_path
46 } else if (is_ios) {
47 import("//build/config/ios/ios_sdk.gni")
48 sysroot = ios_sdk_path
46 } else { 49 } else {
47 sysroot = "" 50 sysroot = ""
48 } 51 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698