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

[cca]Add the [email protected] for cca #3836

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qiuzhong
Copy link
Contributor

@qiuzhong qiuzhong commented Nov 3, 2016

Add cordova-android 6.0.0 explicitly for cca build.

Impacted tests(approved): new 0, update 2, delete 0
Unit test platform: Crosswalk Project for Android 23.53.589.0
Unit test result summary: pass 2, fail 0, block 0

BUG=https://crosswalk-project.org/jira/browse/CTS-1916

@qiuzhong
Copy link
Contributor Author

qiuzhong commented Nov 3, 2016

@haoxli , @Honry

@qiuzhong qiuzhong changed the title [cca]Add the [email protected] for cca [cca]Add the [email protected] for cca Nov 3, 2016
@Honry
Copy link
Contributor

Honry commented Nov 4, 2016

But what about testing the newer version in future?

@qiuzhong
Copy link
Contributor Author

qiuzhong commented Nov 7, 2016

Add a text to store the cordova-android version?

@Honry
Copy link
Contributor

Honry commented Nov 7, 2016

Can we expose a param for specific version of cordova-android?

@qiuzhong
Copy link
Contributor Author

qiuzhong commented Nov 7, 2016

Yes. I think that's a good way.

@qiuzhong
Copy link
Contributor Author

qiuzhong commented Nov 7, 2016

Updated, PTAL

@@ -181,7 +181,7 @@ def create(appname, pkgname, mode, sourcecodepath, replace_index_list, self, ext
do_remove(glob.glob(os.path.join(project_root, "www")))
do_copy(sourcecodepath, os.path.join(tool_path, appname, "www"))

def buildGoogleApp(appname, sourcecodepath, self):
def buildGoogleApp(appname, sourcecodepath, self, cordova_android_ver = "6.0.0"):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think make default value "6.0.0" is a good point, just ignore it. And pass specific version in the param.

Copy link
Contributor Author

@qiuzhong qiuzhong Nov 7, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That will require the calling of this function more than 1 place.

Add cordova-android 6.0.0 explicitly for cca build.

Impacted tests(approved): new 0, update 2, delete 0
Unit test platform: Crosswalk Project for Android 23.53.589.0
Unit test result summary: pass 2, fail 0, block 0

BUG=https://crosswalk-project.org/jira/browse/CTS-1916
@qiuzhong qiuzhong force-pushed the CTS-1916 branch 2 times, most recently from 554f1fe to 1e691b9 Compare November 7, 2016 02:15
@qiuzhong
Copy link
Contributor Author

qiuzhong commented Nov 7, 2016

@Honry , updated

@Honry
Copy link
Contributor

Honry commented Nov 7, 2016

@haoxli, please also take a look.

@haoxli
Copy link
Contributor

haoxli commented Nov 14, 2016

Prefer to add cordova-android version following the version of cordova-plugin-crosswalk-webview, not fix it as 6.0.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants