2013-02-28 17:47:47 +04:00
|
|
|
# libchromiumcontent
|
|
|
|
|
2017-01-18 21:45:59 +03:00
|
|
|
Automatically builds and provides prebuilt binaries of [Chromium Content
|
2013-02-28 17:47:47 +04:00
|
|
|
module](http://www.chromium.org/developers/content-module) and all its
|
2016-02-04 10:28:45 +03:00
|
|
|
dependencies (e.g., Blink, V8, etc.).
|
2013-02-28 17:47:47 +04:00
|
|
|
|
|
|
|
## Development
|
|
|
|
|
2013-05-16 16:39:40 +04:00
|
|
|
### Prerequisites
|
|
|
|
|
2016-01-12 06:07:56 +03:00
|
|
|
* [Linux](https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions_prerequisites.md)
|
|
|
|
* [Mac](https://chromium.googlesource.com/chromium/src/+/master/docs/mac_build_instructions.md#Prerequisites)
|
2016-10-24 03:32:06 +03:00
|
|
|
* [Windows](https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md)
|
2015-06-10 00:21:49 +03:00
|
|
|
|
2013-02-28 17:47:47 +04:00
|
|
|
### One-time setup
|
|
|
|
|
|
|
|
$ script/bootstrap
|
|
|
|
|
|
|
|
### Building
|
|
|
|
|
2014-10-11 19:37:06 +04:00
|
|
|
$ script/update -t x64
|
|
|
|
$ script/build -t x64
|
2013-02-28 17:47:47 +04:00
|
|
|
|
|
|
|
### Updating project files
|
|
|
|
|
2016-12-24 04:15:24 +03:00
|
|
|
If you switch to a different Chromium release, or modify
|
|
|
|
files inside the `chromiumcontent` directory, you should run:
|
2013-02-28 17:47:47 +04:00
|
|
|
|
|
|
|
$ script/update
|
|
|
|
|
|
|
|
This will regenerate all the project files. Then you can build again.
|
2015-06-17 08:25:43 +03:00
|
|
|
|
|
|
|
### Building for ARM target
|
|
|
|
|
2016-12-24 04:15:24 +03:00
|
|
|
> TODO: This section may be out of date, needs review
|
|
|
|
|
2015-06-17 08:25:43 +03:00
|
|
|
```bash
|
|
|
|
$ ./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
|
|
|
|
```
|