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

Side by Side Diff: build/common.gypi

Issue 10834296: Second attempt at fixing Ninja build for Android and change make for host os optionally use goma (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: simplify changes to just build/common.gyip Created 8 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 3312 matching lines...) Expand 10 before | Expand all | Expand 10 after
3323 ['clang==1', { 3323 ['clang==1', {
3324 'make_global_settings': [ 3324 'make_global_settings': [
3325 ['CC', '<(make_clang_dir)/bin/clang'], 3325 ['CC', '<(make_clang_dir)/bin/clang'],
3326 ['CXX', '<(make_clang_dir)/bin/clang++'], 3326 ['CXX', '<(make_clang_dir)/bin/clang++'],
3327 ['LINK', '$(CXX)'], 3327 ['LINK', '$(CXX)'],
3328 ['CC.host', '$(CC)'], 3328 ['CC.host', '$(CC)'],
3329 ['CXX.host', '$(CXX)'], 3329 ['CXX.host', '$(CXX)'],
3330 ['LINK.host', '$(LINK)'], 3330 ['LINK.host', '$(LINK)'],
3331 ], 3331 ],
3332 }], 3332 }],
3333 ['OS=="android" and clang==0 and "<(GENERATOR)"!="ninja"', { 3333 ['OS=="android" and clang==0', {
3334 # Hardcode the compiler names in the Makefile so that 3334 # Hardcode the compiler names in the Makefile so that
3335 # it won't depend on the environment at make time. 3335 # it won't depend on the environment at make time.
3336 'make_global_settings': [ 3336 'make_global_settings': [
3337 ['CC', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*-g cc)'], 3337 ['CC', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*-g cc)'],
3338 ['CXX', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*- g++)'], 3338 ['CXX', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*- g++)'],
3339 ['LINK', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/* -gcc)'], 3339 ['LINK', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/* -gcc)'],
3340 ['CC.host', '<!(which gcc)'], 3340 ['CC.host', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <!(which gcc))'],
3341 ['CXX.host', '<!(which g++)'], 3341 ['CXX.host', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <!(which g++))'],
3342 ['LINK.host', '<!(which g++)'], 3342 ['LINK.host', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <!(which g++))'],
3343 ], 3343 ],
3344 }], 3344 }],
3345 ], 3345 ],
3346 'xcode_settings': { 3346 'xcode_settings': {
3347 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! 3347 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT!
3348 # This block adds *project-wide* configuration settings to each project 3348 # This block adds *project-wide* configuration settings to each project
3349 # file. It's almost always wrong to put things here. Specify your 3349 # file. It's almost always wrong to put things here. Specify your
3350 # custom xcode_settings in target_defaults to add them to targets instead. 3350 # custom xcode_settings in target_defaults to add them to targets instead.
3351 3351
3352 'conditions': [ 3352 'conditions': [
(...skipping 29 matching lines...) Expand all
3382 # settings in target dicts. SYMROOT is a special case, because many other 3382 # settings in target dicts. SYMROOT is a special case, because many other
3383 # Xcode variables depend on it, including variables such as 3383 # Xcode variables depend on it, including variables such as
3384 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3384 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3385 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3385 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3386 # files to appear (when present) in the UI as actual files and not red 3386 # files to appear (when present) in the UI as actual files and not red
3387 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3387 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3388 # and therefore SYMROOT, needs to be set at the project level. 3388 # and therefore SYMROOT, needs to be set at the project level.
3389 'SYMROOT': '<(DEPTH)/xcodebuild', 3389 'SYMROOT': '<(DEPTH)/xcodebuild',
3390 }, 3390 },
3391 } 3391 }
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