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

Side by Side Diff: runtime/bin/dartutils.h

Issue 12321082: - Properly load the core libraries as libraries and not as scripts. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 months 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 | « no previous file | runtime/bin/dartutils.cc » ('j') | runtime/vm/object.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 BIN_DARTUTILS_H_ 5 #ifndef BIN_DARTUTILS_H_
6 #define BIN_DARTUTILS_H_ 6 #define BIN_DARTUTILS_H_
7 7
8 #include "bin/builtin.h" 8 #include "bin/builtin.h"
9 #include "bin/utils.h" 9 #include "bin/utils.h"
10 #include "include/dart_api.h" 10 #include "include/dart_api.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 152
153 static Dart_Handle ResolveUri(Dart_Handle library_url, 153 static Dart_Handle ResolveUri(Dart_Handle library_url,
154 Dart_Handle url, 154 Dart_Handle url,
155 Dart_Handle builtin_lib); 155 Dart_Handle builtin_lib);
156 156
157 // Global state that stores the original working directory.. 157 // Global state that stores the original working directory..
158 static const char* original_working_directory; 158 static const char* original_working_directory;
159 159
160 static const char* kDartScheme; 160 static const char* kDartScheme;
161 static const char* kDartExtensionScheme; 161 static const char* kDartExtensionScheme;
162 static const char* kASyncLibURL; 162 static const char* kAsyncLibURL;
163 static const char* kBuiltinLibURL; 163 static const char* kBuiltinLibURL;
164 static const char* kCoreLibURL; 164 static const char* kCoreLibURL;
165 static const char* kIOLibURL; 165 static const char* kIOLibURL;
166 static const char* kIOLibPatchURL; 166 static const char* kIOLibPatchURL;
167 static const char* kUriLibURL; 167 static const char* kUriLibURL;
168 static const char* kUtfLibURL; 168 static const char* kUtfLibURL;
169 static const char* kIsolateLibURL; 169 static const char* kIsolateLibURL;
170 static const char* kScalarlistLibURL; 170 static const char* kScalarlistLibURL;
171 static const char* kWebLibURL; 171 static const char* kWebLibURL;
172 172
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 void* Peer() const { return cobject_->value.as_external_byte_array.peer; } 408 void* Peer() const { return cobject_->value.as_external_byte_array.peer; }
409 Dart_WeakPersistentHandleFinalizer Callback() const { 409 Dart_WeakPersistentHandleFinalizer Callback() const {
410 return cobject_->value.as_external_byte_array.callback; 410 return cobject_->value.as_external_byte_array.callback;
411 } 411 }
412 412
413 private: 413 private:
414 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); 414 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array);
415 }; 415 };
416 416
417 #endif // BIN_DARTUTILS_H_ 417 #endif // BIN_DARTUTILS_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/dartutils.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698