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

Side by Side Diff: build/common.gypi

Issue 1473363002: Revert of Use sysroot by default for all linux builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/config/sysroot.gni » ('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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 # Enable HiDPI support. 82 # Enable HiDPI support.
83 'enable_hidpi%': 0, 83 'enable_hidpi%': 0,
84 84
85 # Enable top chrome material design. 85 # Enable top chrome material design.
86 'enable_topchrome_md%' : 0, 86 'enable_topchrome_md%' : 0,
87 87
88 # Enable Wayland display server support. 88 # Enable Wayland display server support.
89 'enable_wayland_server%' : 0, 89 'enable_wayland_server%' : 0,
90 90
91 # By default we build against a stable sysroot image to avoid 91 # Build against pre-built sysroot image on linux. By default
92 # depending on the packages installed on the local machine. Set this 92 # the sysroot image is only used for Official builds or when cross
93 # to 0 to build against locally installed headers and libraries (e.g. 93 # compiling.
94 # if packaging for a linux distro) 94 'use_sysroot%': 0,
95 'use_sysroot%': 1,
96 95
97 # Override buildtype to select the desired build flavor. 96 # Override buildtype to select the desired build flavor.
98 # Dev - everyday build for development/testing 97 # Dev - everyday build for development/testing
99 # Official - release build (generally implies additional processing) 98 # Official - release build (generally implies additional processing)
100 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp 99 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp
101 # conversion is done), some of the things which are now controlled by 100 # conversion is done), some of the things which are now controlled by
102 # 'branding', such as symbol generation, will need to be refactored 101 # 'branding', such as symbol generation, will need to be refactored
103 # based on 'buildtype' (i.e. we don't care about saving symbols for 102 # based on 'buildtype' (i.e. we don't care about saving symbols for
104 # non-Official # builds). 103 # non-Official # builds).
105 'buildtype%': 'Dev', 104 'buildtype%': 'Dev',
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 }, { 287 }, {
289 'mips_arch_variant%': 'r2', 288 'mips_arch_variant%': 'r2',
290 }], 289 }],
291 ], 290 ],
292 }], 291 }],
293 292
294 ['target_arch=="mipsel"', { 293 ['target_arch=="mipsel"', {
295 'mips_arch_variant%': 'r1', 294 'mips_arch_variant%': 'r1',
296 }], 295 }],
297 296
298 # The system root for linux compiles. 297 # The system root for cross-compiles. Default: none.
299 # Not used when chromecast=1 since ozone_platform_gbm doesn't 298 ['OS=="linux" and chromeos==0 and ((branding=="Chrome" and buildtype== "Official") or target_arch=="arm" or target_arch=="mipsel" or use_sysroot==1)', {
300 # currently build against the linux sysroot
301 # TODO(sbc): http://crbug.com/559708
302 ['OS=="linux" and chromeos==0 and chromecast==0 and use_sysroot==1', {
303 # sysroot needs to be an absolute path otherwise it generates 299 # sysroot needs to be an absolute path otherwise it generates
304 # incorrect results when passed to pkg-config 300 # incorrect results when passed to pkg-config
305 'conditions': [ 301 'conditions': [
306 ['target_arch=="arm"', { 302 ['target_arch=="arm"', {
307 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _arm-sysroot', 303 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _arm-sysroot',
308 }], 304 }],
309 ['target_arch=="x64"', { 305 ['target_arch=="x64"', {
310 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _amd64-sysroot', 306 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _amd64-sysroot',
311 }], 307 }],
312 ['target_arch=="ia32"', { 308 ['target_arch=="ia32"', {
(...skipping 6063 matching lines...) Expand 10 before | Expand all | Expand 10 after
6376 # settings in target dicts. SYMROOT is a special case, because many other 6372 # settings in target dicts. SYMROOT is a special case, because many other
6377 # Xcode variables depend on it, including variables such as 6373 # Xcode variables depend on it, including variables such as
6378 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6374 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6379 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6375 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6380 # files to appear (when present) in the UI as actual files and not red 6376 # files to appear (when present) in the UI as actual files and not red
6381 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6377 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6382 # and therefore SYMROOT, needs to be set at the project level. 6378 # and therefore SYMROOT, needs to be set at the project level.
6383 'SYMROOT': '<(DEPTH)/xcodebuild', 6379 'SYMROOT': '<(DEPTH)/xcodebuild',
6384 }, 6380 },
6385 } 6381 }
OLDNEW
« no previous file with comments | « no previous file | build/config/sysroot.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698