Remove Nokia references from android code

Task-number: QTBUG-29516

Change-Id: Ic1b5126e98a5134852071ed9032dd1c035853070
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Remove all 3rdparty files for Android.

Android API-9+ contains these files.

Change-Id: If19b21ff8c7b3b2317bb5935d864b8e3daafbdaa
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Whitespace fixes

Task-number: QTBUG-29513

Change-Id: I7740599e941f10e734a22386229c63064e10b161
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Make -force-debug-info option work

Should be applied to Qt modules. Not interesting for third party
users.

Change-Id: Iaa2cd9bf0224373d9c25e9f34f55f158c53e9583
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Use Qt's json parser in Android style

Replace the embedded 3rdparty json parser with Qt's own
Json parser. No need to include a second parser in Qt.

This also improves performance when loading style.json which
is done on startup for all apps using the Android style.

(Nexus 4: 176 ms for loading/parsing with new parser, 219 ms
with the specialized style parser.)

Task-number: QTBUG-29536
Change-Id: Ic35871e7277d8ad675ae971164abf4ba3e8c1658
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Remove code that only makes sense on android

Task-number: QTBUG-29532

Change-Id: Id6750af9bf06cff21ef988446b9b6bc0da5addca
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Remove ashmem compile test.

Ashmem use in Qt isn't guarded by this anyway (the conditional checked is just
android), so this doesn't really serve much purpose.

Some basic research seems to imply that ashmem has always existed in Android
anyway, so there's no point changing the test.

Change-Id: Id67d4476cc6c4d6e7a60a395b26f2185d8337e8d
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Simplify #ifdef structure

Task-number: QTBUG-29525

Change-Id: Iea197f02679a448d0031b67b94d7b31bb0c5e7d3
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Android: Don't touch the QT variable

Task-number: QTBUG-29518

Change-Id: I88c158a3f22870f0dbd4dd63a54be0dfe2021f1f
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Revert special case for Q_OS_ANDROID

Previously, with Qt for Android, buttons would emit clicked() if
the mouse (i.e. finger) was released outside the button. This is
not how most Android apps behave. The standard Qt desktop behaviour
is not precisely right either, but I argue that it is closer. Most
importantly, this gets rid of platform-specific code that does not
belong here.

Change-Id: I82ea26e70d7caed48ff587c5f5fcaeabfc875e3d
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>