How to build chromium with minimum features

3.2k views Asked by At

I am trying to build chromium with minimal features using Fedora 23 64bit.

I followed the link from cef website did the below steps.

  1. installed depot_tools package

  2. mkdir chromium
    cd chromium
    fetch --no-history --no-hooks chromium
    
    cd src
    gclient runhooks
    gn gen out/Default
    
    ninja -C out/Default chrome
    

Build success

Now, When I tried launching the chrome (out/Default/chrome) I get the below error:

LaunchProcess: failed to execvp:

Also, I don't see libcef.so anywhere in my src folder.

Please help and guide to get a mimimal version built and running.

1

There are 1 answers

0
demo On

Before "gn gen out/Default" you need to execute these commands to get release build:

  1. gn args out/Default, and
  2. type "is_debug = false" in an opened editor

After build you can then run "cd out/Default && ninja mini_installer" to get an installer and archive of redistributable files.