~hjd/ubuntu/wily/gyp/debian-merged

« back to all changes in this revision

Viewing changes to test/conditions/elseif/elseif_bad3.gyp

  • Committer: Hans Joachim Desserud
  • Date: 2015-10-31 12:46:59 UTC
  • mfrom: (6.2.6 sid)
  • Revision ID: hans_joachim_desserud-20151031124659-lzxekr6woskh4k0b
Merge latest Debian version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 there are unexpected trailing items in a condition.
 
6
 
 
7
{
 
8
  'targets': [
 
9
    {
 
10
      'variables': { 'test_var': 0 },
 
11
      'target_name': 'program',
 
12
      'type': 'executable',
 
13
      'sources': [ 'program.cc' ],
 
14
      'conditions': [
 
15
        ['test_var==0' {
 
16
        }, 'test_var==1', {
 
17
        }, {
 
18
        }, 'test_var==2', {
 
19
        }],
 
20
      ],
 
21
    },
 
22
  ],
 
23
}