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

Unified Diff: test/actions-args-change/src/arg-action.gyp

Issue 10375015: MSVS 2008: Fix to ensure that actions are re-run when the command changes (v2) (Closed) Base URL: http://git.chromium.org/external/gyp.git@master
Patch Set: Style 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/actions-args-change/gyptest-all.py ('k') | test/actions-args-change/src/arg-action.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/actions-args-change/src/arg-action.gyp
diff --git a/test/actions-args-change/src/arg-action.gyp b/test/actions-args-change/src/arg-action.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..9ecf410f23f81648082e85e793bcfdc7af8edccf
--- /dev/null
+++ b/test/actions-args-change/src/arg-action.gyp
@@ -0,0 +1,35 @@
+# 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.
+
+{
+ 'includes': [
+ # We get "test_arg" via a .gypi file in order to test that the
+ # action gets rerun when the .gypi file changed even if the .gyp
+ # file does not change.
+ 'arg-action.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'action_using_arg',
+ 'type': 'none',
+ 'msvs_cygwin_shell': 0,
+ 'actions': [
+ {
+ 'action_name': 'action_using_arg',
+ # We have to have at least one input file to reproduce the
+ # problem in the unfixed version of Gyp.
+ 'inputs': [
+ 'dummy-fixed-input.txt',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/dest-file.txt',
+ ],
+ 'action': [
+ 'python', 'write_file.py', '<@(_outputs)', '<(test_arg)',
+ ],
+ },
+ ],
+ },
+ ],
+}
« no previous file with comments | « test/actions-args-change/gyptest-all.py ('k') | test/actions-args-change/src/arg-action.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698