-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
48 lines (44 loc) · 2.78 KB
/
plugin.xml
File metadata and controls
48 lines (44 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-motioncal" version="0.0.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>MotionCalibration</name>
<js-module name="MotionCalibration" src="www/MotionCalibration.js">
<clobbers target="MotionCalibration" />
</js-module>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="MotionCalibration">
<param name="ios-package" value="MotionCalibration" />
</feature>
</config-file>
<source-file src="src/ios/MotionCalibration.m" />
<header-file src="src/common/motioncalibration.h" target-dir="common" />
<source-file src="src/common/motioncalibration.c" target-dir="common" />
<header-file src="src/common/imuread.h" target-dir="common" />
<source-file src="src/common/mahony.c" target-dir="common" />
<source-file src="src/common/matrix.c" target-dir="common" />
<source-file src="src/common/magcal.c" target-dir="common" />
<source-file src="src/common/quality.c" target-dir="common" />
<source-file src="src/common/rawdata.c" target-dir="common" />
<source-file src="src/common/serialdata.c" target-dir="common" />
<source-file src="src/common/visualize.c" target-dir="common" />
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="MotionCalibration">
<param name="android-package" value="com.denizak.motioncalibration.MotionCalibration"/>
</feature>
</config-file>
<source-file src="src/android/MotionCalibration.java" target-dir="src/com/denizak/motioncalibration" />
<!-- Copy JNI source files -->
<source-file src="src/android/jni/motioncalibration_jni.c" target-dir="jni" />
<source-file src="src/android/jni/Android.mk" target-dir="jni" />
<source-file src="src/android/jni/Application.mk" target-dir="jni" />
<!-- Copy common source files -->
<source-file src="src/common" target-dir="jni/common" />
<!-- Copy precompiled native libraries -->
<resource-file src="src/android/jniLibs/arm64-v8a/libmotioncalibration.so" target="jniLibs/arm64-v8a/libmotioncalibration.so" />
<resource-file src="src/android/jniLibs/armeabi-v7a/libmotioncalibration.so" target="jniLibs/armeabi-v7a/libmotioncalibration.so" />
<resource-file src="src/android/jniLibs/x86/libmotioncalibration.so" target="jniLibs/x86/libmotioncalibration.so" />
<resource-file src="src/android/jniLibs/x86_64/libmotioncalibration.so" target="jniLibs/x86_64/libmotioncalibration.so" />
</platform>
</plugin>