| OLD | NEW |
| (Empty) | |
| 1 # This is a simple test file to make sure that variable substitution |
| 2 # happens correctly. Run "run_tests.py" using python to generate the |
| 3 # output from this gyp file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'pi': 'import math; print math.pi', |
| 8 'letters': 'ABCD', |
| 9 }, |
| 10 'targets': [ |
| 11 { |
| 12 'target_name': 'foo', |
| 13 'type': 'none', |
| 14 'variables': { |
| 15 'var1': '<!(["python", "-c", "<(pi)"])', |
| 16 'var2': '<!(python -c "print \'<!(python -c "<(pi)") <(letters)\'")', |
| 17 'var3': '<!(python -c "print \'<(letters)\'")', |
| 18 'var4': '<(<!(python -c "print \'letters\'"))', |
| 19 }, |
| 20 'actions': [ |
| 21 { |
| 22 'action_name': 'test_action', |
| 23 'inputs' : [ |
| 24 '<(var2)', |
| 25 ], |
| 26 'outputs': [ |
| 27 '<(var4)', |
| 28 ], |
| 29 'action': [ |
| 30 'echo', |
| 31 '<(_inputs)', |
| 32 '<(_outputs)', |
| 33 ], |
| 34 }, |
| 35 ], |
| 36 }, |
| 37 ], |
| 38 } |
| OLD | NEW |