1 # Copyright (c) 2009 Google Inc. 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 { 6 'targets': [ 7 { 8 'target_name': 'defines', 9 'type': 'executable', 10 'sources': [ 11 'defines.c', 12 ], 13 'defines': [ 14 'FOO', 15 'VALUE=1', 16 'PAREN_VALUE=(1+2+3)', 17 'HASH_VALUE="a#1"', 18 ], 19 }, 20 ], 21 'conditions': [ 22 ['OS=="fakeos"', { 23 'targets': [ 24 { 25 'target_name': 'fakeosprogram', 26 'type': 'executable', 27 'sources': [ 28 'defines.c', 29 ], 30 'defines': [ 31 'FOO', 32 'VALUE=1', 33 ], 34 }, 35 ], 36 }], 37 ], 38 } 39