| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2011 Google Inc. All rights reserved. | 2 # Copyright (c) 2011 Google Inc. All rights reserved. |
| 3 # Copyright (c) 2012 Intel Corporation. All rights reserved. | 3 # Copyright (c) 2012 Intel Corporation. All rights reserved. |
| 4 # | 4 # |
| 5 # Redistribution and use in source and binary forms, with or without | 5 # Redistribution and use in source and binary forms, with or without |
| 6 # modification, are permitted provided that the following conditions are | 6 # modification, are permitted provided that the following conditions are |
| 7 # met: | 7 # met: |
| 8 # | 8 # |
| 9 # * Redistributions of source code must retain the above copyright | 9 # * Redistributions of source code must retain the above copyright |
| 10 # notice, this list of conditions and the following disclaimer. | 10 # notice, this list of conditions and the following disclaimer. |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 import simplejson as json | 39 import simplejson as json |
| 40 | 40 |
| 41 import CodeGeneratorInspectorStrings | 41 import CodeGeneratorInspectorStrings |
| 42 | 42 |
| 43 | 43 |
| 44 DOMAIN_DEFINE_NAME_MAP = { | 44 DOMAIN_DEFINE_NAME_MAP = { |
| 45 "Database": "SQL_DATABASE", | 45 "Database": "SQL_DATABASE", |
| 46 "Debugger": "JAVASCRIPT_DEBUGGER", | 46 "Debugger": "JAVASCRIPT_DEBUGGER", |
| 47 "DOMDebugger": "JAVASCRIPT_DEBUGGER", | 47 "DOMDebugger": "JAVASCRIPT_DEBUGGER", |
| 48 "FileSystem": "FILE_SYSTEM", | 48 "FileSystem": "FILE_SYSTEM", |
| 49 "IndexedDB": "INDEXED_DATABASE", | |
| 50 "Profiler": "JAVASCRIPT_DEBUGGER", | 49 "Profiler": "JAVASCRIPT_DEBUGGER", |
| 51 "Worker": "WORKERS", | 50 "Worker": "WORKERS", |
| 52 } | 51 } |
| 53 | 52 |
| 54 | 53 |
| 55 # Manually-filled map of type name replacements. | 54 # Manually-filled map of type name replacements. |
| 56 TYPE_NAME_FIX_MAP = { | 55 TYPE_NAME_FIX_MAP = { |
| 57 "RGBA": "Rgba", # RGBA is reported to be conflicting with a define name in
Windows CE. | 56 "RGBA": "Rgba", # RGBA is reported to be conflicting with a define name in
Windows CE. |
| 58 "": "Empty", | 57 "": "Empty", |
| 59 } | 58 } |
| (...skipping 2342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2402 backend_h_file.close() | 2401 backend_h_file.close() |
| 2403 backend_cpp_file.close() | 2402 backend_cpp_file.close() |
| 2404 | 2403 |
| 2405 frontend_h_file.close() | 2404 frontend_h_file.close() |
| 2406 frontend_cpp_file.close() | 2405 frontend_cpp_file.close() |
| 2407 | 2406 |
| 2408 typebuilder_h_file.close() | 2407 typebuilder_h_file.close() |
| 2409 typebuilder_cpp_file.close() | 2408 typebuilder_cpp_file.close() |
| 2410 | 2409 |
| 2411 backend_js_file.close() | 2410 backend_js_file.close() |
| OLD | NEW |