Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[Android] Copy so. (#2454)
Browse files Browse the repository at this point in the history
Use a dedicated way to copy unstripped .so file without the importable file path.
  • Loading branch information
YorkShen authored and lucky-chen committed May 17, 2019
1 parent 151c469 commit 4da0cea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,11 @@ bintray {
afterEvaluate {
transformNativeLibsWithStripDebugSymbolForRelease << {
copy{
from new File(project.buildDir, "intermediates/transforms/mergeJniLibs/release/folders/2000/3/main/lib")
from transformNativeLibsWithMergeJniLibsForRelease
into new File(project.buildDir, "unstrippedSo")
include '**/libweexjss.so', '**/libweexcore.so'
eachFile {
it.path = "${it.relativePath.segments.first()}_${it.name}"
it.path = "${it.relativePath.segments[5]}_${it.name}"
}
}
}
Expand Down

0 comments on commit 4da0cea

Please sign in to comment.