michael@0: # Copyright (c) 2012 Google Inc. All rights reserved. michael@0: # Use of this source code is governed by a BSD-style license that can be michael@0: # found in the LICENSE file. michael@0: michael@0: { michael@0: # PYTHON and PWD are replaced by the test code before this michael@0: # gyp file runs michael@0: 'make_global_settings': [ michael@0: ['CC', r'$PYTHON $PWD/my_cc.py FOO'], michael@0: ['CXX', r'$PYTHON $PWD/my_cxx.py FOO'], michael@0: ['CC.host', r'$PYTHON $PWD/my_cc.py BAR'], michael@0: ['CXX.host', r'$PYTHON $PWD/my_cxx.py BAR'], michael@0: michael@0: ['LD', r'$PYTHON $PWD/my_ld.py FOO_LINK'], michael@0: ['LD.host', r'$PYTHON $PWD/my_ld.py BAR_LINK'], michael@0: ['LINK', r'$PYTHON $PWD/my_ld.py FOO_LINK'], michael@0: ['LINK.host', r'$PYTHON $PWD/my_ld.py BAR_LINK'], michael@0: ], michael@0: michael@0: # The above global settings should mean that michael@0: # that these targets are built using the fake michael@0: # toolchain above. michael@0: 'targets': [ michael@0: { michael@0: 'toolset': '$TOOLSET', michael@0: 'target_name': 'hello', michael@0: 'type': 'executable', michael@0: 'sources': [ michael@0: 'test.c', michael@0: 'cxxtest.cc', michael@0: ], michael@0: }, michael@0: ], michael@0: }