3cced31c13
Change-Id: Ib4378c1220b1ab76754b0ac565a0ff464f7b1b63 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/381340 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>
27 lines
454 B
Markdown
27 lines
454 B
Markdown
# Setup
|
|
|
|
Download and install the Dart source tree using the standard instructions for building Dart.
|
|
|
|
To build for Fuchsia, you must first update your `.gclient` file with:
|
|
```
|
|
"custom_vars": {
|
|
"download_fuchsia_deps": True,
|
|
},
|
|
```
|
|
|
|
and re-run `gclient sync`.
|
|
|
|
# Building
|
|
|
|
```bash
|
|
./tools/build.py --mode=release --os=fuchsia --arch=arm64 create_sdk runtime
|
|
```
|
|
|
|
|
|
# Testing
|
|
|
|
```bash
|
|
./tools/test.py -nvm-fuchsia-release-arm64 -j4 ffi
|
|
```
|
|
|