OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # 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 |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """code generator for GLES2 command buffers.""" | 6 """code generator for GLES2 command buffers.""" |
7 | 7 |
8 import itertools | 8 import itertools |
9 import os | 9 import os |
10 import os.path | 10 import os.path |
(...skipping 8609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8620 "service/gles2_cmd_decoder_unittest_3_autogen.h", | 8620 "service/gles2_cmd_decoder_unittest_3_autogen.h", |
8621 "service/gles2_cmd_validation_autogen.h", | 8621 "service/gles2_cmd_validation_autogen.h", |
8622 "service/gles2_cmd_validation_implementation_autogen.h"]) | 8622 "service/gles2_cmd_validation_implementation_autogen.h"]) |
8623 os.chdir("../..") | 8623 os.chdir("../..") |
8624 mojo_gles2_prefix = "mojo/public/c/gles2/gles2_call_visitor" | 8624 mojo_gles2_prefix = "mojo/public/c/gles2/gles2_call_visitor" |
8625 Format([ | 8625 Format([ |
8626 "gpu/GLES2/gl2chromium_autogen.h", | 8626 "gpu/GLES2/gl2chromium_autogen.h", |
8627 mojo_gles2_prefix + "_autogen.h", | 8627 mojo_gles2_prefix + "_autogen.h", |
8628 mojo_gles2_prefix + "_chromium_texture_mailbox_autogen.h", | 8628 mojo_gles2_prefix + "_chromium_texture_mailbox_autogen.h", |
8629 mojo_gles2_prefix + "_chromium_sync_point_autogen.h", | 8629 mojo_gles2_prefix + "_chromium_sync_point_autogen.h", |
8630 "ppapi/c/dev/ppb_opengles2ext_dev.h", | |
8631 "ppapi/c/ppb_opengles2.h", | |
8632 "ppapi/lib/gl/gles2/gles2.c", | 8630 "ppapi/lib/gl/gles2/gles2.c", |
8633 "ppapi/shared_impl/ppb_opengles2_shared.cc"]) | 8631 "ppapi/shared_impl/ppb_opengles2_shared.cc"]) |
8634 | 8632 |
8635 if gen.errors > 0: | 8633 if gen.errors > 0: |
8636 print "%d errors" % gen.errors | 8634 print "%d errors" % gen.errors |
8637 return 1 | 8635 return 1 |
8638 return 0 | 8636 return 0 |
8639 | 8637 |
8640 | 8638 |
8641 if __name__ == '__main__': | 8639 if __name__ == '__main__': |
8642 sys.exit(main(sys.argv[1:])) | 8640 sys.exit(main(sys.argv[1:])) |
OLD | NEW |