You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by do...@apache.org on 2019/04/11 03:50:52 UTC
[incubator-weex] branch master updated: * [android] Copy so files
to build dir. (#2303)
This is an automated email from the ASF dual-hosted git repository.
dongyayun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
The following commit(s) were added to refs/heads/master by this push:
new 4e272fb * [android] Copy so files to build dir. (#2303)
4e272fb is described below
commit 4e272fb3fc948952bf964a9319f319f510897626
Author: YorkShen <sh...@gmail.com>
AuthorDate: Thu Apr 11 11:50:46 2019 +0800
* [android] Copy so files to build dir. (#2303)
* Copy so files to build dir.
* * [Android] Add suffix
* * [Android] Change directory structure
---
android/sdk/build.gradle | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index 04b24c7..039b6d6 100755
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -358,4 +358,17 @@ bintray {
name = project.version
}
}
+}
+
+afterEvaluate {
+ transformNativeLibsWithStripDebugSymbolForRelease << {
+ copy{
+ from new File(project.buildDir, "intermediates/transforms/mergeJniLibs/release/folders/2000/3/main/lib")
+ into new File(project.buildDir, "unstrippedSo")
+ include '**/libweexjss.so', '**/libweexcore.so'
+ eachFile {
+ it.path = "${it.relativePath.segments.first()}_${it.name}"
+ }
+ }
+ }
}
\ No newline at end of file