This is an automated email from the ASF dual-hosted git repository.

kyork 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 637242a  * [Android] Remove libweexcore from git (#1830)
637242a is described below

commit 637242a5eccde83eb823f91ec66c1bb5ce1d6ba5
Author: YorkShen <shenyua...@gmail.com>
AuthorDate: Tue Nov 27 17:48:25 2018 +0800

    * [Android] Remove libweexcore from git (#1830)
    
    As we can build libweexcore.so from source, there is no need to trace it in 
git.
    
    excludes 'com/taobao/weex/utils/WXDataStructureUtil.java' for license as 
well
---
 android/sdk/.gitignore                      |   5 ++++-
 android/sdk/build.gradle                    |   6 +-----
 android/sdk/libs/armeabi-v7a/libweexcore.so | Bin 1399344 -> 0 bytes
 android/sdk/libs/armeabi/libweexcore.so     | Bin 1407536 -> 0 bytes
 android/sdk/libs/x86/libweexcore.so         | Bin 2742964 -> 0 bytes
 5 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/android/sdk/.gitignore b/android/sdk/.gitignore
index 2a5a057..25d1179 100755
--- a/android/sdk/.gitignore
+++ b/android/sdk/.gitignore
@@ -13,4 +13,7 @@ gen
 lint.xml
 project.properties
 assets/main.js
-.externalNativeBuild
\ No newline at end of file
+.externalNativeBuild
+libs/armeabi/libweexcore.so
+libs/armeabi-v7a/libweexcore.so
+libs/x86/libweexcore.so
\ No newline at end of file
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index f31a4f6..c696b11 100755
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -44,11 +44,6 @@ android {
     compileSdkVersion project.compileSdkVersion
     buildToolsVersion project.buildToolsVersion
     resourcePrefix "weex"
-
-    delete 'libs/armeabi/libweexcore.so'
-    delete 'libs/armeabi-v7a/libweexcore.so'
-    delete 'libs/x86/libweexcore.so'
-
     useLibrary 'org.apache.http.legacy'
     copy {
         from '../../pre-build'
@@ -211,6 +206,7 @@ if(file('../license/LICENSE').exists()){
         header = file('../license/LICENSE')
         mapping('cpp','JAVADOC_STYLE')
         mapping('h','JAVADOC_STYLE')
+        excludes(['com/taobao/weex/utils/WXDataStructureUtil.java'])
     }
 
     task weex_core_license(type: 
com.hierynomus.gradle.license.tasks.LicenseFormat){
diff --git a/android/sdk/libs/armeabi-v7a/libweexcore.so 
b/android/sdk/libs/armeabi-v7a/libweexcore.so
deleted file mode 100644
index 4b1cac4..0000000
Binary files a/android/sdk/libs/armeabi-v7a/libweexcore.so and /dev/null differ
diff --git a/android/sdk/libs/armeabi/libweexcore.so 
b/android/sdk/libs/armeabi/libweexcore.so
deleted file mode 100644
index 1be8d2b..0000000
Binary files a/android/sdk/libs/armeabi/libweexcore.so and /dev/null differ
diff --git a/android/sdk/libs/x86/libweexcore.so 
b/android/sdk/libs/x86/libweexcore.so
deleted file mode 100644
index e4c3a3b..0000000
Binary files a/android/sdk/libs/x86/libweexcore.so and /dev/null differ

Reply via email to