diff options
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/actions/src/subdir1/make-prog1.py')
-rwxr-xr-x | media/webrtc/trunk/tools/gyp/test/actions/src/subdir1/make-prog1.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/actions/src/subdir1/make-prog1.py b/media/webrtc/trunk/tools/gyp/test/actions/src/subdir1/make-prog1.py new file mode 100755 index 000000000..7ea1d8a2d --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/actions/src/subdir1/make-prog1.py @@ -0,0 +1,20 @@ +#!/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 = r""" +#include <stdio.h> + +void prog1(void) +{ + printf("Hello from make-prog1.py\n"); +} +""" + +open(sys.argv[1], 'w').write(contents) + +sys.exit(0) |