1
# Copyright (c) 2009 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.
5
# This is a simple test file to make sure that variable substitution
6
# happens correctly. Run "run_tests.py" using python to generate the
7
# output from this gyp file.
11
'pi': 'import math; print math.pi',
12
'third_letters': "<(other_letters)HIJK",
13
'letters_list': 'ABCD',
14
'other_letters': '<(letters_list)EFG',
15
'check_included': '<(included_variable)',
17
'<(included_variable)',
32
'negative_int': '-15',
43
'var1': '<!(["python", "-c", "<(pi)"])',
44
'var2': '<!(python -c "print \'<!(python -c "<(pi)") <(letters_list)\'")',
45
'var3': '<!(python -c "print \'<(letters_list)\'")',
46
'var4': '<(<!(python -c "print \'letters_list\'"))',
49
'var7': '<(check_int)',
50
'var8': '<(check_int)blah',
51
'var9': '<(check_str_int)',
52
'var10': '<(check_list_int)',
53
'var11': ['<@(check_list_int)'],
54
'var12': '<(not_int_1)',
55
'var13': '<(not_int_2)',
56
'var14': '<(not_int_3)',
57
'var15': '<(not_int_4)',
58
'var16': '<(not_int_5)',
59
'var17': '<(negative_int)',
60
'var18': '<(zero_int)',
64
'action_name': 'test_action',
66
'var7': '<!(echo <(var5)<(var6))',