cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [3/3] git commit: added ubuntu support
Date Mon, 02 Dec 2013 23:47:33 GMT
added ubuntu support


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/commit/2a104e3e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/tree/2a104e3e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/diff/2a104e3e

Branch: refs/heads/dev
Commit: 2a104e3e3118c62fb73df273a3910e49c2bcb3f4
Parents: 7256fdd d63ee79
Author: Steven Gill <stevengill97@gmail.com>
Authored: Mon Dec 2 15:47:27 2013 -0800
Committer: Steven Gill <stevengill97@gmail.com>
Committed: Mon Dec 2 15:47:27 2013 -0800

----------------------------------------------------------------------
 plugin.xml            |  9 +++++++
 src/ubuntu/device.cpp | 64 ++++++++++++++++++++++++++++++++++++++++++++++
 src/ubuntu/device.h   | 47 ++++++++++++++++++++++++++++++++++
 src/ubuntu/device.js  | 34 ++++++++++++++++++++++++
 4 files changed, 154 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/blob/2a104e3e/plugin.xml
----------------------------------------------------------------------
diff --cc plugin.xml
index e93b06c,52786d8..b37f25a
--- a/plugin.xml
+++ b/plugin.xml
@@@ -40,17 -25,15 +40,26 @@@
          <source-file src="src/android/Device.java" target-dir="src/org/apache/cordova/device"
/>
      </platform>
  
 +    <!-- amazon-fireos -->
 +    <platform name="amazon-fireos">
 +        <config-file target="res/xml/config.xml" parent="/*">
 +            <feature name="Device" >
 +                <param name="android-package" value="org.apache.cordova.device.Device"/>
 +            </feature>
 +        </config-file>
 +
 +        <source-file src="src/android/Device.java" target-dir="src/org/apache/cordova/device"
/>
 +    </platform>
 +    
+     <!-- ubuntu -->
+     <platform name="ubuntu">
+         <header-file src="src/ubuntu/device.h" />
+         <source-file src="src/ubuntu/device.cpp" />
+         <js-module src="src/ubuntu/device.js" name="DeviceProxy">
+             <merges target="device" />
+         </js-module>
+     </platform>
+ 
      <!-- ios -->
      <platform name="ios">
          <config-file target="config.xml" parent="/*">


Mime
View raw message