21 }
22
25 }
26
28 dart_entrypoint_arguments_.push_back(
30 }
31
32
33 if (assets_path_.is_relative() || icu_path_.is_relative() ||
34 (!aot_library_path_.empty() && aot_library_path_.is_relative())) {
36 if (executable_location.empty()) {
38 << "Unable to find executable location to resolve resource paths.";
39 assets_path_ = std::filesystem::path();
40 icu_path_ = std::filesystem::path();
41 } else {
42 assets_path_ = std::filesystem::path(executable_location) / assets_path_;
43 icu_path_ = std::filesystem::path(executable_location) / icu_path_;
44 if (!aot_library_path_.empty()) {
45 aot_library_path_ =
46 std::filesystem::path(executable_location) / aot_library_path_;
47 }
48 }
49 }
50}
#define FML_LOG(severity)
std::filesystem::path GetExecutableDirectory()
const char * dart_entrypoint
const char * aot_library_path
const char * icu_data_path
const char ** dart_entrypoint_argv