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

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

Issue 10408026: Try to fix defines containing '#' characters with cl.exe. (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 | « pylib/gyp/generator/ninja.py ('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 '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 }
OLDNEW
« no previous file with comments | « pylib/gyp/generator/ninja.py ('k') | test/defines/gyptest-defines.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698