Index: test/analyzer/test.gyp |
diff --git a/test/analyzer/test.gyp b/test/analyzer/test.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b3fcdd35166d68af4a5a929f9c8c8f53724e664f |
--- /dev/null |
+++ b/test/analyzer/test.gyp |
@@ -0,0 +1,54 @@ |
+# Copyright (c) 2014 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. |
+ |
+{ |
+ 'variables': { |
+ 'test_variable%': 0, |
+ 'variable_path': 'subdir', |
+ }, |
+ 'targets': [ |
+ { |
+ 'target_name': 'exe', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ 'subdir/subdir.gyp:foo', |
+ ], |
+ 'sources': [ |
+ 'foo.c', |
+ '<(variable_path)/subdir_source2.c', |
+ ], |
+ 'conditions': [ |
+ ['test_variable==1', { |
+ 'sources': [ |
+ 'conditional_source.c', |
+ ], |
+ }], |
+ ], |
+ 'actions': [ |
+ { |
+ 'action_name': 'action', |
+ 'inputs': [ |
+ '<(PRODUCT_DIR)/product_dir_input.c', |
+ 'action_input.c', |
+ ], |
+ 'outputs': [ |
+ 'action_output.c', |
+ ], |
+ }, |
+ ], |
+ 'rules': [ |
+ { |
+ 'rule_name': 'rule', |
+ 'extension': 'pdf', |
+ 'inputs': [ |
+ 'rule_input.c', |
+ ], |
+ 'outputs': [ |
+ 'rule_output.pdf', |
+ ], |
+ }, |
+ ], |
+ }, |
+ ], |
+} |