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

Side by Side Diff: test/conditions/elseif/elseif_bad2.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_bad1.gyp ('k') | test/conditions/elseif/elseif_bad3.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, even if the
6 # conditions are not actually evaluated.
7
8 {
9 'targets': [
10 {
11 'variables': { 'test_var': 0 },
12 'target_name': 'program',
13 'type': 'executable',
14 'sources': [ 'program.cc' ],
15 'conditions': [
16 ['test_var==0', {
17 }, 'test_var==1', 'test_var==2', {
18 }],
19 ],
20 },
21 ],
22 }
OLDNEW
« no previous file with comments | « test/conditions/elseif/elseif_bad1.gyp ('k') | test/conditions/elseif/elseif_bad3.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698