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

Side by Side Diff: build/common.gypi

Issue 1585463002: Use sysroot for chromeos builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 'mips_arch_variant%': 'r2', 296 'mips_arch_variant%': 'r2',
297 }], 297 }],
298 ], 298 ],
299 }], 299 }],
300 300
301 ['target_arch=="mipsel"', { 301 ['target_arch=="mipsel"', {
302 'mips_arch_variant%': 'r1', 302 'mips_arch_variant%': 'r1',
303 }], 303 }],
304 304
305 # The system root for linux builds. 305 # The system root for linux builds.
306 ['OS=="linux" and chromeos==0 and use_sysroot==1', { 306 ['OS=="linux" and use_sysroot==1', {
307 # sysroot needs to be an absolute path otherwise it generates 307 # sysroot needs to be an absolute path otherwise it generates
308 # incorrect results when passed to pkg-config 308 # incorrect results when passed to pkg-config
309 'conditions': [ 309 'conditions': [
310 ['target_arch=="arm"', { 310 ['target_arch=="arm"', {
311 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _arm-sysroot', 311 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _arm-sysroot',
312 }], 312 }],
313 ['target_arch=="x64"', { 313 ['target_arch=="x64"', {
314 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _amd64-sysroot', 314 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _amd64-sysroot',
315 }], 315 }],
316 ['target_arch=="ia32"', { 316 ['target_arch=="ia32"', {
(...skipping 6047 matching lines...) Expand 10 before | Expand all | Expand 10 after
6364 # settings in target dicts. SYMROOT is a special case, because many other 6364 # settings in target dicts. SYMROOT is a special case, because many other
6365 # Xcode variables depend on it, including variables such as 6365 # Xcode variables depend on it, including variables such as
6366 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6366 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6367 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6367 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6368 # files to appear (when present) in the UI as actual files and not red 6368 # files to appear (when present) in the UI as actual files and not red
6369 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6369 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6370 # and therefore SYMROOT, needs to be set at the project level. 6370 # and therefore SYMROOT, needs to be set at the project level.
6371 'SYMROOT': '<(DEPTH)/xcodebuild', 6371 'SYMROOT': '<(DEPTH)/xcodebuild',
6372 }, 6372 },
6373 } 6373 }
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