electron / libchromiumcontent

Shared library build of Chromium’s Content module
MIT License
485 stars 183 forks source link

howto compile libchromiumcontent 3.0.0 electron #687

Closed manang closed 6 years ago

manang commented 6 years ago

Hi, I want to modify a part of chromium src and I want to use it in electron. could you tell me the steps that I have to follow to create a new electron distribution? Thank you

Angelo

nornagon commented 6 years ago

https://github.com/electron/electron/blob/3-0-x/docs/development/build-system-overview.md, though the build system for Electron 4.0.x will be very different (see https://github.com/electron/electron/blob/master/docs/development/build-instructions-gn.md)

manang commented 6 years ago

My problem is how to modify libchromiumcontent. I followed the guide in libchromiumcontent repo, but it is no right.

Il giorno gio 20 set 2018 alle ore 19:12 Jeremy Apthorp < notifications@github.com> ha scritto:

https://github.com/electron/electron/blob/3-0-x/docs/development/build-system-overview.md, though the build system for Electron 4.0.x will be very different (see https://github.com/electron/electron/blob/master/docs/development/build-instructions-gn.md )

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/electron/libchromiumcontent/issues/687#issuecomment-423262026, or mute the thread https://github.com/notifications/unsubscribe-auth/AFpk63peoXQNc1FQa_YpygmxMI4pQwO9ks5uc8yQgaJpZM4Wyi1B .

nornagon commented 6 years ago

If you pass --build_debug_libcc to bootstrap.py, you'll build a local copy of libchromiumcontent under vendor/ that you should be able to modify and rebuild by re-bootstrapping. ./script/bootstrap.py -v --build_debug_libcc

manang commented 6 years ago

Hi, when I bootstrap in this way, is it compiled? thank you very much for your help

nornagon commented 6 years ago

yes, that command will fetch and compile libcc on your machine.