2013-03-13 19:12:05 +00:00
|
|
|
|
# Brightray
|
|
|
|
|
|
|
|
|
|
Brightray is a static library that makes
|
2013-05-21 18:57:52 +00:00
|
|
|
|
[libchromiumcontent](https://github.com/brightray/libchromiumcontent) easier to
|
2013-03-13 19:12:05 +00:00
|
|
|
|
use in applications.
|
|
|
|
|
|
|
|
|
|
## Using it in your app
|
|
|
|
|
|
2013-05-21 18:57:52 +00:00
|
|
|
|
See [brightray_example](https://github.com/brightray/brightray_example) for a
|
2013-03-13 19:12:05 +00:00
|
|
|
|
sample application written using Brightray.
|
|
|
|
|
|
|
|
|
|
## Development
|
|
|
|
|
|
2013-05-16 13:08:39 +00:00
|
|
|
|
### Prerequisites
|
|
|
|
|
|
|
|
|
|
* Python 2.7
|
|
|
|
|
* gyp
|
2013-08-14 12:17:52 +00:00
|
|
|
|
* Linux:
|
|
|
|
|
* Clang 3.0
|
2013-05-16 13:08:39 +00:00
|
|
|
|
* Mac:
|
|
|
|
|
* Xcode
|
|
|
|
|
* Windows:
|
|
|
|
|
* Visual Studio 2010 SP1
|
|
|
|
|
|
2013-03-13 19:12:05 +00:00
|
|
|
|
### One-time setup
|
|
|
|
|
|
|
|
|
|
You must previously have built and uploaded libchromiumcontent using its
|
|
|
|
|
`script/upload` script.
|
|
|
|
|
|
|
|
|
|
$ script/bootstrap http://base.url.com/used/by/script/upload
|
|
|
|
|
|
|
|
|
|
### Building
|
|
|
|
|
|
|
|
|
|
$ script/build
|
|
|
|
|
|
|
|
|
|
Building Brightray on its own isn’t all that interesting, since it’s just a
|
|
|
|
|
static library. Building it into an application (like
|
2013-05-21 18:57:52 +00:00
|
|
|
|
[brightray_example](https://github.com/brightray/brightray_example)) is the only
|
2013-03-13 19:12:05 +00:00
|
|
|
|
way to test it.
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
|
|
In general, everything is covered by the [`LICENSE`](LICENSE) file. Some files
|
|
|
|
|
specify at the top that they are covered by the
|
|
|
|
|
[`LICENSE-CHROMIUM`](LICENSE-CHROMIUM) file instead.
|