|
Second step towards loading core library scripts directly from the sources
- Modify the library source generator to generate a source mapping array
The generated array is of the following format:
const char* dart::Bootstrap::corelib_source_paths_[] = {
"dart:core", "/workspace1/dart-all/dart/sdk/lib/core/core.dart",
"bool.dart", "/workspace1/dart-all/dart/sdk/lib/core/bool.dart",
...
...
};
- Read the source file using the source mapping array instead of relying on
a generated buffer containing the sources
- Modify the gyp files to ensure that all libraries are read directly
from the sources. This CL does not change the patch part yet.
Remove the source concatentation step in the gypi files for all the core
libraries.
R=hausner@google.com, iposva@google.com
Committed: https://code.google.com/p/dart/source/detail?r=22380
Total comments: 8
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+501 lines, -486 lines) |
Patch |
|
M |
runtime/bin/dartutils.h
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/bin/dartutils.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+57 lines, -20 lines |
0 comments
|
Download
|
|
M |
runtime/bin/gen_snapshot.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/main.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -21 lines |
0 comments
|
Download
|
|
M |
runtime/bin/run_vm_tests.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/include/dart_api.h
|
View
|
1
2
3
4
5
|
2 chunks |
+33 lines, -1 line |
0 comments
|
Download
|
|
A + |
runtime/lib/corelib_sources.gypi
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
D |
runtime/lib/lib_sources.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
|
A |
runtime/lib/libgen_in.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/tools/gen_library_src_paths.py
|
View
|
1
2
3
4
|
1 chunk |
+105 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/bootstrap.h
|
View
|
1
2
3
4
5
|
1 chunk |
+15 lines, -12 lines |
0 comments
|
Download
|
|
M |
runtime/vm/bootstrap.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+138 lines, -51 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/heap.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.h
|
View
|
1
2
3
4
5
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_android.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_linux.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/symbols.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/vm.gypi
|
View
|
1
2
3
4
5
|
24 chunks |
+101 lines, -315 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|