Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: test/defines/defines.gyp

Issue 10332236: make: Support '#' characters in defines. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « test/defines/defines.c ('k') | test/defines/gyptest-defines.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 ], 18 ],
18 }, 19 },
19 ], 20 ],
20 'conditions': [ 21 'conditions': [
21 ['OS=="fakeos"', { 22 ['OS=="fakeos"', {
22 'targets': [ 23 'targets': [
23 { 24 {
24 'target_name': 'fakeosprogram', 25 'target_name': 'fakeosprogram',
25 'type': 'executable', 26 'type': 'executable',
26 'sources': [ 27 'sources': [
27 'defines.c', 28 'defines.c',
28 ], 29 ],
29 'defines': [ 30 'defines': [
30 'FOO', 31 'FOO',
31 'VALUE=1', 32 'VALUE=1',
32 ], 33 ],
33 }, 34 },
34 ], 35 ],
35 }], 36 }],
36 ], 37 ],
37 } 38 }
OLDNEW
« no previous file with comments | « test/defines/defines.c ('k') | test/defines/gyptest-defines.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698