summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/bearer/android/CMakeLists.txt3
-rw-r--r--src/plugins/bearer/android/jar/CMakeLists.txt19
2 files changed, 20 insertions, 2 deletions
diff --git a/src/plugins/bearer/android/CMakeLists.txt b/src/plugins/bearer/android/CMakeLists.txt
index a5f5393378..193cbf1fe3 100644
--- a/src/plugins/bearer/android/CMakeLists.txt
+++ b/src/plugins/bearer/android/CMakeLists.txt
@@ -1,5 +1,4 @@
# Generated from android.pro.
add_subdirectory(src)
-# TODO:
-# add_subdirectory(jar)
+add_subdirectory(jar)
diff --git a/src/plugins/bearer/android/jar/CMakeLists.txt b/src/plugins/bearer/android/jar/CMakeLists.txt
new file mode 100644
index 0000000000..804e1d0cca
--- /dev/null
+++ b/src/plugins/bearer/android/jar/CMakeLists.txt
@@ -0,0 +1,19 @@
+# special case begin
+# This is a manually edited file
+
+set(path_prefix ${CMAKE_CURRENT_SOURCE_DIR}/src/org/qtproject/qt5/android/bearer)
+
+set(java_sources
+ ${path_prefix}/QtNetworkReceiver.java
+)
+
+add_jar(QtAndroidBearer
+ INCLUDE_JARS ${QT_ANDROID_JAR}
+ SOURCES ${java_sources}
+ )
+
+install_jar(QtAndroidBearer
+ DESTINATION jar
+ COMPONENT Devel)
+
+# special case end