Index: test/chained-rules/chained-rules.gyp |
diff --git a/test/chained-rules/chained-rules.gyp b/test/chained-rules/chained-rules.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d765f8c143008ba9492c5160f0f55d0a3a55aa3e |
--- /dev/null |
+++ b/test/chained-rules/chained-rules.gyp |
@@ -0,0 +1,50 @@ |
+# Copyright (c) 2012 The Chromium Authors. 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': 'chained_rules', |
+ 'type': 'none', |
+ 'sources': [ |
+ 'input.wxs', |
+ ], |
+ 'outputs': [ |
+ '<(PRODUCT_DIR)/input.msi', |
+ ], |
+ 'rules': [ |
+ { |
+ 'rule_name': 'candle', |
+ 'extension': 'wxs', |
+ 'outputs': [ |
+ '<(INTERMEDIATE_DIR)/input.wixobj', |
+ ], |
+ 'process_outputs_as_sources': 1, |
+ 'msvs_cygwin_shell': 0, |
+ 'action': [ |
+ 'python', 'copyfile.py', |
+ '<(RULE_INPUT_PATH)', |
+ '<@(_outputs)' |
+ ], |
+ 'message': 'Generating <@(_outputs)', |
+ }, |
+ { |
+ 'rule_name': 'light', |
+ 'extension': 'wixobj', |
+ 'outputs': [ |
+ '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', |
+ '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).wixpdb', |
+ ], |
+ 'msvs_cygwin_shell': 0, |
+ 'action': [ |
+ 'python', 'copyfile.py', |
+ '<(RULE_INPUT_PATH)', |
+ '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi' |
+ ], |
+ 'message': 'Generating <(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', |
+ }, |
+ ], |
+ }, |
+ ] |
+} |