162 false,
181 "0"))),
188 command_line.
HasOption(
"require-framebuffer-fetch")),
193
195
197 return;
198 }
199
200 for (
const auto& include_dir_path : command_line.
GetOptionValues(
"include")) {
201 if (!include_dir_path.data()) {
202 continue;
203 }
204
205
206
207
208
209
210
211
215 } else {
216 auto cwd =
Utf8FromPath(std::filesystem::current_path());
217 include_dir_absolute = std::filesystem::absolute(
219 }
220
223 if (!
dir || !
dir->is_valid()) {
224 continue;
225 }
226
227 IncludeDir dir_entry;
228 dir_entry.name = include_dir_path;
229 dir_entry.dir = std::move(
dir);
230
232 }
233
236 }
237}
std::vector< std::string_view > GetOptionValues(std::string_view name) const
std::string GetOptionValueWithDefault(std::string_view name, std::string_view default_value) const
bool HasOption(std::string_view name, size_t *index=nullptr) const
bool require_framebuffer_fetch
std::string reflection_json_name
SourceLanguage source_language
std::string reflection_header_name
std::string metal_version
uint32_t gles_language_version
std::string shader_bundle
std::vector< std::string > defines
std::shared_ptr< fml::UniqueFD > working_directory
std::string reflection_cc_name
std::string spirv_file_name
std::string source_file_name
std::vector< IncludeDir > include_directories
bool stoi(std::string_view s, SKSL_INT *value)
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
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 to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace Enable an endless trace buffer The default is a ring buffer This is useful when very old events need to viewed For during application launch Memory usage will continue to grow indefinitely however Start app with an specific route defined on the framework flutter assets dir
fml::UniqueFD OpenDirectoryReadOnly(const fml::UniqueFD &base_directory, const char *path)
fml::UniqueFD OpenDirectory(const char *path, bool create_if_necessary, FilePermission permission)
std::string ToLowerCase(std::string_view string)
static std::vector< TargetPlatform > RuntimeStagesFromCommandLine(const fml::CommandLine &command_line)
std::string Utf8FromPath(const std::filesystem::path &path)
Converts a native format path to a utf8 string.
static TargetPlatform TargetPlatformFromCommandLine(const fml::CommandLine &command_line)
SourceLanguage ToSourceLanguage(const std::string &source_language)
static SourceType SourceTypeFromCommandLine(const fml::CommandLine &command_line)