Remove unused -openssl-source option from configure

This is no longer used. The same options and mechanisms for
providing OpenSSL support that are used on other platforms
can be used on Android as well.

Task-number: QTBUG-29512
Change-Id: If6f2ad0d607818b4c91042817f6b07af9434daf7
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Fix Android compilation

Change-Id: I566b5e75dfe432eb9703be80106412a7100dee1a
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Fix compile.test on Android

By default, on Android the application template will create
a shared library, since the application on Android is actually
a Java application loading the library. This can be overridden
by using "CONFIG+=android_app" which is defined in
features/android.prf.

For compile.tests, we generally want to build regular executables,
not libraries, so we pass the configuration to the script for this
platform.

Reverts the old way of doing this, which was a hack to the
compile.test script.

Change-Id: If84cdf743f97582624b0b34ae34fd2acc8f56153
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Fix whitespace to conform with style convention

Task-number: QTBUG-29517

Change-Id: Ie9845b925442fb5912fc3e890b5af020ec47c041
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Fix licensing issue in configure test

We don't need copied android code for this test. The previous code
was effectively only verifying the existence of ashmem.h and a few
macros within that file.

Task-number: QTBUG-29505

Change-Id: Ic216bcefc32a2da2efe1dc520b76cf1dc9cd009b
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Clean up code style in Android style

Make coding style more consistent.

Change-Id: I2af8eaa6bf307db8b707c09b6cb565e106b0bb6a
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Move android third party files into 3rdparty directory

Task-number: QTBUG-29140

Change-Id: I361680defe04479bcc10c80b9915bdcad54f2386
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Move android third party files to 3rdparty directory

Task-number: QTBUG-29140

Change-Id: I9fb6622d4ef35b25dc58e2a39a8998e68c133a65
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Remove android files no longer needed

These are no longer necessary now that we only support API level
10 and up.

Change-Id: I2edfc909ab4ce74328a35c8b43251e5194bb8dbf
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Remove duplicated android message handler

Move the working implementation in androidjnimain.cpp to qlogging.cpp.
Previously, apps that tried to restore the default handler would end
up with a non-functional one.

Task-number: QTBUG-29466
Change-Id: I69aaf55f1c1942a9101c42daf46bdfdf2a8d09f9
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>