Flutter Engine
The Flutter Engine
|
Functions | |
def | BuildOptions () |
def | ProcessOptions (options) |
def | WriteBytesAsText (out, input_file) |
def | GenerateFileFromTemplate (output_file, input_cc_file, vm_isolate_input_file, isolate_input_file) |
def | Main () |
Variables | |
HOST_OS = utils.GuessOS() | |
HOST_CPUS = utils.GuessCpus() | |
def create_snapshot_file.BuildOptions | ( | ) |
Definition at line 21 of file create_snapshot_file.py.
def create_snapshot_file.GenerateFileFromTemplate | ( | output_file, | |
input_cc_file, | |||
vm_isolate_input_file, | |||
isolate_input_file | |||
) |
Generates C++ file based on a input_cc_file template and two binary files Template is expected to have two %s placeholders which would be filled with binary contents of the given files each formatted as a comma separated list of integers.
Definition at line 89 of file create_snapshot_file.py.
def create_snapshot_file.Main | ( | ) |
Definition at line 111 of file create_snapshot_file.py.
def create_snapshot_file.ProcessOptions | ( | options | ) |
Definition at line 53 of file create_snapshot_file.py.
def create_snapshot_file.WriteBytesAsText | ( | out, | |
input_file | |||
) |
Writes byte contents of the input_file into out file as text. Output is formatted as a list of comma separated integer values - one value for each byte.
Definition at line 69 of file create_snapshot_file.py.
create_snapshot_file.HOST_CPUS = utils.GuessCpus() |
Definition at line 18 of file create_snapshot_file.py.
create_snapshot_file.HOST_OS = utils.GuessOS() |
Definition at line 17 of file create_snapshot_file.py.