Is it possible to disable compilation of unittests?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Is it possible to disable compilation of unittests?

Postby mark19991 » Wed Sep 11, 2019 5:03 am

Is it possible to disable compilation of unittests/perftests or any other test modules for compiling cef3?

I am using following gn flags for compilation

set GN_DEFINES=use_jumbo_build=true blink_symbol_level=0 enable_nacl=false is_win_fastlink=true is_component_build=true

but i see that unittests and few other test modules are being compiled. I am just trying to reduce the compilation time.

Regards,
M
mark19991
Newbie
 
Posts: 2
Joined: Tue Sep 10, 2019 1:48 pm

Re: Is it possible to disable compilation of unittests?

Postby magreenblatt » Wed Sep 11, 2019 2:12 pm

You can specify the build target by using the --build-target command-line flag when running automate-git.py. Relative to building Chromium it will not be a noticeable reduction in build time.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Is it possible to disable compilation of unittests?

Postby mark19991 » Thu Sep 12, 2019 4:20 am

Thanks magreenblat :-)
mark19991
Newbie
 
Posts: 2
Joined: Tue Sep 10, 2019 1:48 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 82 guests