| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef RUNTIME_BIN_BUILTIN_H_ | 5 #ifndef RUNTIME_BIN_BUILTIN_H_ |
| 6 #define RUNTIME_BIN_BUILTIN_H_ | 6 #define RUNTIME_BIN_BUILTIN_H_ |
| 7 | 7 |
| 8 #include <stdio.h> | 8 #include <stdio.h> |
| 9 #include <stdlib.h> | 9 #include <stdlib.h> |
| 10 | 10 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 66 |
| 67 static const uint8_t* NativeSymbol(Dart_NativeFunction nf); | 67 static const uint8_t* NativeSymbol(Dart_NativeFunction nf); |
| 68 | 68 |
| 69 static const char* _builtin_source_paths_[]; | 69 static const char* _builtin_source_paths_[]; |
| 70 static const char* io_source_paths_[]; | 70 static const char* io_source_paths_[]; |
| 71 static const char* io_patch_paths_[]; | 71 static const char* io_patch_paths_[]; |
| 72 static const char* html_source_paths_[]; | 72 static const char* html_source_paths_[]; |
| 73 static const char* html_common_source_paths_[]; | 73 static const char* html_common_source_paths_[]; |
| 74 static const char* js_source_paths_[]; | 74 static const char* js_source_paths_[]; |
| 75 static const char* js_util_source_paths_[]; | 75 static const char* js_util_source_paths_[]; |
| 76 static const char* _blink_source_paths_[]; |
| 76 static const char* indexed_db_source_paths_[]; | 77 static const char* indexed_db_source_paths_[]; |
| 78 static const char* cached_patches_source_paths_[]; |
| 77 static const char* web_gl_source_paths_[]; | 79 static const char* web_gl_source_paths_[]; |
| 78 static const char* metadata_source_paths_[]; | 80 static const char* metadata_source_paths_[]; |
| 79 static const char* web_sql_source_paths_[]; | 81 static const char* web_sql_source_paths_[]; |
| 80 static const char* svg_source_paths_[]; | 82 static const char* svg_source_paths_[]; |
| 81 static const char* web_audio_source_paths_[]; | 83 static const char* web_audio_source_paths_[]; |
| 82 | 84 |
| 83 static Dart_Port load_port_; | 85 static Dart_Port load_port_; |
| 84 static const int num_libs_; | 86 static const int num_libs_; |
| 85 | 87 |
| 86 typedef struct { | 88 typedef struct { |
| 87 const char* url_; | 89 const char* url_; |
| 88 const char** source_paths_; | 90 const char** source_paths_; |
| 89 const char* patch_url_; | 91 const char* patch_url_; |
| 90 const char** patch_paths_; | 92 const char** patch_paths_; |
| 91 bool has_natives_; | 93 bool has_natives_; |
| 92 } builtin_lib_props; | 94 } builtin_lib_props; |
| 93 static builtin_lib_props builtin_libraries_[]; | 95 static builtin_lib_props builtin_libraries_[]; |
| 94 | 96 |
| 95 DISALLOW_ALLOCATION(); | 97 DISALLOW_ALLOCATION(); |
| 96 DISALLOW_IMPLICIT_CONSTRUCTORS(Builtin); | 98 DISALLOW_IMPLICIT_CONSTRUCTORS(Builtin); |
| 97 }; | 99 }; |
| 98 | 100 |
| 99 } // namespace bin | 101 } // namespace bin |
| 100 } // namespace dart | 102 } // namespace dart |
| 101 | 103 |
| 102 #endif // RUNTIME_BIN_BUILTIN_H_ | 104 #endif // RUNTIME_BIN_BUILTIN_H_ |
| OLD | NEW |