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

Unified Diff: runtime/bin/isolate_data.h

Issue 2715463003: Add option to gen_snapshot for creating a Makefile describing a snapshot's dependencies. (Closed)
Patch Set: . Created 3 years, 10 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 | « runtime/bin/gen_snapshot.cc ('k') | runtime/bin/isolate_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/isolate_data.h
diff --git a/runtime/bin/isolate_data.h b/runtime/bin/isolate_data.h
index 505081e06304ceb79f9e10c02f52eaa7d262fcdb..fea458cc4ecafe47832a8ed15c91f92720bc18ae 100644
--- a/runtime/bin/isolate_data.h
+++ b/runtime/bin/isolate_data.h
@@ -10,6 +10,14 @@
#include "platform/globals.h"
namespace dart {
+
+// Forward declaration.
+template <typename T>
+class MallocGrowableArray;
+
+} // namespace dart
+
+namespace dart {
namespace bin {
// Forward declaration.
@@ -55,11 +63,16 @@ class IsolateData {
ASSERT((loader_ == NULL) || (loader == NULL));
loader_ = loader;
}
+ MallocGrowableArray<char*>* dependencies() const { return dependencies_; }
+ void set_dependencies(MallocGrowableArray<char*>* deps) {
+ dependencies_ = deps;
+ }
private:
Dart_Handle builtin_lib_;
Loader* loader_;
AppSnapshot* app_snapshot_;
+ MallocGrowableArray<char*>* dependencies_;
DISALLOW_COPY_AND_ASSIGN(IsolateData);
};
« no previous file with comments | « runtime/bin/gen_snapshot.cc ('k') | runtime/bin/isolate_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698