summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tunnel/build.gradle2
-rw-r--r--tunnel/tools/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tunnel/build.gradle b/tunnel/build.gradle
index 9a5c6d63..023bc9ef 100644
--- a/tunnel/build.gradle
+++ b/tunnel/build.gradle
@@ -32,6 +32,7 @@ android {
release {
externalNativeBuild {
cmake {
+ targets 'libwg-go.so', 'libwg.so', 'libwg-quick.so'
arguments "-DANDROID_PACKAGE_NAME=${groupName}", "-DGRADLE_USER_HOME=${project.gradle.gradleUserHomeDir}"
}
}
@@ -39,6 +40,7 @@ android {
debug {
externalNativeBuild {
cmake {
+ targets 'libwg-go.so', 'libwg.so', 'libwg-quick.so'
arguments "-DANDROID_PACKAGE_NAME=${groupName}.debug", "-DGRADLE_USER_HOME=${project.gradle.gradleUserHomeDir}"
}
}
diff --git a/tunnel/tools/CMakeLists.txt b/tunnel/tools/CMakeLists.txt
index a63d8335..577a8623 100644
--- a/tunnel/tools/CMakeLists.txt
+++ b/tunnel/tools/CMakeLists.txt
@@ -28,5 +28,3 @@ add_custom_target(libwg-go.so WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/lib
DESTDIR=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
BUILDDIR=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/../generated-src
)
-# Hack to make it actually build as part of the default target
-add_dependencies(libwg.so libwg-go.so)