18 : assets_path_(properties.assets_path),
19 icu_path_(properties.icu_data_path) {
29 dart_entrypoint_arguments_.push_back(
40 if (assets_path_.is_relative() || icu_path_.is_relative() ||
41 (!aot_library_path_.empty() && aot_library_path_.is_relative())) {
43 if (executable_location.empty()) {
45 <<
"Unable to find executable location to resolve resource paths.";
46 assets_path_ = std::filesystem::path();
47 icu_path_ = std::filesystem::path();
49 assets_path_ = std::filesystem::path(executable_location) / assets_path_;
50 icu_path_ = std::filesystem::path(executable_location) / icu_path_;
51 if (!aot_library_path_.empty()) {
53 std::filesystem::path(executable_location) / aot_library_path_;