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

Unified Diff: runtime/bin/builtin.h

Issue 1952903002: - Fix loading of dart:html. - Remove debug print in VM service. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/builtin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/builtin.h
diff --git a/runtime/bin/builtin.h b/runtime/bin/builtin.h
index 863237a3b79653ada1bf014a556001c39f473821..a4893d9bf7fc1541c6153952dc2f1f882b646d06 100644
--- a/runtime/bin/builtin.h
+++ b/runtime/bin/builtin.h
@@ -28,23 +28,9 @@ class Builtin {
// Note: Changes to this enum should be accompanied with changes to
// the builtin_libraries_ array in builtin.cc and builtin_nolib.cc.
enum BuiltinLibraryId {
+ kInvalidLibrary = -1,
kBuiltinLibrary = 0,
- kIOLibrary,
-#if defined(DART_NO_SNAPSHOT)
- // Only include these libraries in the dart_bootstrap case for now.
- kHTMLLibrary,
- kHTMLCommonLibrary,
- kJSLibrary,
- kBlinkLibrary,
- kIndexedDbLibrary,
- kCachedPatchesLibrary,
- kWebGlLibrary,
- kMetaDataLibrary,
- kWebSqlLibrary,
- kSvgLibrary,
- kWebAudioLibrary,
-#endif // defined(DART_NO_SNAPSHOT)
- kInvalidLibrary,
+ kIOLibrary
};
// Get source corresponding to built in library specified in 'id'.
@@ -93,6 +79,7 @@ class Builtin {
static const char* webaudio_source_paths_[];
static Dart_Port load_port_;
+ static const int num_libs_;
typedef struct {
const char* url_;
« no previous file with comments | « no previous file | runtime/bin/builtin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698