Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Side by Side Diff: trunk/test/actions/src/subdir1/make-prog2.py

Issue 306051: Add AUTHORS and LICENSE files, and copyright headers to relevant source files... (Closed) Base URL: http://gyp.googlecode.com/svn/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2
3 # Copyright (c) 2009 Google Inc. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
2 import sys 7 import sys
3 8
4 contents = r""" 9 contents = r"""
5 #include <stdio.h> 10 #include <stdio.h>
6 11
7 void prog2(void) 12 void prog2(void)
8 { 13 {
9 printf("Hello from make-prog2.py\n"); 14 printf("Hello from make-prog2.py\n");
10 } 15 }
11 """ 16 """
12 17
13 open(sys.argv[1], 'w').write(contents) 18 open(sys.argv[1], 'w').write(contents)
14 19
15 sys.exit(0) 20 sys.exit(0)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698