ae99d29f6b
We want to change the signature of {CreateDefaultPlatform} in the V8 API to return a unique_ptr instead of a raw pointer to indicate that the caller owns the platform. With this change we prepare pdfium for this change. R=egdaniel@google.com Change-Id: Ib0bb743ca0acd98018cb28828890868f1e0fc612 Reviewed-on: https://skia-review.googlesource.com/69320 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com> |
||
---|---|---|
.. | ||
compare | ||
js | ||
DrawingMethods.cpp | ||
DrawingMethods.h | ||
Global.cpp | ||
Global.h | ||
JsContext.cpp | ||
JsContext.h | ||
Path2D.cpp | ||
Path2D.h | ||
Path2DBuilder.cpp | ||
Path2DBuilder.h | ||
README | ||
SkV8Example.cpp | ||
SkV8Example.h |
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/js/speed.js