Giter Club home page Giter Club logo

chromium-lite's Introduction

Chromium-Lite build system

Content-Shell screenshot

An attempt to cut down Chromium, and make it more comprehensive, by doing the following :

  • extracting Linux-only sources (removing MacOS, Win32, Android... source files);
  • linking with system libraries (system libnss instead of local Google BoringSSL e.g.);
  • configuring with CMake instead of Gyp ;
  • compiling with GCC instead of Clang/LLVM ;
  • disabling unneeded optimizations ;
  • making debugging easier.

How to clone the source

To grab the whole Chromium source I am using (it is around 12 GB, thus schedule accordingly) :

$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $ export PATH="$PWD/depot_tools:$PATH" $ gclient config https://github.com/Tarnyko/chromium-lite.git
--name=chromium-lite --deps-file DEPS $ gclient sync --nohooks

How to build

Relatively to the cloning root tree, here is the root folder of each package : 01a-base) base 01b-skia) third_party/skia 01c-v8) v8 02a-url) url 02b-crypto) crypto 02c-ipc) ipc 02d-sdch) sdch 02e-gpu_command_buffer) gpu/command_buffer 03a-net) net 03d-ui) ui/gfx 04a-ozone) ozone 04d-ui_events) ui/events 05a-media) media 05b-ui_base) ui/base 06b-ui_gl) ui/gl 07b-gpu) gpu 08a-cc) cc 09a-blink) third_party/WebKit/Source

For each "recipe", please copy it this folder the "CMakeList.txt" file, and any .cmake and .patch file present. Then, move to it, and apply the patches with : $ patch -p0 < Finally, build the package : $ mkdir Build ; cd Build $ cmake .. (for Skia : $ cmake .. -DBACKEND=GLX -DCMAKE_TOOLCHAIN_FILE=../Toolchain-x86_64.cmake for others : $ cmake .. -DBACKEND=X11 -DCMAKE_TOOLCHAIN_FILE=../Toolchain-x86_64.cmake

chromium-lite's People

Contributors

tarnyko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.