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

Side by Side Diff: test/conditions/elseif/elseif_bad1.gyp

Issue 601353002: Add support for "else if" in gyp conditions (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Better tests Created 6 years, 1 month 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/conditions/elseif/elseif.gyp ('k') | test/conditions/elseif/elseif_bad2.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2014 The Chromium Authors. 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 # Trigger an error because of two consecutive string conditions.
6
7 {
8 'targets': [
9 {
10 'variables': { 'test_var': 0 },
11 'target_name': 'program',
12 'type': 'executable',
13 'sources': [ 'program.cc' ],
14 'conditions': [
15 ['test_var==0', 'test_var==1', {
16 }],
17 ],
18 },
19 ],
20 }
OLDNEW
« no previous file with comments | « test/conditions/elseif/elseif.gyp ('k') | test/conditions/elseif/elseif_bad2.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698