5 #ifndef FLUTTER_IMPELLER_COMPILER_SWITCHES_H_
6 #define FLUTTER_IMPELLER_COMPILER_SWITCHES_H_
13 #include "flutter/fml/command_line.h"
14 #include "flutter/fml/unique_fd.h"
54 explicit Switches(
const fml::CommandLine& command_line);
56 bool AreValid(std::ostream& explain)
const;
67 static void PrintHelp(std::ostream& stream);
73 std::vector<TargetPlatform> runtime_stages_;
bool require_framebuffer_fetch
std::vector< TargetPlatform > PlatformsToCompile() const
A vector containing at least one valid platform.
std::filesystem::path reflection_cc_name
std::string entry_point_prefix
std::filesystem::path sl_file_name
SourceLanguage source_language
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
bool AreValid(std::ostream &explain) const
static void PrintHelp(std::ostream &stream)
std::filesystem::path reflection_json_name
SourceOptions CreateSourceOptions() const
std::filesystem::path spirv_file_name
std::filesystem::path depfile_path
std::vector< IncludeDir > include_directories
std::filesystem::path source_file_name
std::filesystem::path reflection_header_name