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

Unified Diff: test/conditions/elseif/elseif_conditions.gypi

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/conditions/elseif/elseif_bad3.gyp ('k') | test/conditions/elseif/gyptest_elseif.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/conditions/elseif/elseif_conditions.gypi
diff --git a/test/conditions/elseif/elseif_conditions.gypi b/test/conditions/elseif/elseif_conditions.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..4310ccc0312890c05b7f31f85d83e35f766e8b6f
--- /dev/null
+++ b/test/conditions/elseif/elseif_conditions.gypi
@@ -0,0 +1,15 @@
+{
+ 'conditions': [
+ ['test_var==0', {
+ 'defines': ['FOO="first_if"'],
+ }, 'test_var==1', {
+ 'defines': ['FOO="first_else_if"'],
+ }, 'test_var==2', {
+ 'defines': ['FOO="second_else_if"'],
+ }, 'test_var==3', {
+ 'defines': ['FOO="third_else_if"'],
+ }, {
+ 'defines': ['FOO="last_else"'],
+ }],
+ ],
+}
« no previous file with comments | « test/conditions/elseif/elseif_bad3.gyp ('k') | test/conditions/elseif/gyptest_elseif.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698