Development of this project is done in the branch master.
git clone git@github.com:nacl-webkit/webkit2-ppapi.git --branch master webkit2-ppapi
cd webkit2-ppapi
Tools/Scripts/update-nacl-deps
cd Source/chrome_deps
git checkout -b master origin/master
cd ../../Source/native_client
git checkout -b master origin/master
Tools/Scripts/build-webkit --debug --efl --cmakeargs="-DSHARED_CORE=ON"
If you don't need to test SVG, you can avoid compiling the SVG code, which is about 30% savings in time
Tools/Scripts/build-webkit --debug --efl --cmakeargs="-DSHARED_CORE=ON" --no-svg
Follow the instructions from https://developers.google.com/native-client/sdk/download to download the SDK. This is only needed for testing the nacl plugin.
Compile the examples:
cd nacl_sdk/pepper_26/examples
make
cd nacl_sdk/pepper_26/examples
python ./httpd.py
Start MiniBrowser and load http://localhost:5103/hello_world/index_newlib_Debug.html
cd Source/chrome_deps/ppapi/examples/
cmake -DCMAKE_BUILD_TYPE=Debug
make
Start MiniBrowser with the command line bellow. Note the difference from chromium's documentation, due to ecore's command line parsing requirements.
--register-pepper-plugins "/local/path/to/libppapi_example_paint_manager.so;application/x-ppapi-example-2d" /local/path/to/2d.html
or
--register-pepper-plugins "/local/path/to/libppapi_example_scripting.so;application/x-ppapi-post-message-example" /local/path/to/post_message.html