Package both Servo2D and Servo3D in one magicleap mpk

This commit is contained in:
Alan Jeffrey 2019-08-15 10:19:02 -05:00
parent c47575535c
commit 9a2ba596e5
5 changed files with 40 additions and 20 deletions

View file

@ -1,7 +1,6 @@
REFS = Servo3D
DATAS = \
fonts.xml : etc/fonts.xml
REFS = \
Servo2D/Servo2D \
Servo3D/Servo3D
# Servo SEGVs if we don't set the debuggable flag in the mpk's taildata
# https://github.com/servo/servo/issues/22188

View file

@ -23,6 +23,7 @@ LDFLAGS.device = \
-L$(MLSDK)/lumin/stl/libc++/lib
DATAS = \
fonts.xml : etc/fonts.xml \
$(GSTREAMER_DIR)/system/lib64/*.so : bin/ \
$(GSTREAMER_DIR)/system/lib64/gstreamer-1.0/*.so : bin/
@ -51,4 +52,6 @@ CXXFLAGS = \
USES = \
lumin_runtime \
scenes \
pipeline/cache/AssetManifest \
code/srcs

View file

@ -1,12 +0,0 @@
USES = \
scenes \
pipeline/cache/AssetManifest
DATAS = \
fonts.xml : etc/fonts.xml
REFS = Servo2D
# Servo SEGVs if we don't set the debuggable flag in the mpk's taildata
# https://github.com/servo/servo/issues/22188
OPTIONS=package/debuggable/on

View file

@ -0,0 +1,31 @@
<manifest
xmlns:ml="magicleap"
ml:package="com.mozilla.servo"
ml:version_code="1"
ml:version_name="1.0">
<application
ml:visible_name="Servo"
ml:sdk_version="1.0">
<component
ml:name=".servo2d.universe"
ml:visible_name="Servo2D"
ml:binary_name="bin/Servo2D"
ml:type="Universe">
<icon
ml:model_folder="Icon/Model/"
ml:portal_folder="Icon/Portal/" />
</component>
<component
ml:name=".servo3d.fullscreen"
ml:visible_name="Servo3D"
ml:binary_name="bin/Servo3D"
ml:type="Fullscreen">
<icon
ml:model_folder="Icon/Model/"
ml:portal_folder="Icon/Portal/" />
</component>
<uses-privilege ml:name="ControllerPose"/>
<uses-privilege ml:name="Internet"/>
<uses-privilege ml:name="LowLatencyLightwear"/>
</application>
</manifest>