summaryrefslogtreecommitdiff
path: root/plugins/cordova-plugin-crosswalk-webview/PlatformScriptsWorkflow.md
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/cordova-plugin-crosswalk-webview/PlatformScriptsWorkflow.md')
-rw-r--r--plugins/cordova-plugin-crosswalk-webview/PlatformScriptsWorkflow.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/cordova-plugin-crosswalk-webview/PlatformScriptsWorkflow.md b/plugins/cordova-plugin-crosswalk-webview/PlatformScriptsWorkflow.md
new file mode 100644
index 00000000..aa31dcd0
--- /dev/null
+++ b/plugins/cordova-plugin-crosswalk-webview/PlatformScriptsWorkflow.md
@@ -0,0 +1,30 @@
+### Directions for Non-CLI Android-Only cordova project
+
+* Pull down the Cordova Android
+```
+$ git clone https://github.com/apache/cordova-android.git
+```
+* Generate a project, e.g creating HelloWorld
+```
+$ /path/to/cordova-android/bin/create hello com.example.hello HelloWorld
+```
+* Navigate to the project folder
+```
+$ cd hello
+```
+* Install Crosswalk engine plugin by plugman (version >= 0.22.17)
+```
+$ plugman install --platform android --plugin https://github.com/MobileChromeApps/cordova-crosswalk-engine.git --project .
+```
+* Build
+```
+$ ./cordova/build
+```
+The build script will automatically fetch the Crosswalk WebView libraries from Crosswalk project download site (https://download.01.org/crosswalk/releases/crosswalk/android/) and build for both X86 and ARM architectures.
+
+For example, building HelloWorld generates:
+
+```
+/path/to/hello/build/outputs/apk/hello-x86-debug.apk
+/path/to/hello/build/outputs/apk/hello-armv7-debug.apk
+```