Also found that symbol_level=1 is more preferable:
if (symbol_level == 0) {
configs = [ ":no_symbols" ]
} else if (symbol_level == 1) {
configs = [ ":minimal_symbols" ]
} else if (symbol_level == 2) {
configs = [ ":symbols" ]
} else {
assert(false)
}
With symbol_level=1,
That worked! Thanks!
The size difference is big. For example:
libv8.so, version 6.7, with debug info, 565773459, without debug info,
15134520.
On Thursday, December 27, 2018 at 4:39:19 PM UTC-8, Jane Chen wrote:
>
> Embedding v8 6.7 using gcc 4.8.5 on RedHat 7.
>
> Building v8 optimized
On Fri, Dec 28, 2018 at 1:39 AM Jane Chen wrote:
> Embedding v8 6.7 using gcc 4.8.5 on RedHat 7.
>
> Building v8 optimized build with gn and ninja with the following arguments:
>
> gn gen out.gn/x64.release --args='is_debug=false is_official_build=true
> is_component_build=true is_cfi=false