cordova-commits mailing list archives

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


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

Branch: refs/heads/dev
Commit: 21ba8a90a441b9fd4b05759e5d6be80d72b0e2fb
Parents: b622be5 bc3767f
Author: Steven Gill <stevengill97@gmail.com>
Authored: Mon Dec 2 15:51:36 2013 -0800
Committer: Steven Gill <stevengill97@gmail.com>
Committed: Mon Dec 2 15:51:36 2013 -0800

----------------------------------------------------------------------
 plugin.xml | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/21ba8a90/plugin.xml
----------------------------------------------------------------------
diff --cc plugin.xml
index 33d9ae0,a07da50..0ff5804
--- a/plugin.xml
+++ b/plugin.xml
@@@ -53,22 -53,12 +53,28 @@@
  	    <source-file src="src/android/CompassListener.java" target-dir="src/org/apache/cordova/deviceorientation"
/>
      </platform>
  
 +    <!-- amazon-fireos -->
 +    <platform name="amazon-fireos">
 +        <config-file target="res/xml/config.xml" parent="/*">
 +	        <feature name="Compass">
 +	            <param name="android-package" value="org.apache.cordova.deviceorientation.CompassListener"/>
 +	        </feature>
 +	    </config-file>
 +
 +	    <config-file target="AndroidManifest.xml" parent="/*">
 +	        <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
 +            <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
 +        </config-file>
 +
 +	    <source-file src="src/android/CompassListener.java" target-dir="src/org/apache/cordova/deviceorientation"
/>
 +    </platform>
 +    
+     <!-- ubuntu -->
+     <platform name="ubuntu">
+         <header-file src="src/ubuntu/compass.h" />
+         <source-file src="src/ubuntu/compass.cpp" />
+     </platform>
+ 
      <!-- blackberry10 -->
      <platform name="blackberry10">
          <config-file target="www/config.xml" parent="/widget">


Mime
View raw message