Fedora User
Fedora User

Reputation: 21

How to build chromium with minimum features

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.

Upvotes: 2

Views: 3506

Answers (1)

demo
demo

Reputation: 11

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.

Upvotes: 1

Related Questions