diff options
Diffstat (limited to 'deps/gyp/test/actions/src/subdir3/generate_main.py')
-rwxr-xr-x | deps/gyp/test/actions/src/subdir3/generate_main.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/deps/gyp/test/actions/src/subdir3/generate_main.py b/deps/gyp/test/actions/src/subdir3/generate_main.py new file mode 100755 index 0000000000..804d38df31 --- /dev/null +++ b/deps/gyp/test/actions/src/subdir3/generate_main.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python + +# 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. + +import sys + +contents = """ +#include <stdio.h> + +int main(void) +{ + printf("Hello from generate_main.py\\n"); + return 0; +} +""" + +open(sys.argv[1], 'w').write(contents) + +sys.exit(0) |