Index: site/user/quick/desktop.md |
diff --git a/site/user/quick/desktop.md b/site/user/quick/desktop.md |
index 704a41c43ce1189fc5787f5791bb526a867bdc75..88e31d72ad2edaa74adc00c45606b92f6e832e84 100644 |
--- a/site/user/quick/desktop.md |
+++ b/site/user/quick/desktop.md |
@@ -30,50 +30,9 @@ Instructions to get started with Skia on desktop systems (Linux, Mac OS X, or Wi |
Gyp Options |
----------- |
-When running `sync-and-gyp`, the `GYP_DEFINES` environment variable can |
-be used to change Skia’s compile-time settings, using a |
-space-separated list of key=value pairs. For example, to disable both |
-the Skia GPU backend and PDF backends, run it as follows: |
- |
-<!--?prettify lang=sh?--> |
- |
- GYP_DEFINES='skia_gpu=0 skia_pdf=0' python bin/sync-and-gyp |
- ninja -C out/Debug |
- |
-Note: Setting enviroment variables in the Windows CMD.EXE shell [uses a |
-different syntax](./windows#env). |
- |
-You can also set environment variables such as `CC`, `CXX`, |
-`CFLAGS`, or `CPPFLAGS` to control how Skia is compiled. For |
-example: |
- |
-<!--?prettify lang=sh?--> |
- |
- CC='clang' CXX='clang++' python bin/sync-and-gyp |
- ninja -C out/Debug |
- |
-The `GYP_GENERATORS` environment variable can be used to set the |
-build systems that you want to use (as a comma-separated list). |
-The default is `'ninja,msvs-ninja'` on Windows, `'ninja,xcode'` on |
-Mac OS X, and just `'ninja'` on Linux. For example, to generate |
-only Ninja files on Mac: |
- |
-<!--?prettify lang=sh?--> |
- |
- GYP_GENERATORS='ninja' python bin/sync-and-gyp |
- ninja -C out/Debug |
- |
-Finally, the `SKIA_OUT` environment variable can be used to set |
-the path for the build directory. The default is `out` inside the |
-top-level Skia source directory. For example to test Skia with |
-two different compilers: |
- |
-<!--?prettify lang=sh?--> |
- |
- CC='clang' CXX='clang++' SKIA_OUT=~/build/skia_clang python bin/sync-and-gyp |
- CC='gcc' CXX='g++' SKIA_OUT=~/build/skia_gcc python bin/sync-and-gyp |
- ninja -C ~/build/skia_clang/Debug |
- ninja -C ~/build/skia_gcc/Debug |
+Skia relies on Gyp to generate build files. Read about |
+[specifying options for Gyp](/user/tips#gypdefines) to set the |
+compile-time settings, compiler, build systems, and build directory. |
Run unit and correctness tests |
------------------------------ |