cocos2d/cocos2d-x — pull request #773 by folecr (2012-03-15 21:31:56+00:00)
Title: Cocosdenshion JNI use

Use JNI Helper in CocosDenshion.
Until now CocosDenshion relies on JNI_OnLoad to initialize.

This change allows CocosDenshion to be built either as a static or shared library.

It is required to use C++ correctly in the Android build.

Note : this adds a depedency to CocosDenshion so it can no longer be built independently. If necessary this can be refactored by adding a parameter to the CocosDenshion constructor that would take an initializer.