cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [4/5] git commit: added ubuntu support
Date Thu, 05 Dec 2013 00:57:03 GMT
added ubuntu support


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

Branch: refs/heads/master
Commit: c2e32d4365cdb9b598d6b95575ff32bf8b61f06e
Parents: e1e2c30 057813b
Author: Steven Gill <stevengill97@gmail.com>
Authored: Mon Dec 2 15:50:42 2013 -0800
Committer: Steven Gill <stevengill97@gmail.com>
Committed: Mon Dec 2 15:50:42 2013 -0800

----------------------------------------------------------------------
 plugin.xml                   |  6 ++++
 src/ubuntu/accelerometer.cpp | 58 +++++++++++++++++++++++++++++++++++++++
 src/ubuntu/accelerometer.h   | 55 +++++++++++++++++++++++++++++++++++++
 3 files changed, 119 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/c2e32d43/plugin.xml
----------------------------------------------------------------------
diff --cc plugin.xml
index 0171234,04cabe3..ca82100
--- a/plugin.xml
+++ b/plugin.xml
@@@ -44,20 -29,13 +44,26 @@@
          <source-file src="src/android/AccelListener.java" target-dir="src/org/apache/cordova/devicemotion"
/>
      
      </platform>
 +    
 +    <!-- amazon-fireos -->
 +    <platform name="amazon-fireos">
 +	    
 +        <config-file target="res/xml/config.xml" parent="/*">
 +            <feature name="Accelerometer">
 +                <param name="android-package" value="org.apache.cordova.devicemotion.AccelListener"/>
 +            </feature>
 +        </config-file>
  
 +        <source-file src="src/android/AccelListener.java" target-dir="src/org/apache/cordova/devicemotion"
/>
 +    
 +    </platform>
 +    
+     <!-- ubuntu -->
+     <platform name="ubuntu">
+         <header-file src="src/ubuntu/accelerometer.h" />
+         <source-file src="src/ubuntu/accelerometer.cpp" />
+     </platform>
+ 
      <!-- ios -->
      <platform name="ios">
          


Mime
View raw message