mirror of
https://github.com/dart-lang/sdk
synced 2024-07-01 07:14:29 +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:
parent
09a7e4f52b
commit
751c03b95b
24
docs/Building-for-Fuchsia.md
Normal file
24
docs/Building-for-Fuchsia.md
Normal 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
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user