![]() The ninja generator of gyp behaves strangely on the 'libraries' field of link settings, for example, specifying path to an external library works well on both xcodebuild and msvc generators, but the ninja generator would link to the wrong path (it can neither translate relative path correctly, nor convert the command line parameter to the '-lxxx' form). The only way to make all generators work on all platforms is to use abusolute paths for external libraries. |
||
---|---|---|
.. | ||
browser | ||
common | ||
script | ||
tools | ||
vendor | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
brightray.gyp | ||
brightray.gypi | ||
LICENSE | ||
LICENSE-CHROMIUM | ||
README.md |
Brightray
Brightray is a static library that makes libchromiumcontent easier to use in applications.
Using it in your app
See brightray_example for a sample application written using Brightray.
Development
Prerequisites
- Python 2.7
- gyp
- Mac:
- Xcode
- Windows:
- Visual Studio 2010 SP1
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 brightray_example) is the only way to test it.
License
In general, everything is covered by the LICENSE
file. Some files
specify at the top that they are covered by the
LICENSE-CHROMIUM
file instead.