From d8b1c0b7b8c53791f488eea9cdab9e91c9a7845f Mon Sep 17 00:00:00 2001 From: Kr328 <39107975+Kr328@users.noreply.github.com> Date: Wed, 26 Feb 2020 14:58:29 +0800 Subject: [PATCH] remove debug symbol of clash core --- buildSrc/src/main/java/GolangBindTask.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/java/GolangBindTask.kt b/buildSrc/src/main/java/GolangBindTask.kt index eedb262..c21def9 100644 --- a/buildSrc/src/main/java/GolangBindTask.kt +++ b/buildSrc/src/main/java/GolangBindTask.kt @@ -103,7 +103,7 @@ open class GolangBindTask : DefaultTask() { .copyRecursively(goPath.resolve("src"), overwrite = true) "gomobile init".exec(goBuildPath) - "gomobile bind -target=android \"-gcflags=all=-trimpath=$goPath\" github.com/kr328/cfa/bridge".exec(goBuildPath) + "gomobile bind -target=android \"-gcflags=all=-trimpath=$goPath\" \"-ldflags=-w -s\" github.com/kr328/cfa/bridge".exec(goBuildPath) nativeOutput.deleteRecursively() javaOutput.deleteRecursively()