Skip to content

Commit

Permalink
Use MemoryByteStore for incremental compilation (flutter#4077)
Browse files Browse the repository at this point in the history
  • Loading branch information
aam authored Sep 8, 2017
1 parent 7c7c788 commit be87a63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend_server/lib/server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ import 'dart:io';
import 'package:args/args.dart';
import 'package:front_end/compilation_message.dart';

import 'package:front_end/incremental_kernel_generator.dart';
import 'package:front_end/byte_store.dart';
import 'package:front_end/compiler_options.dart';
import 'package:front_end/incremental_kernel_generator.dart';
import 'package:front_end/kernel_generator.dart';
import 'package:kernel/ast.dart';
import 'package:kernel/binary/ast_to_binary.dart';
Expand Down Expand Up @@ -116,6 +117,7 @@ class _FrontendCompiler implements CompilerInterface {
_outputStream.writeln("result $boundaryKey");
final Uri sdkRoot = _ensureFolderPath(options['sdk-root']);
final CompilerOptions compilerOptions = new CompilerOptions()
..byteStore = new MemoryByteStore()
..sdkRoot = sdkRoot
..strongMode = false
..target = new FlutterTarget(new TargetFlags())
Expand Down

0 comments on commit be87a63

Please sign in to comment.