Index: test/ninja/use-console/use-console.gyp |
diff --git a/test/ninja/use-console/use-console.gyp b/test/ninja/use-console/use-console.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..84e63184c675d731796e3d44fcaf3d84383f362b |
--- /dev/null |
+++ b/test/ninja/use-console/use-console.gyp |
@@ -0,0 +1,60 @@ |
+# Copyright (c) 2014 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': 'no_pool', |
+ 'type': 'none', |
+ 'actions': [ |
+ { |
+ 'action_name': 'some_action', |
+ 'action': ['echo', 'hello'], |
+ 'inputs': ['foo.bar'], |
+ 'outputs': ['dummy'], |
+ }, |
+ ], |
+ 'rules': [ |
+ { |
+ 'rule_name': 'some_rule', |
+ 'extension': 'bar', |
+ 'action': ['echo', 'hello'], |
+ 'outputs': ['dummy'], |
+ }, |
+ ], |
+ 'sources': [ |
+ 'foo.bar', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'action_pool', |
+ 'type': 'none', |
+ 'actions': [ |
+ { |
+ 'action_name': 'some_action', |
+ 'action': ['echo', 'hello'], |
+ 'inputs': ['foo.bar'], |
+ 'outputs': ['dummy'], |
+ 'ninja_use_console': 1, |
+ }, |
+ ], |
+ }, |
+ { |
+ 'target_name': 'rule_pool', |
+ 'type': 'none', |
+ 'rules': [ |
+ { |
+ 'rule_name': 'some_rule', |
+ 'extension': 'bar', |
+ 'action': ['echo', 'hello'], |
+ 'outputs': ['dummy'], |
+ 'ninja_use_console': 1, |
+ }, |
+ ], |
+ 'sources': [ |
+ 'foo.bar', |
+ ], |
+ }, |
+ ], |
+} |