Flutter Engine
The Flutter Engine
Namespaces | Functions | Variables
gn.py File Reference

Go to the source code of this file.

Namespaces

namespace  gn
 

Functions

def gn.ToolchainPrefix (args)
 
def gn.TargetSysroot (args)
 
def gn.MakePlatformSDK ()
 
def gn.GetGNArgs (args)
 
def gn.GetOutDir (mode, arch, target_os, sanitizer)
 
def gn.ToCommandLine (gn_args)
 
def gn.HostCpuForArch (arch)
 
def gn.TargetCpuForArch (arch)
 
def gn.DartTargetCpuForArch (arch)
 
def gn.IsCompressedPointerArch (arch)
 
def gn.HostOsForGn (host_os)
 
def gn.ParseStringMap (key, string_map)
 
def gn.UseSysroot (args, gn_args)
 
def gn.ToGnArgs (args, mode, arch, target_os, sanitizer, verify_sdk_hash, git_version)
 
def gn.ProcessOsOption (os_name)
 
def gn.ProcessOptions (args)
 
def gn.os_has_ide (host_os)
 
def gn.ide_switch (host_os)
 
def gn.AddCommonGnOptionArgs (parser)
 
def gn.AddCommonConfigurationArgs (parser)
 
def gn.AddOtherArgs (parser)
 
def gn.parse_args (args)
 
def gn.InitializeRBE (out_dir, env)
 
def gn.ExecutableName (basename)
 
def gn.BuildGnCommand (args, mode, arch, target_os, sanitizer, out_dir)
 
def gn.RunGnOnConfiguredConfigurations (args, env={})
 
def gn.ExpectEquals (actual, expected)
 
def gn.RunTests ()
 
def gn.Main (argv)
 

Variables

 gn.HOST_OS = utils.GuessOS()
 
 gn.HOST_ARCH = utils.GuessArchitecture()
 
 gn.SCRIPT_DIR = os.path.dirname(sys.argv[0])
 
 gn.DART_ROOT = os.path.realpath(os.path.join(SCRIPT_DIR, '..'))
 
 gn.AVAILABLE_ARCHS = utils.ARCH_FAMILY.keys()
 
string gn.DART_USE_TOOLCHAIN = "DART_USE_TOOLCHAIN"
 
string gn.DART_USE_SYSROOT = "DART_USE_SYSROOT"
 
string gn.DART_USE_CRASHPAD = "DART_USE_CRASHPAD"
 
string gn.DART_MAKE_PLATFORM_SDK = "DART_MAKE_PLATFORM_SDK"
 
string gn.DART_GN_ARGS = "DART_GN_ARGS"