DescriptionBuild up and pass MemoryFileSystem to fasta frontend.
Allow kernel service request to provide source files(filename, content), which will be used to build up MemoryFileSystem instance. MemoryFileSystem instance will be used instead of PhysicalFileSystem instance.
Immediate need for this is to support VM unit testing, where small Dart scripts that have to be parsed are hardcoded in the unit tests.
BUG=https://github.com/dart-lang/sdk/issues/28264
R=scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/089a355766d14c4b804c643fd927518387e25a9e
Patch Set 1 #Patch Set 2 : Remove hardcoded true #Patch Set 3 : Merge branch 'master' of github.com:dart-lang/sdk into build-memory-fs #
Total comments: 2
Patch Set 4 : Use Uint8List for raw file content #
Total comments: 2
Patch Set 5 : Use FileSystem instance to look for .packages file #Patch Set 6 : Use integer division #Patch Set 7 : Use integer division #
Messages
Total messages: 10 (3 generated)
|