summaryrefslogtreecommitdiff
path: root/deps/gyp/test/custom-generator/mygenerator.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/custom-generator/mygenerator.py')
-rw-r--r--deps/gyp/test/custom-generator/mygenerator.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/deps/gyp/test/custom-generator/mygenerator.py b/deps/gyp/test/custom-generator/mygenerator.py
new file mode 100644
index 0000000000..8eb4c2de1b
--- /dev/null
+++ b/deps/gyp/test/custom-generator/mygenerator.py
@@ -0,0 +1,14 @@
+# 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.
+
+"""Custom gyp generator that doesn't do much."""
+
+import gyp.common
+
+generator_default_variables = {}
+
+def GenerateOutput(target_list, target_dicts, data, params):
+ f = open("MyBuildFile", "wb")
+ f.write("Testing...\n")
+ f.close()