17 : assets_path_(properties.assets_path),
18 icu_path_(properties.icu_data_path) {
28 dart_entrypoint_arguments_.push_back(
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();
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()) {
46 std::filesystem::path(executable_location) / aot_library_path_;