Flutter engine development tool.
- Clone this repository
- Add
crank/binto yourPATH
Build the Flutter engine:
crank build --clean --fetchRun tests:
crank testRun a Flutter app using the locally built engine:
crank runUse the --builder option (-b) to choose your build configuration:
crank build --builder host_release
crank test --builder host_release
crank run --builder host_releaseNeed a different builder configuration? Want an alias for a builder? Create
the file ~/.config/crank/config.json to configure custom builders:
{
"builds": [
{
"name": "my_custom_builder",
"gn": ["--no-lto"],
"ninja": {
"config": "host_release",
}
}
]
}Use the name as the --builder option:
crank build --builder my_custom_builderSee //flutter/ci/builders/
for JSON builder examples.
Copyright held by Google LLC, however this is not an official Google product.