OLD | NEW |
1 # Copyright (c) 2009 Google Inc. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # This is a simple test file to make sure that variable substitution | 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 | 6 # happens correctly. Run "run_tests.py" using python to generate the |
7 # output from this gyp file. | 7 # output from this gyp file. |
8 | 8 |
9 { | 9 { |
10 'variables': { | 10 'variables': { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 'var9': '<(check_str_int)', | 51 'var9': '<(check_str_int)', |
52 'var10': '<(check_list_int)', | 52 'var10': '<(check_list_int)', |
53 'var11': ['<@(check_list_int)'], | 53 'var11': ['<@(check_list_int)'], |
54 'var12': '<(not_int_1)', | 54 'var12': '<(not_int_1)', |
55 'var13': '<(not_int_2)', | 55 'var13': '<(not_int_2)', |
56 'var14': '<(not_int_3)', | 56 'var14': '<(not_int_3)', |
57 'var15': '<(not_int_4)', | 57 'var15': '<(not_int_4)', |
58 'var16': '<(not_int_5)', | 58 'var16': '<(not_int_5)', |
59 'var17': '<(negative_int)', | 59 'var17': '<(negative_int)', |
60 'var18': '<(zero_int)', | 60 'var18': '<(zero_int)', |
| 61 'var19': ['<!@(python test.py)'], |
| 62 'var20': '<!(python test.py)', |
61 }, | 63 }, |
62 'actions': [ | 64 'actions': [ |
63 { | 65 { |
64 'action_name': 'test_action', | 66 'action_name': 'test_action', |
65 'variables': { | 67 'variables': { |
66 'var7': '<!(echo <(var5)<(var6))', | 68 'var7': '<!(echo <(var5)<(var6))', |
67 }, | 69 }, |
68 'inputs' : [ | 70 'inputs' : [ |
69 '<(var2)', | 71 '<(var2)', |
70 ], | 72 ], |
71 'outputs': [ | 73 'outputs': [ |
72 '<(var4)', | 74 '<(var4)', |
73 '<(var7)', | 75 '<(var7)', |
74 ], | 76 ], |
75 'action': [ | 77 'action': [ |
76 'echo', | 78 'echo', |
77 '<(_inputs)', | 79 '<(_inputs)', |
78 '<(_outputs)', | 80 '<(_outputs)', |
79 ], | 81 ], |
80 }, | 82 }, |
81 ], | 83 ], |
82 }, | 84 }, |
83 ], | 85 ], |
84 } | 86 } |
OLD | NEW |