Shared library build of Chromium’s Content module
Перейти к файлу
Kevin Sawicki de11c1bd13 Upgrade depot_tools 2017-01-17 12:54:53 -08:00
chromiumcontent Make the "shared_library" configuration work for Electron's debug build. 2017-01-17 12:54:53 -08:00
patches Make sure that `libffmpeg.dylib` has the correct "install name" even in non-component builds. 2017-01-17 12:54:53 -08:00
patches-mas Update no_private_api.patch 2016-09-14 16:47:21 +09:00
resources Use our own template 2015-06-29 10:33:58 +08:00
script Make the "shared_library" configuration work for Electron's debug build. 2017-01-17 12:54:53 -08:00
tools The directory of "src" has changed 2016-08-02 12:42:32 +09:00
vendor Upgrade depot_tools 2017-01-17 12:54:53 -08:00
.gitignore Ignore .gclient file 2017-01-17 12:54:53 -08:00
.gitmodules Use ninja from depot_tools 2014-10-09 15:31:38 +08:00
LICENSE.txt Add README and LICENSE 2013-02-28 08:47:47 -05:00
README.md Use GN instead of GYP to build Chromium sources 2017-01-17 12:54:53 -08:00
VERSION Upgrade to Chrome 53.0.2785.143 2016-11-07 21:42:12 -08:00

README.md

libchromiumcontent

Automatially builds and provides prebuilt binaries of Chromium Content module and all its dependencies (e.g., Blink, V8, etc.).

Development

Prerequisites

One-time setup

$ script/bootstrap

Assuming you have set up depot_tools according to the instructions above, checkout Chromium sources and switch to the correct version.

$ fetch chromium
$ cd src
$ git checkout $(cat ../VERSION)
$ gclient sync --with_branch_heads

Building

$ script/update -t x64
$ script/build -t x64

Updating project files

If you switch to a different Chromium release, or modify files inside the chromiumcontent directory, you should run:

$ script/update

This will regenerate all the project files. Then you can build again.

Building for ARM target

TODO: This section may be out of date, needs review

$ ./script/bootstrap
$ ./script/update -t arm
$ cd vendor/chromium/src
$ ./build/install-build-deps.sh --arm
$ ./chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py --arch=arm
$ cd -
$ ./script/build -t arm