YorkShen commented on a change in pull request #3167: Feature(Android): Support 
x86_64
URL: https://github.com/apache/incubator-weex/pull/3167#discussion_r392579430
 
 

 ##########
 File path: .travis.yml
 ##########
 @@ -141,9 +152,11 @@ script:
         if npm run danger -- ci --dangerfile ./dangerfile-android.js | grep -q 
"hasAndroidFile" ; then
           cd android
           ./gradlew clean assembleRelease --quiet -PbuildRuntimeApi=true 
${GRADLE_ABI} -PapachePackageName="false" || exit 1
-          ./gradlew assembleRelease --quiet ${GRADLE_ABI} 
-PbuildRuntimeApi=false 
-Pjsc_url="https://raw.githubusercontent.com/apache/incubator-weex/release/0.26/android/sdk/weex_sdk-0.26.0.aar";
 -Paar_name="weex_sdk" -PJSInterpolatorName="JavaScriptCore" 
-PapachePackageName="false" || exit 1
           ./gradlew :weex_sdk:assembleRelease --quiet -PbuildRuntimeApi=true 
${GRADLE_ABI} -PapachePackageName="true" || exit 1
-          ./gradlew :weex_sdk:assembleRelease --quiet  ${GRADLE_ABI} 
-PbuildRuntimeApi=false 
-Pjsc_url="https://raw.githubusercontent.com/apache/incubator-weex/release/0.26/android/sdk/weex_sdk-0.26.0.aar";
 -Paar_name="weex_sdk" -PJSInterpolatorName="JavaScriptCore" 
-PapachePackageName="true" || exit 1
+          if [[ "$ABI" != "x86_64" ]]; then
+            ./gradlew assembleRelease --quiet ${GRADLE_ABI} 
-PbuildRuntimeApi=false 
-Pjsc_url="https://raw.githubusercontent.com/apache/incubator-weex/release/0.26/android/sdk/weex_sdk-0.26.0.aar";
 -Paar_name="weex_sdk" -PJSInterpolatorName="JavaScriptCore" 
-PapachePackageName="false" || exit 1
 
 Review comment:
   Though we deleted `JavaScriptCore.so` from our code, some developers still 
want it for some reasons.
   
   So, with `Pjsc_url=0.26xxx`, Apache Weex will import `JavaScriptCore.so` as 
a JS interpretator. This is a edge case in Travis CI, and never happened in a 
release code.
   
   Developers have the freedom of choosing what JS interpretator they want, and 
I'd like our test case can cover some of their choice on JS interpretator.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to