skia2/experimental/SkV8Example
Andreas Haas ae99d29f6b [v8-platform] Store the platform in a unique_ptr
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>
2017-11-09 17:19:14 +00:00
..
compare Fixup references to the js files from the HTML files in SkV8Example. 2014-10-27 07:19:44 -07:00
js SkV8Sample: Now with Path2D and Path2DBuilder. 2014-10-29 05:33:28 -07:00
DrawingMethods.cpp SkV8Sample: Now with Path2D and Path2DBuilder. 2014-10-29 05:33:28 -07:00
DrawingMethods.h Start moving to the new canvas structure. 2014-10-27 10:27:01 -07:00
Global.cpp Doing the "using namespace" penance by adding in v8:: everywhere, like I should have to begin with. 2014-10-24 12:49:17 -07:00
Global.h Doing the "using namespace" penance by adding in v8:: everywhere, like I should have to begin with. 2014-10-24 12:49:17 -07:00
JsContext.cpp Doing the "using namespace" penance by adding in v8:: everywhere, like I should have to begin with. 2014-10-24 12:49:17 -07:00
JsContext.h Start moving to the new canvas structure. 2014-10-27 10:27:01 -07:00
Path2D.cpp SkV8Sample: Now with Path2D and Path2DBuilder. 2014-10-29 05:33:28 -07:00
Path2D.h SkV8Sample: Now with Path2D and Path2DBuilder. 2014-10-29 05:33:28 -07:00
Path2DBuilder.cpp SkV8Sample: Now with Path2D and Path2DBuilder. 2014-10-29 05:33:28 -07:00
Path2DBuilder.h SkV8Sample: Now with Path2D and Path2DBuilder. 2014-10-29 05:33:28 -07:00
README Move .js files to their own directory 2014-10-24 20:02:31 -07:00
SkV8Example.cpp [v8-platform] Store the platform in a unique_ptr 2017-11-09 17:19:14 +00:00
SkV8Example.h C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00

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