17 : assets_path_(properties.assets_path),
18 icu_path_(properties.icu_data_path) {
28 dart_entrypoint_arguments_.push_back(
39 if (assets_path_.is_relative() || icu_path_.is_relative() ||
40 (!aot_library_path_.empty() && aot_library_path_.is_relative())) {
42 if (executable_location.empty()) {
44 <<
"Unable to find executable location to resolve resource paths.";
45 assets_path_ = std::filesystem::path();
46 icu_path_ = std::filesystem::path();
48 assets_path_ = std::filesystem::path(executable_location) / assets_path_;
49 icu_path_ = std::filesystem::path(executable_location) / icu_path_;
50 if (!aot_library_path_.empty()) {
52 std::filesystem::path(executable_location) / aot_library_path_;