OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 // This file is linked into the dart executable when it does not have a | 5 // This file is linked into the dart executable when it does not have |
6 // snapshot linked into it. | 6 // Observatory baked in. |
7 | 7 |
8 #if defined(_WIN32) | 8 #if defined(_WIN32) |
9 typedef unsigned __int8 uint8_t; | 9 typedef unsigned __int8 uint8_t; |
10 #else | 10 #else |
11 #include <inttypes.h> | 11 #include <inttypes.h> |
12 #include <stdint.h> | 12 #include <stdint.h> |
13 #endif | 13 #endif |
14 #include <stddef.h> | 14 #include <stddef.h> |
15 | 15 |
16 | |
17 namespace dart { | 16 namespace dart { |
18 namespace bin { | 17 namespace bin { |
19 | 18 |
20 const uint8_t* vm_isolate_snapshot_buffer = NULL; | 19 static const char observatory_assets_archive_[] = { '\0' }; |
21 const uint8_t* isolate_snapshot_buffer = NULL; | 20 unsigned int observatory_assets_archive_len = 0; |
| 21 const char* observatory_assets_archive = observatory_assets_archive_; |
22 | 22 |
23 } // namespace bin | 23 } // namespace bin |
24 } // namespace dart | 24 } // namespace dart |
OLD | NEW |