summaryrefslogtreecommitdiff
path: root/deps/gyp/test/ninja/action-rule-hash/subdir/emit.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/ninja/action-rule-hash/subdir/emit.py')
-rw-r--r--deps/gyp/test/ninja/action-rule-hash/subdir/emit.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/deps/gyp/test/ninja/action-rule-hash/subdir/emit.py b/deps/gyp/test/ninja/action-rule-hash/subdir/emit.py
new file mode 100644
index 0000000000..fcb715a9fa
--- /dev/null
+++ b/deps/gyp/test/ninja/action-rule-hash/subdir/emit.py
@@ -0,0 +1,13 @@
+#!/usr/bin/env python
+
+# 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.
+
+import sys
+
+f = open(sys.argv[1], 'wb')
+f.write('int main() {\n')
+f.write(' return 0;\n')
+f.write('}\n')
+f.close()