зеркало из https://github.com/mozilla/moz-skia.git
24e0496e8d
BUG=skia: R=robertphillips@google.com Author: jcgregorio@google.com Review URL: https://codereview.chromium.org/186783004 git-svn-id: http://skia.googlecode.com/svn/trunk@13660 2bbb7eff-a529-9590-31e7-b0007b416f81 |
||
---|---|---|
.. | ||
compare | ||
BaseContext.cpp | ||
BaseContext.h | ||
Global.cpp | ||
Global.h | ||
JsContext.cpp | ||
JsContext.h | ||
Path2D.cpp | ||
Path2D.h | ||
README | ||
SkV8Example.cpp | ||
SkV8Example.h | ||
gears.js | ||
path.js | ||
sample.js | ||
snow.js | ||
speed.js |
README
Build Instructions ================== V8 gyp is not quite standard and Chromium uses a Python script to work around that, for now we have some manual steps to do before you can compile and run this sample: 1. Uncomment out the v8 dep in DEPS and re-run gclient sync. 2. Run 'make dependencies' in third_pary/externals/v8. 3. Run 'make native' in third_pary/externals/v8. 4. Uncomment SkV8Example in gyp/everything.gyp. 5. Run 'ninja -C out/Debug SkV8Example' 6. Run the sample as: ./out/Debug/SkV8Example --infile experimental/SkV8Example/speed.js