Added a Android.mk to gtest to build the gtest library with the unit tests
Removed some files from the Android.mk of the gtest library because they are not for the library but for some convenience or test scripts
Extended the Android.mk for the OUYA target with the conditional gtest inclusion, if the tests are build
Added a new possible argument to the build_native.sh bash script, which will be used to include the gtest lib if we build the tests
Set BUILD_TESTS=true for the build process of the tests. This variable is used by the Android.mk to include the gtest lib if needed
Added a make target for the tests, which calls the build_native.sh with the new -t parameter to include gtest
Added a alternative case, if no tests are build otherwise it would lead to an empty string the ndk-build parameters, which causes ndk-build to fail
Added different source files for building the app or the associated tests, which needs a test runner
Fixed wrong JNI method call. GetAxisValue returns a float not a boolean.
Added a CocosUnitTestResultPrinter, based on the PrettyUnitTestResultPrinter of gtest 1.6, which uses CCLOG instead of printf, because we need the logcat output on android devices, which CCLOG handles automatically.
Added CocosUnitTestResultPrinter to ouya tests targets, which enables seeing the test result via logcat
Extracted the listing of the LOCAL_SRC_FILES from the OUYA specific Android.mk to two Android.mks in the folders Classes (for the application flies) and Tests (for the unit tests). This way, we can reuse the LOCAL_SRC_FILES in the OUYA and Android target.
Added the unit test building and extraction of the LOCAL_SRC_FILES to the android target Android.mk
Removed unnecessary output of $DIR, because its empty all the time
Fixed refactoring left over. It's $APP_OUYA_ROOT in the build_native.sh for the OUYA target
Removed debugging leftover. Printing the work directory in the Makefile is unnecessary.
Added the unit tests building to the android targets build_native.sh and Makefile analog to the ones in the OUYA target
Added a short paragraph about gtest to the README.md