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

Unified Diff: test/determinism/needed-variables.gyp

Issue 1506733002: GYP: Make GYP build deterministic (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Fixes cosmetic issue Created 4 years, 11 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/determinism/main.cc ('k') | test/determinism/rule.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « test/determinism/main.cc ('k') | test/determinism/rule.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698