Checkout source

Build

Several important gn args

The build option can be modified with gn args.

is_debug=true/false
Do debug build if true.
dcheck_always_on=true/false
Enable DCHECK always (even in release build).
is_asan=true/false
Use ASan build (with clang).
use_link_time_optimization=true/false
Currently working only on Win. If true, /LTCG is enable.
use_lld=true/false
Use lld for link (it will be fast)