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

Side by Side Diff: test/conditions/elseif/elseif_bad3.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_bad2.gyp ('k') | test/conditions/elseif/elseif_conditions.gypi » ('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 there are unexpected trailing items in a condition.
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' {
16 }, 'test_var==1', {
17 }, {
18 }, 'test_var==2', {
19 }],
20 ],
21 },
22 ],
23 }
OLDNEW
« no previous file with comments | « test/conditions/elseif/elseif_bad2.gyp ('k') | test/conditions/elseif/elseif_conditions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698