 |
Flutter Impeller
|
|
Go to the documentation of this file.
5 #ifndef FLUTTER_IMPELLER_COMPILER_SWITCHES_H_
6 #define FLUTTER_IMPELLER_COMPILER_SWITCHES_H_
12 #include "flutter/fml/command_line.h"
13 #include "flutter/fml/unique_fd.h"
51 explicit Switches(
const fml::CommandLine& command_line);
53 bool AreValid(std::ostream& explain)
const;
62 std::optional<TargetPlatform> target_platform = std::nullopt)
const;
64 static void PrintHelp(std::ostream& stream);
70 std::vector<TargetPlatform> runtime_stages_;
76 #endif // FLUTTER_IMPELLER_COMPILER_SWITCHES_H_
std::string reflection_cc_name
std::string reflection_header_name
static void PrintHelp(std::ostream &stream)
TargetPlatform SelectDefaultTargetPlatform() const
std::string metal_version
uint32_t gles_language_version
std::string spirv_file_name
std::string reflection_json_name
bool require_framebuffer_fetch
std::vector< std::string > defines
std::vector< TargetPlatform > PlatformsToCompile() const
A vector containing at least one valid platform.
SourceOptions CreateSourceOptions(std::optional< TargetPlatform > target_platform=std::nullopt) const
SourceLanguage source_language
std::vector< IncludeDir > include_directories
std::string source_file_name
std::shared_ptr< fml::UniqueFD > working_directory
std::string shader_bundle
bool AreValid(std::ostream &explain) const