You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change-Id: I85477806b151773bc715f31bcdb05554107cc6b4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257700
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Copy file name to clipboardExpand all lines: build/fuchsia/skqp/README.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,21 @@
1
-
# CIPD Package Creation and Upload Procedure
1
+
# Building SKQP for Fuchsia
2
+
Using an arm64 device as an example, to build skqp for Fuchsia:
3
+
```
4
+
gn gen out/fuchsia-arm64 --args="is_official_build=false is_debug=false skia_update_fuchsia_sdk=true target_cpu=\"arm64\" target_os=\"fuchsia\" using_fuchsia_sdk=true skia_tools_require_resources=true skia_skqp_global_error_tolerance=8"
5
+
```
6
+
7
+
The effect of `skia_update_fuchsia_sdk=true` is that it will download both the Fuchsia SDK and a compatible clang for building SKQP as part of the `gn gen ...` step above.
8
+
9
+
Next step, compile skqp for Fuchsia:
10
+
```
11
+
autoninja -C out/fuchsia-arm64 ":skqp_repo"
12
+
```
13
+
14
+
The effect of this build will be to produce a Fuchsia package repository named `skqp_repo` in the `out` directory of the build. `skqp_repo` can then be served to a Fuchsia device using `//fuchsia/sdk/tools/pm serve -repo skqp_repo` (where // is the skia build root).
15
+
16
+
See [install fuchsia packages](https://fuchsia.dev/fuchsia-src/development/sdk/documentation/packages#install-package) for more on serving packages to Fuchsia devices.
17
+
18
+
# Fuchsia CIPD Package Creation and Upload Procedure
2
19
These steps assume the creation of the arm64 CIPD package as an example. Because the package requires a path from the output directory of the build, the `gn gen` arguments must match the prescribed path declared in `cipd_arm64.yaml` in order for this CIPD package creation and upload to succeed.
0 commit comments