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

Commit ac80d72

Browse files
committed
* Remove sharedLibrary for android.
1 parent 4a9b954 commit ac80d72

File tree

9 files changed

+4
-5
lines changed

9 files changed

+4
-5
lines changed

android/sdk/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ assets/weex-main-jsfm.js
1616
assets/weex-rax-api.js
1717
.externalNativeBuild
1818

19-
/libs/armeabi
19+
/libs/
2020
/src/main/jniLibs
2121

2222
/src/legacyRelease/

android/sdk/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ android {
102102

103103
def android_project_dir = projectDir
104104

105-
def buildRuntimeApi = project.hasProperty('buildRuntimeApi') ? project.property('buildRuntimeApi').toBoolean() : false
106-
def jsInterpolatorName = project.hasProperty('JSInterpolatorName') ? project.property('JSInterpolatorName') : 'JavaScriptCore'
105+
def buildRuntimeApi = project.hasProperty('buildRuntimeApi') ? project.property('buildRuntimeApi').toBoolean() : true
106+
def jsInterpolatorName = project.hasProperty('JSInterpolatorName') ? project.property('JSInterpolatorName') : 'jsc'
107107

108108
defaultPublishConfig project.useApachePackageName ? 'apacheRelease' : 'legacyRelease'
109109

@@ -194,7 +194,6 @@ android {
194194

195195
sourceSets {
196196
main.assets.srcDirs = ['assets']
197-
main.jniLibs.srcDirs = ['libs']
198197
apacheRelease.java.srcDirs = ['src/main/java']
199198
apacheRelease.manifest.srcFile(new File('src/main/AndroidManifest.xml'))
200199
legacyRelease.java.srcDirs = ['src/legacyRelease/java']
-8.83 MB
Binary file not shown.

android/sdk/libs/arm64-v8a/libWTF.so

-510 KB
Binary file not shown.
-4.99 MB
Binary file not shown.
-462 KB
Binary file not shown.
-11.6 MB
Binary file not shown.

android/sdk/libs/x86/libWTF.so

-477 KB
Binary file not shown.

weex_core/Source/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ add_definitions(-DDOM_PARSER_LOG=0)
4242
add_definitions(-DDEBUG=1)
4343

4444
message("ANDROID_PROJECT_DIR:"${ANDROID_PROJECT_DIR})
45-
set(LOCAL_LIBRARIES_DIR ${ANDROID_PROJECT_DIR}/libs/${ANDROID_ABI})
45+
set(LOCAL_LIBRARIES_DIR ${ANDROID_PROJECT_DIR}/src/main/jniLibs/${ANDROID_ABI})
4646

4747
if ("${ANDROID_ABI}" STREQUAL "x86")
4848
# todo

0 commit comments

Comments
 (0)