OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2014 The Chromium Authors. 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 # Trigger an error because of two consecutive string conditions, even if the |
| 6 # conditions are not actually evaluated. |
| 7 |
| 8 { |
| 9 'targets': [ |
| 10 { |
| 11 'variables': { 'test_var': 0 }, |
| 12 'target_name': 'program', |
| 13 'type': 'executable', |
| 14 'sources': [ 'program.cc' ], |
| 15 'conditions': [ |
| 16 ['test_var==0', { |
| 17 }, 'test_var==1', 'test_var==2', { |
| 18 }], |
| 19 ], |
| 20 }, |
| 21 ], |
| 22 } |
OLD | NEW |