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

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

Issue 2645523003: Build ozone/linux_os with jessie sysroot when use_ozone=true (Closed)
Patch Set: excluding chromecast builds Created 3 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 | no next file » | 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 if (is_chromeos) { 50 if (is_chromeos) {
51 # Regular ChromeOS builds use custom sysroots, but desktop ChromeOS (where 51 # Regular ChromeOS builds use custom sysroots, but desktop ChromeOS (where
52 # we're building linux desktop binaries but using the ChromeOS UI and 52 # we're building linux desktop binaries but using the ChromeOS UI and
53 # functionality where possible) needs to run on the buliders, which are 53 # functionality where possible) needs to run on the buliders, which are
54 # running precise. The precise build has a different set of dependencies 54 # running precise. The precise build has a different set of dependencies
55 # from the wheezy build, so we cannot use the wheezy sysroot. 55 # from the wheezy build, so we cannot use the wheezy sysroot.
56 sysroot = "//build/linux/ubuntu_precise_amd64-sysroot" 56 sysroot = "//build/linux/ubuntu_precise_amd64-sysroot"
57 } else { 57 } else {
58 if (current_cpu == "x64") { 58 if (current_cpu == "x64") {
59 sysroot = "//build/linux/debian_wheezy_amd64-sysroot" 59 sysroot = "//build/linux/debian_wheezy_amd64-sysroot"
60
61 # TODO(tonikitoo): Remove the whole if clause below when debian/wheezy
62 # sysroots are switched to debian/jessie, crbug.com/564904.
63 import("//build_overrides/build.gni")
64 if (build_with_chromium) {
65 import("//ui/ozone/ozone.gni")
66 if (use_ozone && !is_chromecast) {
67 sysroot = "//build/linux/debian_jessie_amd64-sysroot"
68 }
69 }
60 } else if (current_cpu == "x86") { 70 } else if (current_cpu == "x86") {
61 sysroot = "//build/linux/debian_wheezy_i386-sysroot" 71 sysroot = "//build/linux/debian_wheezy_i386-sysroot"
62 } else if (current_cpu == "mipsel") { 72 } else if (current_cpu == "mipsel") {
63 sysroot = "//build/linux/debian_wheezy_mips-sysroot" 73 sysroot = "//build/linux/debian_wheezy_mips-sysroot"
64 } else if (current_cpu == "arm") { 74 } else if (current_cpu == "arm") {
65 sysroot = "//build/linux/debian_wheezy_arm-sysroot" 75 sysroot = "//build/linux/debian_wheezy_arm-sysroot"
66 } else if (current_cpu == "arm64") { 76 } else if (current_cpu == "arm64") {
67 sysroot = "//build/linux/debian_jessie_arm64-sysroot" 77 sysroot = "//build/linux/debian_jessie_arm64-sysroot"
68 } else { 78 } else {
69 # Any other builds don't use a sysroot. 79 # Any other builds don't use a sysroot.
(...skipping 22 matching lines...) Expand all
92 } 102 }
93 } else if (is_mac) { 103 } else if (is_mac) {
94 import("//build/config/mac/mac_sdk.gni") 104 import("//build/config/mac/mac_sdk.gni")
95 sysroot = mac_sdk_path 105 sysroot = mac_sdk_path
96 } else if (is_ios) { 106 } else if (is_ios) {
97 import("//build/config/ios/ios_sdk.gni") 107 import("//build/config/ios/ios_sdk.gni")
98 sysroot = ios_sdk_path 108 sysroot = ios_sdk_path
99 } else { 109 } else {
100 sysroot = "" 110 sysroot = ""
101 } 111 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698