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

Unified Diff: test/win/command-quote/command-quote.gyp

Issue 10269018: ninja windows: handle more cases in program quoting (Closed) Base URL: https://gyp.googlecode.com/svn/trunk
Patch Set: additional test, add missing file Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/win/command-quote/bat with spaces.bat ('k') | test/win/command-quote/go.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/win/command-quote/command-quote.gyp
diff --git a/test/win/command-quote/command-quote.gyp b/test/win/command-quote/command-quote.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..2e596dc610db2bf527bb5f2638f0adedd0899366
--- /dev/null
+++ b/test/win/command-quote/command-quote.gyp
@@ -0,0 +1,50 @@
+# Copyright (c) 2012 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'test_batch',
+ 'type': 'none',
+ 'rules': [
+ {
+ 'rule_name': 'build_with_batch',
+ 'msvs_cygwin_shell': 0,
+ 'extension': 'S',
+ 'inputs': ['<(RULE_INPUT_PATH)'],
+ 'outputs': ['output.obj'],
+ 'action': ['call go.bat', '<(RULE_INPUT_PATH)', 'output.obj'],
+ },],
+ 'sources': ['a.S'],
+ },
+ {
+ 'target_name': 'test_call_separate',
+ 'type': 'none',
+ 'rules': [
+ {
+ 'rule_name': 'build_with_batch2',
+ 'msvs_cygwin_shell': 0,
+ 'extension': 'S',
+ 'inputs': ['<(RULE_INPUT_PATH)'],
+ 'outputs': ['output2.obj'],
+ 'action': ['call', 'go.bat', '<(RULE_INPUT_PATH)', 'output2.obj'],
+ },],
+ 'sources': ['a.S'],
+ },
+ {
+ 'target_name': 'test_with_spaces',
+ 'type': 'none',
+ 'rules': [
+ {
+ 'rule_name': 'build_with_batch3',
+ 'msvs_cygwin_shell': 0,
+ 'extension': 'S',
+ 'inputs': ['<(RULE_INPUT_PATH)'],
+ 'outputs': ['output3.obj'],
+ 'action': ['bat with spaces.bat', '<(RULE_INPUT_PATH)', 'output3.obj'],
+ },],
+ 'sources': ['a.S'],
+ },
+ ]
+}
« no previous file with comments | « test/win/command-quote/bat with spaces.bat ('k') | test/win/command-quote/go.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698