Skip to content

Commit

Permalink
[Fuchsia] AOT fixes, CPU profiling (flutter#3744)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderso authored Jun 6, 2017
1 parent 7dbd8db commit ffba1d6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build/flutter_app.gni
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,12 @@ template("flutter_aot_app") {
action(assembly_label) {
depfile = assembly_depfile

inputs = [ main_dart ] + fidl_dart_sdk_ext_files + mozart_dart_sdk_ext_files
inputs = fidl_dart_sdk_ext_files + mozart_dart_sdk_ext_files + [
main_dart,
"//flutter/runtime/dart_vm_entry_points.txt",
"//flutter/runtime/dart_vm_entry_points_fuchsia.txt",
"//dart/runtime/bin/dart_io_entries.txt",
]

outputs = [
assembly_path,
Expand Down
1 change: 1 addition & 0 deletions content_handler/app.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ App::App() {

blink::Settings settings;
settings.enable_observatory = true;
settings.enable_dart_profiling = true;
blink::Settings::Set(settings);

blink::SetFontProvider(
Expand Down
1 change: 1 addition & 0 deletions runtime/dart_vm_entry_points_fuchsia.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ dart:fidl.internal,::,_environment
dart:fidl.internal,::,_outgoingServices
dart:fidl.internal,HandleWaiter,onWaitComplete
dart:mozart.internal,::,_viewContainer
dart:mozart.internal,::,_context

0 comments on commit ffba1d6

Please sign in to comment.