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"'], }], ], }