Android: Bearer jar shouldn't be a dependency if disabled

Task-number: QTBUG-59264
Change-Id: I960d5bff902b06ca5dda447fd60002a756a11e51
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
Daiwei Li 2015-09-15 20:06:08 -07:00 committed by Liang Qi
parent e9a7739e77
commit dfb6850b91

View File

@ -22,6 +22,7 @@ include(ssl/ssl.pri)
QMAKE_LIBS += $$QMAKE_LIBS_NETWORK QMAKE_LIBS += $$QMAKE_LIBS_NETWORK
qtConfig(bearermanagement) {
ANDROID_BUNDLED_JAR_DEPENDENCIES = \ ANDROID_BUNDLED_JAR_DEPENDENCIES = \
jar/QtAndroidBearer-bundled.jar jar/QtAndroidBearer-bundled.jar
ANDROID_JAR_DEPENDENCIES = \ ANDROID_JAR_DEPENDENCIES = \
@ -32,6 +33,7 @@ MODULE_PLUGIN_TYPES = \
bearer bearer
ANDROID_PERMISSIONS += \ ANDROID_PERMISSIONS += \
android.permission.ACCESS_NETWORK_STATE android.permission.ACCESS_NETWORK_STATE
}
MODULE_WINRT_CAPABILITIES = \ MODULE_WINRT_CAPABILITIES = \
internetClient \ internetClient \