symbian-aps.xml.template 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version="1.0" ?>
  2. <Scenario site="$(HOSTNAME)" url="http://my.cdash.org/submit.php?project=PJSIP" wdir="$(PJDIR)">
  3. <!-- *********************************************************
  4. ** This file contains scenario for APS and APS-Direct **
  5. ********************************************************* -->
  6. <!-- ******************************
  7. ** APS **
  8. ****************************** -->
  9. <Submit group="Experimental" build="$(OS)-$(S60TARGETNAME)-APS" >
  10. <Update />
  11. <!-- Configure config_site.h -->
  12. <FileWrite file="pjlib/include/pj/config_site.h">
  13. <![CDATA[
  14. /* Written by ccdash */
  15. #define PJMEDIA_AUDIO_DEV_HAS_SYMB_APS 1
  16. #define PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA 0
  17. #include <pj/config_site_sample.h>
  18. ]]>
  19. </FileWrite>
  20. <!-- Configure symbian_ua.mmp -->
  21. <FileWrite file="build.symbian/symbian_ua.mmp" replace_begin="// =BEGIN" replace_end="// =END">
  22. <![CDATA[
  23. #define SND_HAS_APS 1
  24. #define SND_HAS_VAS 0
  25. #define SND_HAS_MDA 0
  26. ]]>
  27. </FileWrite>
  28. <!-- Configure symbian_ua_gui.mmp -->
  29. <FileWrite file="pjsip-apps/src/symbian_ua_gui/group/symbian_ua_gui.mmp" replace_begin="// =BEGIN" replace_end="// =END">
  30. <![CDATA[
  31. #define SND_HAS_APS 1
  32. #define SND_HAS_VAS 0
  33. #define SND_HAS_MDA 0
  34. ]]>
  35. </FileWrite>
  36. <Configure cmd="cmd /c echo success" />
  37. <Build wdir="build.symbian" cmd='cmd /C &quot;bldmake bldfiles &amp;&amp; abld reallyclean $(S60TARGET) &amp;&amp; abld build $(S60TARGET)&quot;' />
  38. </Submit>
  39. <!-- ******************************
  40. ** APS-Direct **
  41. ****************************** -->
  42. <Submit group="Experimental" build="$(OS)-$(S60TARGETNAME)-APS-Direct" >
  43. <Update />
  44. <!-- Configure config_site.h -->
  45. <FileWrite file="pjlib/include/pj/config_site.h">
  46. <![CDATA[
  47. /* Written by ccdash */
  48. #define PJ_CONFIG_NOKIA_APS_DIRECT
  49. #include <pj/config_site_sample.h>
  50. ]]>
  51. </FileWrite>
  52. <Configure cmd="cmd /c echo success" />
  53. <Build wdir="build.symbian" cmd='cmd /C &quot;bldmake bldfiles &amp;&amp; abld reallyclean $(S60TARGET) &amp;&amp; abld build $(S60TARGET)&quot;' />
  54. <!-- Restore symbian_ua.mmp -->
  55. <FileWrite file="build.symbian/symbian_ua.mmp" replace_begin="// =BEGIN" replace_end="// =END">
  56. <![CDATA[
  57. #define SND_HAS_APS 0
  58. #define SND_HAS_VAS 0
  59. #define SND_HAS_MDA 1
  60. ]]>
  61. </FileWrite>
  62. <!-- Restore symbian_ua_gui.mmp -->
  63. <FileWrite file="pjsip-apps/src/symbian_ua_gui/group/symbian_ua_gui.mmp" replace_begin="// =BEGIN" replace_end="// =END">
  64. <![CDATA[
  65. #define SND_HAS_APS 0
  66. #define SND_HAS_VAS 0
  67. #define SND_HAS_MDA 1
  68. ]]>
  69. </FileWrite>
  70. </Submit>
  71. </Scenario>