Skip to content

Commit 8679fe7

Browse files
committed
Remove dependency on Dart, add crash handler to impellerc (flutter#150)
1 parent 69b676c commit 8679fe7

File tree

4 files changed

+2
-12
lines changed

4 files changed

+2
-12
lines changed

impeller/BUILD.gn

-4
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ executable("impeller_unittests") {
5555
"blobcat:blobcat_unittests",
5656
"compiler:compiler_unittests",
5757
"geometry:geometry_unittests",
58-
59-
# FML depends on the Dart VM for tracing and getting the current
60-
# timepoint.
61-
"//flutter/runtime:libdart",
6258
]
6359

6460
if (impeller_supports_rendering) {

impeller/blobcat/BUILD.gn

-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ impeller_component("blobcat") {
2929
":blobcat_lib",
3030
"../base",
3131
"//flutter/fml",
32-
33-
# FML depends on the Dart VM for tracing and getting the current
34-
# timepoint.
35-
"//flutter/runtime:libdart",
3632
]
3733
}
3834

impeller/compiler/BUILD.gn

-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ impeller_component("impellerc") {
4444

4545
deps = [
4646
":compiler_lib",
47-
48-
# FML depends on the Dart VM for tracing and getting the current
49-
# timepoint.
50-
"//flutter/runtime:libdart",
5147
]
5248
}
5349

impeller/compiler/impellerc_main.cc

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include <filesystem>
66

7+
#include "flutter/fml/backtrace.h"
78
#include "flutter/fml/command_line.h"
89
#include "flutter/fml/file.h"
910
#include "flutter/fml/macros.h"
@@ -18,6 +19,7 @@ namespace impeller {
1819
namespace compiler {
1920

2021
bool Main(const fml::CommandLine& command_line) {
22+
fml::InstallCrashHandler();
2123
if (command_line.HasOption("help")) {
2224
Switches::PrintHelp(std::cout);
2325
return true;

0 commit comments

Comments
 (0)