mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[flutter_runner] Remove the checks for libdart profiler symbols (flutter/engine#13364)
Since the runner binaries are statically linked, we do not need to look for the libdart profiler symbols separately.
This commit is contained in:
parent
79e37ea61c
commit
d336248246
@ -51,13 +51,8 @@ int main(int argc, const char** argv) {
|
||||
|
||||
#if !defined(DART_PRODUCT)
|
||||
#if defined(AOT_RUNTIME)
|
||||
RegisterProfilerSymbols(
|
||||
"pkg/data/libdart_precompiled_runtime.dartprofilersymbols",
|
||||
"libdart_precompiled_runtime.so");
|
||||
RegisterProfilerSymbols("pkg/data/dart_aot_runner.dartprofilersymbols", "");
|
||||
#else
|
||||
RegisterProfilerSymbols("pkg/data/libdart_jit.dartprofilersymbols",
|
||||
"libdart_jit.so");
|
||||
RegisterProfilerSymbols("pkg/data/dart_jit_runner.dartprofilersymbols", "");
|
||||
#endif // defined(AOT_RUNTIME)
|
||||
#endif // !defined(DART_PRODUCT)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user