5#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_CLIENT_WRAPPER_INCLUDE_FLUTTER_DART_PROJECT_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_CLIENT_WRAPPER_INCLUDE_FLUTTER_DART_PROJECT_H_
25 const std::wstring& icu_data_path,
26 const std::wstring& aot_library_path) {
27 assets_path_ = assets_path;
28 icu_data_path_ = icu_data_path;
29 aot_library_path_ = aot_library_path;
41 assets_path_ =
path +
L"\\flutter_assets";
42 icu_data_path_ =
path +
L"\\icudtl.dat";
43 aot_library_path_ =
path +
L"\\app.so";
53 if (entrypoint.empty()) {
56 dart_entrypoint_ = entrypoint;
65 dart_entrypoint_arguments_ = std::move(arguments);
71 return dart_entrypoint_arguments_;
83 const std::wstring& assets_path()
const {
return assets_path_; }
84 const std::wstring& icu_data_path()
const {
return icu_data_path_; }
85 const std::wstring& aot_library_path()
const {
return aot_library_path_; }
88 std::wstring assets_path_;
90 std::wstring icu_data_path_;
93 std::wstring aot_library_path_;
95 std::string dart_entrypoint_;
97 std::vector<std::string> dart_entrypoint_arguments_;
void set_dart_entrypoint(const std::string &entrypoint)
DartProject(const std::wstring &assets_path, const std::wstring &icu_data_path, const std::wstring &aot_library_path)
const std::vector< std::string > & dart_entrypoint_arguments() const
const std::string & dart_entrypoint() const
DartProject(const std::wstring &path)
void set_dart_entrypoint_arguments(std::vector< std::string > arguments)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path