michael@0: # Copyright (c) 2009 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: # This is a simple test file to make sure that variable substitution michael@0: # happens correctly. Run "run_tests.py" using python to generate the michael@0: # output from this gyp file. michael@0: michael@0: { michael@0: 'variables': { michael@0: 'pi': 'import math; print math.pi', michael@0: 'third_letters': "<(other_letters)HIJK", michael@0: 'letters_list': 'ABCD', michael@0: 'other_letters': '<(letters_list)EFG', michael@0: 'check_included': '<(included_variable)', michael@0: 'check_lists': [ michael@0: '<(included_variable)', michael@0: '<(third_letters)', michael@0: ], michael@0: 'check_int': 5, michael@0: 'check_str_int': '6', michael@0: 'check_list_int': [ michael@0: 7, michael@0: '8', michael@0: 9, michael@0: ], michael@0: 'not_int_1': ' 10', michael@0: 'not_int_2': '11 ', michael@0: 'not_int_3': '012', michael@0: 'not_int_4': '13.0', michael@0: 'not_int_5': '+14', michael@0: 'negative_int': '-15', michael@0: 'zero_int': '0', michael@0: }, michael@0: 'includes': [ michael@0: 'commands.gypi', michael@0: ], michael@0: 'targets': [ michael@0: { michael@0: 'target_name': 'foo', michael@0: 'type': 'none', michael@0: 'variables': { michael@0: 'var1': '