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

Side by Side Diff: test/compiler-override/compiler-global-settings.gyp.in

Issue 10833021: Honor $CC/$CC_host and friends in make generator. (Closed) Base URL: http://git.chromium.org/external/gyp.git@master
Patch Set: Remove msvs_emulation.py changes 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
« no previous file with comments | « test/compiler-override/compiler.gyp ('k') | test/compiler-override/compiler-host.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 Google Inc. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 # PYTHON and PWD are replaced by the test code before this
7 # gyp file runs
8 'make_global_settings': [
9 ['CC', r'$PYTHON $PWD/my_cc.py FOO'],
10 ['CXX', r'$PYTHON $PWD/my_cxx.py FOO'],
11 ['CC.host', r'$PYTHON $PWD/my_cc.py BAR'],
12 ['CXX.host', r'$PYTHON $PWD/my_cxx.py BAR'],
13
14 ['LD', r'$PYTHON $PWD/my_ld.py FOO_LINK'],
15 ['LD.host', r'$PYTHON $PWD/my_ld.py BAR_LINK'],
16 ['LINK', r'$PYTHON $PWD/my_ld.py FOO_LINK'],
17 ['LINK.host', r'$PYTHON $PWD/my_ld.py BAR_LINK'],
18 ],
19
20 # The above global settings should mean that
21 # that these targets are built using the fake
22 # toolchain above.
23 'targets': [
24 {
25 'toolset': '$TOOLSET',
26 'target_name': 'hello',
27 'type': 'executable',
28 'sources': [
29 'test.c',
30 'cxxtest.cc',
31 ],
32 },
33 ],
34 }
OLDNEW
« no previous file with comments | « test/compiler-override/compiler.gyp ('k') | test/compiler-override/compiler-host.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698