summaryrefslogtreecommitdiff
path: root/gyp/test/rules/src/subdir2/none.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'gyp/test/rules/src/subdir2/none.gyp')
-rw-r--r--gyp/test/rules/src/subdir2/none.gyp33
1 files changed, 33 insertions, 0 deletions
diff --git a/gyp/test/rules/src/subdir2/none.gyp b/gyp/test/rules/src/subdir2/none.gyp
new file mode 100644
index 0000000..38bcdab
--- /dev/null
+++ b/gyp/test/rules/src/subdir2/none.gyp
@@ -0,0 +1,33 @@
+# Copyright (c) 2009 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': 'files',
+ 'type': 'none',
+ 'msvs_cygwin_shell': 0,
+ 'sources': [
+ 'file1.in',
+ 'file2.in',
+ ],
+ 'rules': [
+ {
+ 'rule_name': 'copy_file',
+ 'extension': 'in',
+ 'inputs': [
+ '../copy-file.py',
+ ],
+ 'outputs': [
+ '<(RULE_INPUT_ROOT).out',
+ ],
+ 'action': [
+ 'python', '<(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)',
+ ],
+ 'process_outputs_as_sources': 1,
+ },
+ ],
+ },
+ ],
+}