1
0
mirror of https://github.com/dart-lang/sdk synced 2024-06-28 22:05:22 +00:00

[docs] Add instructions for building on Fuchsia

Change-Id: Ibfbbdd8152c91ebc5ceffdcdad62b130fce0bb90
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/372980
Commit-Queue: Jonny Wang <jonnywang@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Auto-Submit: Jonny Wang <jonnywang@google.com>
This commit is contained in:
Jonny Wang 2024-06-25 12:59:19 +00:00 committed by Commit Queue
parent 09a7e4f52b
commit 751c03b95b

View File

@ -0,0 +1,24 @@
# 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,
},
```
# 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
```