• Home
  • Raw
  • Download

Lines Matching refs:gn

11 Skia uses [GN](https://chromium.googlesource.com/chromium/src/tools/gn/) to
59 Run `gn gen` to generate your build files. As arguments to `gn gen`, pass a name
65 bin/gn gen out/Static --args='is_official_build=true'
71 bin/gn gen out/Shared --args='is_official_build=true is_component_build=true'
74 If you find that you don't have `bin/gn`, make sure you've run:
80 For a list of available build arguments, take a look at `gn/skia.gni`, or run:
83 bin/gn args out/Debug --list
90 bin/gn gen out/Debug
91 bin/gn gen out/Release --args='is_debug=false'
92 bin/gn gen out/Clang --args='cc="clang" cxx="clang++"'
93 bin/gn gen out/Cached --args='cc_wrapper="ccache"'
94 bin/gn gen out/RTTI --args='extra_cflags_cc=["-frtti"]'
135 bin/gn gen out/arm --args='ndk="/tmp/ndk" target_cpu="arm"'
136 bin/gn gen out/arm64 --args='ndk="/tmp/ndk" target_cpu="arm64"'
137 bin/gn gen out/x64 --args='ndk="/tmp/ndk" target_cpu="x64"'
138 bin/gn gen out/x86 --args='ndk="/tmp/ndk" target_cpu="x86"'
255 Mac users may want to pass `--ide=xcode` to `bin/gn gen` to generate an Xcode
264 bin/gn gen out/ios64 --args='target_os="ios"'
265 bin/gn gen out/ios32 --args='target_os="ios" target_cpu="arm"'
266 bin/gn gen out/iossim --args='target_os="ios" target_cpu="x64"'
295 `bin/gn gen`. If you are using Xcode version 10 or later, you may need to go to
340 Setting the `cc` and `cxx` gn args is _not_ sufficient to build with clang-cl.
355 If you use Visual Studio, you may want to pass `--ide=vs` to `bin/gn gen` to
362 `--ide=vs` when running `bin/gn gen` for each one. Then:
365 python2 gn/gn_meta_sln.py
388 bin/gn gen out/win-arm64 --args='target_cpu="arm64" skia_use_angle=true'
401 bin/gn gen out/config --ide=json --json-ide-script=../../gn/gn_to_cmake.py