OLD | NEW |
1 GN | 1 GN |
2 ===== | 2 ===== |
3 | 3 |
4 [GN](https://chromium.googlesource.com/chromium/src/tools/gn/) | 4 [GN](https://chromium.googlesource.com/chromium/src/tools/gn/) |
5 is a new meta-build system originally designed to replace GYP in Chromium. | 5 is a new meta-build system originally designed to replace GYP in Chromium. |
6 | 6 |
7 You can build Skia using GN in a limited number of configurations. We expect | 7 You can build Skia using GN in a limited number of configurations. We expect |
8 that as that limited number rises, GN will become the preferred, and then only, | 8 that as that limited number rises, GN will become the preferred, and then only, |
9 way to build Skia. | 9 way to build Skia. |
10 | 10 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 <!--?prettify lang=sh?--> | 67 <!--?prettify lang=sh?--> |
68 | 68 |
69 gn gen out/arm --args='ndk="/tmp/ndk" target_cpu="arm"' | 69 gn gen out/arm --args='ndk="/tmp/ndk" target_cpu="arm"' |
70 gn gen out/arm64 --args='ndk="/tmp/ndk" target_cpu="arm64"' | 70 gn gen out/arm64 --args='ndk="/tmp/ndk" target_cpu="arm64"' |
71 gn gen out/mips64el --args='ndk="/tmp/ndk" target_cpu="mips64el"' | 71 gn gen out/mips64el --args='ndk="/tmp/ndk" target_cpu="mips64el"' |
72 gn gen out/mipsel --args='ndk="/tmp/ndk" target_cpu="mipsel"' | 72 gn gen out/mipsel --args='ndk="/tmp/ndk" target_cpu="mipsel"' |
73 gn gen out/x64 --args='ndk="/tmp/ndk" target_cpu="x64"' | 73 gn gen out/x64 --args='ndk="/tmp/ndk" target_cpu="x64"' |
74 gn gen out/x86 --args='ndk="/tmp/ndk" target_cpu="x86"' | 74 gn gen out/x86 --args='ndk="/tmp/ndk" target_cpu="x86"' |
75 | 75 |
76 Other arguments like `is_debug` and `is_component_build` continue to work. | 76 Other arguments like `is_debug` and `is_component_build` continue to work. |
| 77 |
| 78 To test on a locally connected Android device, you can use our `droid` convenien
ce script: |
| 79 |
| 80 <!--?prettify lang=sh?--> |
| 81 |
| 82 ninja -C out/arm64 |
| 83 bin/droid out/arm64/dm --src gm --config gpu |
OLD | NEW |