Flutter Engine
switches.h File Reference
#include <string_view>
#include "flutter/common/settings.h"
#include "flutter/fml/command_line.h"

Go to the source code of this file.

Namespaces

 flutter
 

Macros

#define DEF_SWITCHES_START   enum class Switch {
 
#define DEF_SWITCH(swtch, flag, help)   swtch,
 
#define DEF_SWITCHES_END   Sentinel, } ;
 

Functions

DEF_SWITCHES_START flutter::DEF_SWITCH (AotSharedLibraryName, "aot-shared-library-name", "Name of the *.so containing AOT compiled Dart assets.") DEF_SWITCH(SnapshotAssetPath
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions flutter::DEF_SWITCH (VmSnapshotData, "vm-snapshot-data", "The VM snapshot data that will be memory mapped as read-only. " "SnapshotAssetPath must be present.") DEF_SWITCH(VmSnapshotInstructions
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions vm snapshot The VM instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present flutter::DEF_SWITCH (IsolateSnapshotData, "isolate-snapshot-data", "The isolate snapshot data that will be memory mapped as read-only. " "SnapshotAssetPath must be present.") DEF_SWITCH(IsolateSnapshotInstructions
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions vm snapshot The VM instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present isolate snapshot The isolate instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present flutter::DEF_SWITCH (CacheDirPath, "cache-dir-path", "Path to the cache directory. " "This is different from the persistent_cache_path in embedder.h, " "which is used for Skia shader cache.") DEF_SWITCH(ICUSymbolPrefix
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions vm snapshot The VM instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present isolate snapshot The isolate instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present icu symbol Prefix for the symbols representing ICU data linked into the Flutter library flutter::DEF_SWITCH (ICUNativeLibPath, "icu-native-lib-path", "Path to the library file that exports the ICU data.") DEF_SWITCH(DartFlags
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions vm snapshot The VM instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present isolate snapshot The isolate instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present icu symbol Prefix for the symbols representing ICU data linked into the Flutter library dart Flags passed directly to the Dart VM without being interpreted by the Flutter shell flutter::DEF_SWITCH (DeviceObservatoryHost, "observatory-host", "The hostname/IP address on which the Dart Observatory should " "be served. If not set, defaults to 127.0.0.1 or ::1 depending on " "whether --ipv6 is specified.") DEF_SWITCH(DeviceObservatoryPort
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions vm snapshot The VM instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present isolate snapshot The isolate instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present icu symbol Prefix for the symbols representing ICU data linked into the Flutter library dart Flags passed directly to the Dart VM without being interpreted by the Flutter shell observatory A custom Dart Observatory port The default is to pick a randomly available open port flutter::DEF_SWITCH (DisableObservatory, "disable-observatory", "Disable the Dart Observatory. The observatory is never available " "in release mode.") DEF_SWITCH(DisableObservatoryPublication
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions vm snapshot The VM instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present isolate snapshot The isolate instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present icu symbol Prefix for the symbols representing ICU data linked into the Flutter library dart Flags passed directly to the Dart VM without being interpreted by the Flutter shell observatory A custom Dart Observatory port The default is to pick a randomly available open port disable observatory Disable mDNS Dart Observatory publication flutter::DEF_SWITCH (IPv6, "ipv6", "Bind to the IPv6 localhost address for the Dart Observatory. " "Ignored if --observatory-host is set.") DEF_SWITCH(EnableDartProfiling
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions vm snapshot The VM instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present isolate snapshot The isolate instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present icu symbol Prefix for the symbols representing ICU data linked into the Flutter library dart Flags passed directly to the Dart VM without being interpreted by the Flutter shell observatory A custom Dart Observatory port The default is to pick a randomly available open port disable observatory Disable mDNS Dart Observatory publication enable dart Enable Dart profiling Profiling information can be viewed from the observatory flutter::DEF_SWITCH (EndlessTraceBuffer, "endless-trace-buffer", "Enable an endless trace buffer. The default is a ring buffer. " "This is useful when very old events need to viewed. For example, " "during application launch. Memory usage will continue to grow " "indefinitely however.") DEF_SWITCH(EnableSoftwareRendering
 
const std::string_view flutter::FlagForSwitch (Switch swtch)
 
Settings flutter::SettingsFromCommandLine (const fml::CommandLine &command_line)
 

Variables

DEF_SWITCHES_START snapshot asset flutter::path
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by flutter::VmSnapshotData
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by flutter::VmSnapshotInstructions
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions vm snapshot flutter::instr
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions vm snapshot The VM instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present isolate snapshot The isolate instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present icu symbol flutter::prefix
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions vm snapshot The VM instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present isolate snapshot The isolate instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present icu symbol Prefix for the symbols representing ICU data linked into the Flutter library dart flutter::flags
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions vm snapshot The VM instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present isolate snapshot The isolate instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present icu symbol Prefix for the symbols representing ICU data linked into the Flutter library dart Flags passed directly to the Dart VM without being interpreted by the Flutter shell observatory flutter::port
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions vm snapshot The VM instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present isolate snapshot The isolate instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present icu symbol Prefix for the symbols representing ICU data linked into the Flutter library dart Flags passed directly to the Dart VM without being interpreted by the Flutter shell observatory A custom Dart Observatory port The default is to pick a randomly available open port disable observatory flutter::publication
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions vm snapshot The VM instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present isolate snapshot The isolate instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present icu symbol Prefix for the symbols representing ICU data linked into the Flutter library dart Flags passed directly to the Dart VM without being interpreted by the Flutter shell observatory A custom Dart Observatory port The default is to pick a randomly available open port disable observatory Disable mDNS Dart Observatory publication enable dart flutter::profiling
 
DEF_SWITCHES_START snapshot asset Path to the directory containing the four files specified by VmSnapshotInstructions and IsolateSnapshotInstructions vm snapshot The VM instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present isolate snapshot The isolate instructions snapshot that will be memory mapped as read and executable SnapshotAssetPath must be present icu symbol Prefix for the symbols representing ICU data linked into the Flutter library dart Flags passed directly to the Dart VM without being interpreted by the Flutter shell observatory A custom Dart Observatory port The default is to pick a randomly available open port disable observatory Disable mDNS Dart Observatory publication enable dart Enable Dart profiling Profiling information can be viewed from the observatory enable software flutter::rendering
 

Macro Definition Documentation

◆ DEF_SWITCH

#define DEF_SWITCH (   swtch,
  flag,
  help 
)    swtch,

Definition at line 20 of file switches.h.

◆ DEF_SWITCHES_END

#define DEF_SWITCHES_END   Sentinel, } ;

Definition at line 23 of file switches.h.

◆ DEF_SWITCHES_START

#define DEF_SWITCHES_START   enum class Switch {

Definition at line 17 of file switches.h.