blob: 23c7c034d1e46aadea5be5e7e53a4d3667e1720a [file] [log] [blame]
<project>
<config>
<output-dir path="./images"/>
<default target="doorman_2_ed"/>
</config>
<packs namespace="3p.sndobj" path="./sndobj.packs"/>
<packs namespace="3p.opencv" path="./opencv.packs"/>
<packs namespace="3p.cloud" path="./cloudvoice.packs"/>
<packs namespace="soc.hw.vision" path="./hw_vision_offload.packs"/>
<!-- Move the old facerecr out of cam to cam.v1 -->
<packs namespace="cam.v1" path="./facerecr.packs"/>
<packs namespace="cam">
<!-- Export the first version of facerecr back into the cam namespace such
that it can still fulfill cam.face_recognition via the pack below.
-->
<pack name="facerecr_v1">
<provides pack="cam.face_recognition"/>
<!-- This could require cam.v1.face_recognition
or do as it does and wrap the other pack explicitly.
-->
<requires pack="cam.v1.facerecr"/>
</pack>
<pack name="facerecr_v2">
<defaults>
<copy><set-acl user="cam" perms="0444"/></copy>
</defaults>
<provides pack="cam.face_recognition"/>
<requires pack="os.hal.camera2"/>
<requires pack="3p.opencv.libopencv"/>
<copy from="src/facerecr/libfacerecr-2.0.so" to="/lib/"/>
<copy from="src/facerecr/facerecrd" to="/lib/">
<set-acl perms="0555"/>
</copy>
<copy from="src/facerecr/etc/facerecerd.init" to="/system/etc/init.d/"/>
</pack>
<pack name="stream">
<requires pack="os.hal.camera"/>
<requires pack="os.net.listen"/>
<copy from="src/stream/streamer" to="/system/bin">
<set-acl perms="0600" user="streamer" selabel="streamerctx"/>
</copy>
</pack>
</packs>
<packs namespace="mic">
<pack name="cloud_voicerec">
<provides pack="mic.voice_recognition"/>
<requires pack="os.hal.microphone"/>
<requires pack="3p.cloud.voice_api"/>
<copy from="src/voice/cloud/service/cloud_voiced" to="/system/bin/">
<set-acl user="voiced" selabel="voice_service"/>
</copy>
<copy from="src/voice/cloud/service/cloud_voiced.init"
to="/system/etc/init.d/"/>
</pack>
<pack name="local_voicerec">
<provides pack="mic.voice_recognition"/>
<requires pack="os.hal.microphone"/>
<requires pack="3p.sndobj.libsndobj"/>
<copy from="src/voice/local/service/local_voiced" to="/system/bin/">
<set-acl user="voiced" selabel="voice_service" perms="0500"/>
</copy>
<copy from="src/voice/local/service/local_voiced.init"
to="/system/etc/init.d/"/>
</pack>
</packs>
<packs namespace="speech">
<pack name="local_synth">
<provides pack="speech.synthesis.plugin"/>
<requires pack="os.io.peripheral"/>
<requires pack="3p.sndobj.libsndobj"/>
<copy from="src/speech/synth/besteffort/libspeech-be.so"
to="/system/lib/"/>
</pack>
<pack name="synth_service">
<provides pack="speech.synthesis"/>
<!-- At least one plugin is needed. -->
<requires pack="speech.synthesis.plugin"/>
<copy from="src/speech/synth/data/"
to="/data/speech/training/"/>
<copy from="src/speech/synth/server/*"
to="/system/bin/">
<set-acl user="synthd" selabel="synth_service" perms="0500"/>
</copy>
</pack>
</packs>
<packs namespace="products">
<!-- Abstract product and requirements -->
<pack name="doorman">
<requires pack="os.core"/>
<requires pack="speech.synthesis"/>
<requires pack="mic.voice_recognition"/>
<requires pack="cam.face_recognition"/>
<!-- Specialize the unfulfilled requires with
specific packs that "provides" the requires
that are shared by derived pack entries.
-->
<requires pack="speech.synth_service"/>
<requires pack="mic.local_voicerec"/>
<requires pack="speech.local_synth"/>
</pack>
<pack name="doorman_v1">
<requires pack="products.doorman"/>
<requires pack="cam.facerecr_v1"/>
<!-- requires pack="cam.v1.facerecr"/-->
</pack>
<pack name="doorman_v2">
<requires pack="products.doorman"/>
<requires pack="cam.facerecr_v2"/>
<requires pack="mic.cloud_voicerec"/>
</pack>
<pack name="doorman_v2_hw">
<requires pack="products.doorman_v2"/>
<requires pack="soc.hw.vision.libface_offload"/>
</pack>
</packs>
<!-- Pull in the first rev targets. -->
<targets path="doorman_v1.targets.xml"/>
<targets>
<target name="doorman_2_ed" pack="products.doorman_v2"
os="brillo" os-version="12.0.0" board="edison" board-version="1.1.1"/>
<target name="doorman_2_ab" pack="products.doorman_v2"
os="brillo" os-version="12.0.0" board="abox" board-version="2.2.2"/>
<target name="doorman_2_db" pack="products.doorman_v2"
os="brillo" os-version="12.0.0" board="dragonboard" board-version="3.1.1"/>
<target name="doorman_2_cba" pack="products.doorman_v2_hw"
os="brillo" os-version="12.0.0" board="custom_board_a" board-version="01adfe"/>
</targets>
</project>