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 } 35