2013-02-28 17:47:47 +04:00
|
|
|
# libchromiumcontent
|
|
|
|
|
|
|
|
A single, shared library that includes the [Chromium Content
|
|
|
|
module](http://www.chromium.org/developers/content-module) and all its
|
|
|
|
dependencies (e.g., WebKit, V8, etc.).
|
|
|
|
|
|
|
|
## Using it in your app
|
|
|
|
|
|
|
|
TODO
|
|
|
|
|
|
|
|
## Development
|
|
|
|
|
2013-05-16 16:39:40 +04:00
|
|
|
### Prerequisites
|
|
|
|
|
|
|
|
* Python 2.7
|
2014-07-29 01:03:55 +04:00
|
|
|
|
|
|
|
#### Mac
|
|
|
|
|
|
|
|
* Xcode 5.1
|
|
|
|
|
|
|
|
#### Windows
|
|
|
|
|
2015-03-29 05:14:06 +03:00
|
|
|
* Visual Studio 2013 Professional Update 4
|
2014-07-29 01:03:55 +04:00
|
|
|
|
|
|
|
#### Linux
|
2013-05-16 16:39:40 +04:00
|
|
|
|
2014-07-29 01:05:05 +04:00
|
|
|
##### CentOS 6.5
|
|
|
|
|
2015-06-01 05:20:16 +03:00
|
|
|
`sudo yum install -y pciutils-devel git tar gcc pkg-config atk-devel pulseaudio-libs-devel gdk-devel gdk-pixbuf2-devel gdk-pixbuf2 pygtk2-devel libXtst-devel libXScrnSaver-devel dbus-devel GConf2-devel libgnome-keyring-devel libexif-devel gperf`
|
2014-07-29 01:05:05 +04:00
|
|
|
|
2015-06-10 00:21:49 +03:00
|
|
|
##### Ubuntu 14.04
|
|
|
|
|
|
|
|
`sudo apt-get install -y build-essential bison libasound2-dev libatk1.0-dev libcups2-dev libexif-dev
|
|
|
|
libgconf2-dev libgnome-keyring-dev libgtk2.0-dev libpci-dev libpulse libxtst-dev gperf`
|
|
|
|
|
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
|
|
|
|
|
2013-07-02 01:00:38 +04:00
|
|
|
If you change `VERSION` to point to a different Chromium release, or modify
|
2013-02-28 17:47:47 +04:00
|
|
|
`chromiumcontent.gyp{,i}`, you should run:
|
|
|
|
|
|
|
|
$ 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
|
|
|
|
|
|
|
|
```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
|
|
|
|
```
|