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

Side by Side Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 8665013: Fix many* python scripts in src/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed chrome_frame/tools/test/page_cycler/cf_cycler.py Created 9 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
« no previous file with comments | « chrome_frame/tools/smoke_test.py ('k') | jingle/PRESUBMIT.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 #
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 4 # found in the LICENSE file.
6 5
7 """code generator for GLES2 command buffers.""" 6 """code generator for GLES2 command buffers."""
8 7
9 import os 8 import os
10 import os.path 9 import os.path
11 import sys 10 import sys
12 import re 11 import re
(...skipping 5964 matching lines...) Expand 10 before | Expand all | Expand 10 after
5977 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h") 5976 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h")
5978 5977
5979 if options.generate_command_id_tests: 5978 if options.generate_command_id_tests:
5980 gen.WriteCommandIdTest("common/gles2_cmd_id_test_autogen.h") 5979 gen.WriteCommandIdTest("common/gles2_cmd_id_test_autogen.h")
5981 5980
5982 if options.generate_docs: 5981 if options.generate_docs:
5983 gen.WriteDocs("docs/gles2_cmd_format_docs_autogen.h") 5982 gen.WriteDocs("docs/gles2_cmd_format_docs_autogen.h")
5984 5983
5985 if gen.errors > 0: 5984 if gen.errors > 0:
5986 print "%d errors" % gen.errors 5985 print "%d errors" % gen.errors
5987 sys.exit(1) 5986 return 1
5987 return 0
5988
5988 5989
5989 if __name__ == '__main__': 5990 if __name__ == '__main__':
5990 main(sys.argv[1:]) 5991 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « chrome_frame/tools/smoke_test.py ('k') | jingle/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698