15a4d5d6d1
This allows gen_snapshot and dart_bootstrap to run without having
a full SDK snapshot around.
The generated cc file looks like:
static const char source_array_1[] = {
'\x2f', '\x2f', '\x20', '\x43', '\x6f', ...
};
static const char source_array_2[] = {
'\x2f', '\x2f', '\x20', '\x43', '\x6f', ...
};
...
const char* dart::Bootstrap::core_source_paths_[] = {
"dart:core",
"/path/to/sdk/lib/core/core.dart",
source_array_1,
"annotations.dart",
"/path/to/sdk/lib/core/annotations.dart",
source_array_2,
...
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2668353004 .