Index: test/determinism/needed-variables.gyp |
diff --git a/test/rules/src/input-root.gyp b/test/determinism/needed-variables.gyp |
similarity index 56% |
copy from test/rules/src/input-root.gyp |
copy to test/determinism/needed-variables.gyp |
index b6600e767c8ead8db822da0561f1ef5f5bd53fc8..022165bebd4e5e6f9b720159163b3428860f6876 100644 |
--- a/test/rules/src/input-root.gyp |
+++ b/test/determinism/needed-variables.gyp |
@@ -1,4 +1,4 @@ |
-# Copyright (c) 2011 Google Inc. All rights reserved. |
+# Copyright (c) 2015 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. |
@@ -7,13 +7,22 @@ |
{ |
'target_name': 'test', |
'type': 'executable', |
- 'sources': [ 'somefile.ext', ], |
+ 'sources': ['rule.ext'], |
'rules': [{ |
'rule_name': 'rule', |
'extension': 'ext', |
'inputs': [ 'rule.py', ], |
- 'outputs': [ '<(RULE_INPUT_ROOT).cc', ], |
- 'action': [ 'python', 'rule.py', '<(RULE_INPUT_ROOT)', ], |
+ 'action': [ |
+ 'python', |
+ 'rule.py', |
+ '<(RULE_INPUT_ROOT)', |
+ '<(RULE_INPUT_EXT)', |
+ '<(RULE_INPUT_DIRNAME)', |
+ '<(RULE_INPUT_NAME)', |
+ '<(RULE_INPUT_PATH)', |
+ ], |
+ 'outputs': [ 'hello_world.txt' ], |
+ 'sources': ['rule.ext'], |
'message': 'Processing <(RULE_INPUT_PATH)', |
'process_outputs_as_sources': 1, |
# Allows the test to run without hermetic cygwin on windows. |