[v8-users] Re: How to build x64.release without debug info?

2018-12-29 Thread Jane Chen
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,

[v8-users] Re: How to build x64.release without debug info?

2018-12-29 Thread Jane Chen
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

Re: [v8-users] How to build x64.release without debug info?

2018-12-29 Thread Ben Noordhuis
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