third_party/skia/site/user/quick/windows.md
Make sure the following have been installed:
Visual C++ 2013 Express or later, available for free
Chromium depot_tools
git
Python 2.7.x (if you're not planning to use cygwin)
Cygwin (optional, but useful if you want to use git)
see https://skia.org/user/download
We use the open-source gyp tool to generate Visual Studio projects (and analogous build scripts on other platforms) from our multi-platform "gyp" files.
You can generate the Visual Studio projects by running gyp_skia, as follows:
cd %SKIA_CHECKOUT_DIR%
python gyp_skia
This will produce Visual Studio projects in the %SKIA_CHECKOUT_DIR%\out directory.
ninja -C out\Debug dm
out\Debug\dm
Normally you should run tests in Debug mode (SK_DEBUG is defined, and debug symbols are included in the binary). If you would like to build the Release version instead:
ninja -C out\Release dm
out\Release\dm
Since nanobench tests performance, it usually makes more sense to run it in Release mode.
ninja -C out\Release nanobench
out\Release\nanobench