#include <flutter_project_bundle.h>
Public Member Functions | |
| FlutterProjectBundle (const FlutterDesktopEngineProperties &properties) | |
| ~FlutterProjectBundle () | |
| bool | HasValidPaths () |
| const std::filesystem::path & | assets_path () |
| const std::filesystem::path & | icu_path () |
| const std::vector< std::string > | GetSwitches () |
| void | SetSwitches (const std::vector< std::string > &switches) |
| UniqueAotDataPtr | LoadAotData (const FlutterEngineProcTable &engine_procs) |
| const std::string & | dart_entrypoint () const |
| const std::vector< std::string > & | dart_entrypoint_arguments () const |
| FlutterGpuPreference | gpu_preference () const |
| FlutterUIThreadPolicy | ui_thread_policy () |
Definition at line 32 of file flutter_project_bundle.h.
|
explicit |
Definition at line 15 of file flutter_project_bundle.cc.
References FlutterDesktopEngineProperties::aot_library_path, FlutterDesktopEngineProperties::dart_entrypoint, FlutterDesktopEngineProperties::dart_entrypoint_argc, FlutterDesktopEngineProperties::dart_entrypoint_argv, FML_LOG, flutter::GetExecutableDirectory(), FlutterDesktopEngineProperties::gpu_preference, i, and FlutterDesktopEngineProperties::ui_thread_policy.
| flutter::FlutterProjectBundle::~FlutterProjectBundle | ( | ) |
Definition at line 89 of file flutter_project_bundle.cc.
|
inline |
Definition at line 47 of file flutter_project_bundle.h.
Referenced by flutter::testing::TEST(), and flutter::testing::TEST().
|
inline |
Definition at line 65 of file flutter_project_bundle.h.
|
inline |
Definition at line 69 of file flutter_project_bundle.h.
Referenced by flutter::testing::TEST().
| const std::vector< std::string > flutter::FlutterProjectBundle::GetSwitches | ( | ) |
Definition at line 96 of file flutter_project_bundle.cc.
References flutter::GetSwitchesFromEnvironment().
Referenced by flutter::testing::TEST(), and flutter::testing::TEST().
|
inline |
Definition at line 74 of file flutter_project_bundle.h.
| bool flutter::FlutterProjectBundle::HasValidPaths | ( | ) |
Definition at line 58 of file flutter_project_bundle.cc.
Referenced by flutter::testing::TEST(), and flutter::testing::TEST().
|
inline |
Definition at line 50 of file flutter_project_bundle.h.
Referenced by flutter::testing::TEST(), and flutter::testing::TEST().
| UniqueAotDataPtr flutter::FlutterProjectBundle::LoadAotData | ( | const FlutterEngineProcTable & | engine_procs | ) |
Definition at line 64 of file flutter_project_bundle.cc.
References FlutterEngineProcTable::CollectAOTData, FlutterEngineProcTable::CreateAOTData, flutter::data, FlutterEngineAOTDataSource::elf_path, FML_LOG, kFlutterEngineAOTDataSourceTypeElfPath, flutter::kSuccess, and FlutterEngineAOTDataSource::type.
| void flutter::FlutterProjectBundle::SetSwitches | ( | const std::vector< std::string > & | switches | ) |
Definition at line 91 of file flutter_project_bundle.cc.
Referenced by flutter::testing::FlutterWindowsEngineBuilder::Build().
|
inline |
Definition at line 77 of file flutter_project_bundle.h.