summaryrefslogtreecommitdiff
path: root/libs/samba/build.gradle.kts
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2024-07-22 23:06:16 +0200
committerJoel Klinghed <the_jk@spawned.biz>2024-07-23 00:04:58 +0200
commit09bc93ed756361d396890c389b01315cdb5e32fd (patch)
tree3a2718a2b5a3584a489d009a532526239f6b45a5 /libs/samba/build.gradle.kts
parent42564c71cfb70c28831c662a3b6bf4084e079353 (diff)
Add initial code for samba implementation based on libsmb2
Diffstat (limited to 'libs/samba/build.gradle.kts')
-rw-r--r--libs/samba/build.gradle.kts26
1 files changed, 26 insertions, 0 deletions
diff --git a/libs/samba/build.gradle.kts b/libs/samba/build.gradle.kts
new file mode 100644
index 0000000..79827ee
--- /dev/null
+++ b/libs/samba/build.gradle.kts
@@ -0,0 +1,26 @@
+plugins {
+ alias(libs.plugins.android.library)
+}
+
+android {
+ namespace = "org.the_jk.cleversync.samba"
+
+ externalNativeBuild {
+ cmake {
+ path("CMakeLists.txt")
+ }
+ }
+
+ buildTypes {
+ debug {
+ externalNativeBuild { cmake { cFlags += listOf("-g") } }
+ }
+ release {
+ externalNativeBuild { cmake { cFlags += listOf("-O3") } }
+ }
+ }
+}
+
+dependencies {
+ implementation(project(":libs:io"))
+}