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

Side by Side Diff: build/common.gypi

Issue 414343003: Set default cross compiler for ARM/linux builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« 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) 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 5578 matching lines...) Expand 10 before | Expand all | Expand 10 after
5589 ], 5589 ],
5590 }], 5590 }],
5591 ['OS=="linux" and target_arch=="mipsel"', { 5591 ['OS=="linux" and target_arch=="mipsel"', {
5592 'make_global_settings': [ 5592 'make_global_settings': [
5593 ['CC', '<(sysroot)/../bin/mipsel-linux-gnu-gcc'], 5593 ['CC', '<(sysroot)/../bin/mipsel-linux-gnu-gcc'],
5594 ['CXX', '<(sysroot)/../bin/mipsel-linux-gnu-g++'], 5594 ['CXX', '<(sysroot)/../bin/mipsel-linux-gnu-g++'],
5595 ['CC.host', '<!(which gcc)'], 5595 ['CC.host', '<!(which gcc)'],
5596 ['CXX.host', '<!(which g++)'], 5596 ['CXX.host', '<!(which g++)'],
5597 ], 5597 ],
5598 }], 5598 }],
5599 ['OS=="linux" and target_arch=="arm" and host_arch!="arm" and chromeos==0 an d clang==0', {
5600 # Set default ARM cross compiling on linux. These can be overridden
5601 # using CC/CXX/etc environment variables.
5602 'make_global_settings': [
5603 ['CC', '<!(which arm-linux-gnueabihf-gcc)'],
5604 ['CXX', '<!(which arm-linux-gnueabihf-g++)'],
5605 ['CC.host', '<!(which gcc)'],
5606 ['CXX.host', '<!(which g++)'],
5607 ],
5608 }],
5599 5609
5600 # TODO(yyanagisawa): supports GENERATOR==make 5610 # TODO(yyanagisawa): supports GENERATOR==make
5601 # make generator doesn't support CC_wrapper without CC 5611 # make generator doesn't support CC_wrapper without CC
5602 # in make_global_settings yet. 5612 # in make_global_settings yet.
5603 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { 5613 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', {
5604 'make_global_settings': [ 5614 'make_global_settings': [
5605 ['CC_wrapper', '<(gomadir)/gomacc'], 5615 ['CC_wrapper', '<(gomadir)/gomacc'],
5606 ['CXX_wrapper', '<(gomadir)/gomacc'], 5616 ['CXX_wrapper', '<(gomadir)/gomacc'],
5607 ['CC.host_wrapper', '<(gomadir)/gomacc'], 5617 ['CC.host_wrapper', '<(gomadir)/gomacc'],
5608 ['CXX.host_wrapper', '<(gomadir)/gomacc'], 5618 ['CXX.host_wrapper', '<(gomadir)/gomacc'],
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
5671 # settings in target dicts. SYMROOT is a special case, because many other 5681 # settings in target dicts. SYMROOT is a special case, because many other
5672 # Xcode variables depend on it, including variables such as 5682 # Xcode variables depend on it, including variables such as
5673 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5683 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5674 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5684 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5675 # files to appear (when present) in the UI as actual files and not red 5685 # files to appear (when present) in the UI as actual files and not red
5676 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5686 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5677 # and therefore SYMROOT, needs to be set at the project level. 5687 # and therefore SYMROOT, needs to be set at the project level.
5678 'SYMROOT': '<(DEPTH)/xcodebuild', 5688 'SYMROOT': '<(DEPTH)/xcodebuild',
5679 }, 5689 },
5680 } 5690 }
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