OLD | NEW |
1 # Copyright (c) 2009 Google Inc. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'defines', | 8 'target_name': 'defines', |
9 'type': 'executable', | 9 'type': 'executable', |
10 'sources': [ | 10 'sources': [ |
11 'defines.c', | 11 'defines.c', |
12 ], | 12 ], |
13 'defines': [ | 13 'defines': [ |
14 'FOO', | 14 'FOO', |
15 'VALUE=1', | 15 'VALUE=1', |
16 'PAREN_VALUE=(1+2+3)', | 16 'PAREN_VALUE=(1+2+3)', |
17 'HASH_VALUE="a#b"', | 17 'HASH_VALUE="a#1"', |
18 ], | 18 ], |
19 }, | 19 }, |
20 ], | 20 ], |
21 'conditions': [ | 21 'conditions': [ |
22 ['OS=="fakeos"', { | 22 ['OS=="fakeos"', { |
23 'targets': [ | 23 'targets': [ |
24 { | 24 { |
25 'target_name': 'fakeosprogram', | 25 'target_name': 'fakeosprogram', |
26 'type': 'executable', | 26 'type': 'executable', |
27 'sources': [ | 27 'sources': [ |
28 'defines.c', | 28 'defines.c', |
29 ], | 29 ], |
30 'defines': [ | 30 'defines': [ |
31 'FOO', | 31 'FOO', |
32 'VALUE=1', | 32 'VALUE=1', |
33 ], | 33 ], |
34 }, | 34 }, |
35 ], | 35 ], |
36 }], | 36 }], |
37 ], | 37 ], |
38 } | 38 } |
OLD | NEW |