summaryrefslogtreecommitdiff
path: root/plugins/cordova-plugin-crosswalk-webview/PlatformScriptsWorkflow.md
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-06-17 13:23:33 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-06-17 13:23:33 -0400
commit4a8630ad458982f754bf181a66a29c5ba0285315 (patch)
tree1ca8160b53f266ead62681e8bb18520a05af31d7 /plugins/cordova-plugin-crosswalk-webview/PlatformScriptsWorkflow.md
parent6b75cb2adfb7e858291c985428c47f28d3f1e52a (diff)
updated versions of platforms
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
+```