File: elseif_conditions.gypi

package info (click to toggle)
gyp 0.1%2B20200513gitcaa6002-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 9,236 kB
  • sloc: python: 29,408; ansic: 1,087; cpp: 855; sh: 302; lisp: 258; objc: 234; asm: 33; makefile: 10
file content (15 lines) | stat: -rw-r--r-- 340 bytes parent folder | download | duplicates (46)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  'conditions': [
    ['test_var==0', {
      'defines': ['FOO="first_if"'],
    }, 'test_var==1', {
      'defines': ['FOO="first_else_if"'],
    }, 'test_var==2', {
      'defines': ['FOO="second_else_if"'],
    }, 'test_var==3', {
      'defines': ['FOO="third_else_if"'],
    }, {
      'defines': ['FOO="last_else"'],
    }],
  ],
}