summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/ninja/action-rule-hash/subdir/emit.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/gyp/test/ninja/action-rule-hash/subdir/emit.py')
-rw-r--r--third_party/python/gyp/test/ninja/action-rule-hash/subdir/emit.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/ninja/action-rule-hash/subdir/emit.py b/third_party/python/gyp/test/ninja/action-rule-hash/subdir/emit.py
new file mode 100644
index 0000000000..6b17125574
--- /dev/null
+++ b/third_party/python/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], 'w')
+f.write('int main() {\n')
+f.write(' return 0;\n')
+f.write('}\n')
+f.close()