diff options
author | Otto Ryynänen <otto.ryynanen@qt.io> | 2017-04-21 15:49:30 +0300 |
---|---|---|
committer | Otto Ryynänen <otto.ryynanen@qt.io> | 2017-04-24 12:28:09 +0000 |
commit | ca9ad4f3f6af2394b23dae288c1ef2b2faaa8141 (patch) | |
tree | 5849bd3090c5ef47f6672b330affde96723ada92 /tests/auto | |
parent | 5391a325eadcee86a494aa96a3f8edae1be55556 (diff) |
Support for Q_OS_ANDROID_EMBEDDED and android-embedded builds
The Embedded Android build (Boot to Qt Android injection) is defined by
having both Q_OS_ANDROID and Q_OS_ANDROID_EMBEDDED flags defined,
as well as having Qt config android-embedded.
Those flags are set in mkspecs when building for embedded Android.
This commit enables the possibility to build embedded Android builds.
(i.e. Qt build for Android baselayer only, without JNI)
Change-Id: I2ded43d7ed46a99ba70301f07a791ed4a148c6c0
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro | 2 | ||||
-rw-r--r-- | tests/auto/qbluetoothsocket/qbluetoothsocket.pro | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro b/tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro index 0eae09de..6a072784 100644 --- a/tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro +++ b/tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro @@ -6,6 +6,6 @@ QT = core concurrent bluetooth testlib osx:QT += widgets -android { +android:!android-embedded { DEFINES += QT_ANDROID_BLUETOOTH } diff --git a/tests/auto/qbluetoothsocket/qbluetoothsocket.pro b/tests/auto/qbluetoothsocket/qbluetoothsocket.pro index 32fc6558..83bc417c 100644 --- a/tests/auto/qbluetoothsocket/qbluetoothsocket.pro +++ b/tests/auto/qbluetoothsocket/qbluetoothsocket.pro @@ -11,6 +11,6 @@ OTHER_FILES += \ osx { DEFINES += QT_OSX_BLUETOOTH -} else: android { +} else:android:!android-embedded { DEFINES += QT_ANDROID_BLUETOOTH } |