layers.sysdef.xml
changeset 41 ea44a32a96bc
child 53 11e2bb0d14ba
equal deleted inserted replaced
40:91ef7621b7fc 41:ea44a32a96bc
       
     1 <?xml version="1.0"?>
       
     2 <!DOCTYPE SystemDefinition [
       
     3  <!ELEMENT SystemDefinition (systemModel?, build?)>
       
     4  <!ATTLIST SystemDefinition
       
     5   name CDATA #REQUIRED
       
     6   schema CDATA #REQUIRED>
       
     7  <!ELEMENT systemModel (layer+)>
       
     8  <!ELEMENT layer (logicalset* | module*)*>
       
     9  <!ATTLIST layer
       
    10   name CDATA #REQUIRED
       
    11   levels CDATA #IMPLIED
       
    12   span CDATA #IMPLIED>
       
    13  <!ELEMENT logicalset (logicalsubset* | module* | unit* | package* | prebuilt*)*>
       
    14  <!ATTLIST logicalset 
       
    15   name CDATA #REQUIRED
       
    16   levels CDATA #IMPLIED  
       
    17   span CDATA #IMPLIED
       
    18   level CDATA #IMPLIED>
       
    19  <!ELEMENT logicalsubset (module* | unit* | package* | prebuilt*)*>
       
    20  <!ATTLIST logicalsubset name CDATA #REQUIRED>
       
    21  <!ELEMENT module (component* | unit* | package* | prebuilt*)*>
       
    22  <!ATTLIST module
       
    23   name CDATA #REQUIRED
       
    24   level CDATA #IMPLIED>
       
    25  <!ELEMENT component (unit* | package* | prebuilt*)*>
       
    26  <!ATTLIST component name CDATA #REQUIRED>
       
    27  <!ELEMENT unit EMPTY>
       
    28  <!ATTLIST unit
       
    29   unitID ID #REQUIRED
       
    30   name CDATA #REQUIRED
       
    31   mrp CDATA #REQUIRED
       
    32   filter CDATA #IMPLIED
       
    33   bldFile CDATA #REQUIRED
       
    34   priority CDATA #IMPLIED
       
    35   contract CDATA #IMPLIED>
       
    36  <!ELEMENT package EMPTY>
       
    37  <!ATTLIST package
       
    38   name CDATA #REQUIRED
       
    39   mrp CDATA #REQUIRED
       
    40   filter CDATA #IMPLIED
       
    41   contract CDATA #IMPLIED>
       
    42  <!ELEMENT prebuilt EMPTY>
       
    43  <!ATTLIST prebuilt
       
    44   name CDATA #REQUIRED
       
    45   version CDATA #REQUIRED
       
    46   late (Y|N) #IMPLIED
       
    47   filter CDATA #IMPLIED
       
    48   contract CDATA #IMPLIED>
       
    49  <!ELEMENT build (option* | target+ | targetList+ | unitList+ | configuration+)*>
       
    50  <!ELEMENT unitList (unitRef+)>
       
    51  <!ATTLIST unitList
       
    52   name ID #REQUIRED
       
    53   description CDATA #REQUIRED>
       
    54  <!ELEMENT unitRef EMPTY>
       
    55  <!ATTLIST unitRef unit IDREF #REQUIRED>
       
    56  <!ELEMENT targetList EMPTY>
       
    57  <!ATTLIST targetList
       
    58   name ID #REQUIRED
       
    59   description CDATA #REQUIRED
       
    60   target IDREFS #REQUIRED>
       
    61  <!ELEMENT target EMPTY>
       
    62  <!ATTLIST target
       
    63   name ID #REQUIRED
       
    64   abldTarget CDATA #REQUIRED
       
    65   description CDATA #REQUIRED>
       
    66  <!ELEMENT option EMPTY>
       
    67  <!ATTLIST option
       
    68   name ID #REQUIRED
       
    69   abldOption CDATA #REQUIRED
       
    70   description CDATA #REQUIRED
       
    71   enable (Y | N | y | n) #REQUIRED>
       
    72  <!ELEMENT configuration (unitListRef+ | layerRef+ | task+)*>
       
    73  <!ATTLIST configuration
       
    74   name ID #REQUIRED
       
    75   description CDATA #REQUIRED
       
    76   filter CDATA #REQUIRED>
       
    77  <!ELEMENT task ( unitListRef* , (buildLayer | specialInstructions))>
       
    78  <!ELEMENT unitListRef EMPTY>
       
    79  <!ATTLIST unitListRef unitList IDREF #REQUIRED>
       
    80  <!ELEMENT layerRef EMPTY>
       
    81  <!ATTLIST layerRef layerName CDATA #REQUIRED>
       
    82  <!ELEMENT buildLayer EMPTY>
       
    83  <!ATTLIST buildLayer
       
    84   command CDATA #REQUIRED
       
    85   targetList IDREFS #IMPLIED
       
    86   unitParallel (Y | N | y | n) #REQUIRED
       
    87   targetParallel (Y | N | y | n) #IMPLIED>
       
    88  <!ELEMENT specialInstructions EMPTY>
       
    89  <!ATTLIST specialInstructions
       
    90   name CDATA #REQUIRED
       
    91   cwd CDATA #REQUIRED
       
    92   command CDATA #REQUIRED>
       
    93  <!ENTITY layer_real_source_path "/sf/os/textandloc" >
       
    94 ]>
       
    95 
       
    96 <SystemDefinition name="textandloc_build" schema="1.4.0">
       
    97   <systemModel>
       
    98     <layer name="os_layer">
       
    99       <!--module name="freetype">
       
   100         <unit name="freetype" unitID="tls.freetype"  bldFile="sf\os\textandloc\fontservices\freetypefontrasteriser\group" mrp="sf\os\textandloc\fontservices\freetypefontrasteriser\group\graphics_freetype.mrp"/>
       
   101       </module-->
       
   102       <module name="app-framework_etext">
       
   103         <unit name="etext" unitID="tls.etext"  bldFile="sf\os\textandloc\textrendering\texthandling\group" mrp="sf\os\textandloc\textrendering\texthandling\group\app-framework_etext.mrp"/>
       
   104       </module>
       
   105       <module name="app-framework_form">
       
   106         <unit name="form" unitID="tls.form"  bldFile="sf\os\textandloc\textrendering\textformatting\group" mrp="sf\os\textandloc\textrendering\textformatting\group\app-framework_form.mrp"/>
       
   107       </module>
       
   108       <!--module name="app-framework_word">
       
   109         <unit name="word" unitID="tls.word"  bldFile="sf\os\textandloc\textrendering\word\group" mrp="sf\os\textandloc\textrendering\word\group\app-framework_word.mrp"/>
       
   110       </module-->
       
   111       <!-- GDI is only required for Shapper test -->
       
   112       <!--module name="graphics_gdi">
       
   113         <unit name="graphicsgdi" unitID="tls.graphicsgdi"  bldFile="sf\os\graphics\graphicsdeviceinterface\gdi\group" mrp="sf\os\graphics\graphicsdeviceinterface\gdi\group\graphics_gdi.mrp"/>
       
   114       </module-->
       
   115       <module name="graphics_fntstore">
       
   116         <unit name="fntstore" unitID="tls.fntstore"  bldFile="sf\os\textandloc\fontservices\fontstore\group" mrp="sf\os\textandloc\fontservices\fontstore\group\graphics_fntstore.mrp"/>
       
   117       </module>
       
   118       <!-- no need to build itype -->
       
   119       <!-- module name="graphics_itype">
       
   120         <unit name="itype" unitID="tls.itype"  bldFile="sf\os\graphics\fbs\itypefontrasteriser\group" mrp="sf\os\graphics\fbs\itypefontrasteriser\group\graphics_itype.mrp"/>
       
   121       </module -->
       
   122       <module name="iculayoutengine">
       
   123         <unit name="iculayout" unitID="tls.iculayout"  bldFile="sf\os\textandloc\fontservices\textshaperplugin\group" mrp="sf\os\textandloc\fontservices\textshaperplugin\group\graphics_iculayoutengine.mrp"/>
       
   124       </module>
       
   125       <module name="referencefonts">
       
   126         <unit name="reffonts" unitID="tls.reffonts"  bldFile="sf\os\textandloc\fontservices\referencefonts\group" mrp="sf\os\textandloc\fontservices\referencefonts\group\graphics_fonts.mrp"/>
       
   127       </module>
       
   128       <module name="app-framework_numberconversion">
       
   129         <unit name="numberconv" unitID="tls.numberconv"  bldFile="sf\os\textandloc\textrendering\numberformatting\group" mrp="sf\os\textandloc\textrendering\numberformatting\group\app-framework_numberconversion.mrp"/>
       
   130       </module>
       
   131       <module name="base_loce32">
       
   132         <unit name="loce32" unitID="tls.loce32"  bldFile="sf\os\textandloc\localisation\localesupport" mrp="sf\os\textandloc\localisation\localesupport\mmpfiles\base_loce32.mrp"/>
       
   133       </module>
       
   134       <module name="syslibs_charconv">
       
   135         <unit name="charconv" unitID="tls.charconv"  bldFile="sf\os\textandloc\charconvfw\charconv_fw\group" mrp="sf\os\textandloc\charconvfw\charconv_fw\group\syslibs_charconv.mrp"/>
       
   136       </module>
       
   137       <module name="syslibs_charconv_plugins">
       
   138         <unit name="charconvplugin" unitID="tls.charconvplugin"  bldFile="sf\os\textandloc\charconvfw\charconvplugins\group" mrp="sf\os\textandloc\charconvfw\charconvplugins\group\syslibs_charconv_plugins.mrp"/>
       
   139       </module>
       
   140       <module name="syslibs_fatcharsetconv">
       
   141         <unit name="fatcharsetconv" unitID="tls.fatcharsetconv"  bldFile="sf\os\textandloc\charconvfw\fatfilenameconversionplugins\group" mrp="sf\os\textandloc\charconvfw\fatfilenameconversionplugins\group\syslibs_fatcharsetconv.mrp"/>
       
   142       </module>
       
   143     </layer>
       
   144     <layer name="api_test_layer">
       
   145       <!--module name="test.app-framework_etext">
       
   146         <unit name="test.etext" unitID="test.tls.etext"  bldFile="sf\os\textandloc\textrendering\texthandling\group" mrp=""/>
       
   147       </module>
       
   148       <module name="test.app-framework_form">
       
   149         <unit name="test.form" unitID="test.tls.form"  bldFile="sf\os\textandloc\textrendering\textformatting\group" mrp=""/>
       
   150       </module-->
       
   151       <module name="test.graphics_testharness">
       
   152         <unit name="test.graphicstestharness" unitID="test.tls.graphicstestharness"  bldFile="sf\os\graphics\graphicstest\graphicstestharness\group" mrp=""/>
       
   153       </module>
       
   154       <!-- seems font files can not be exported -->
       
   155       <module name="test.graphics_internaltestfonts">
       
   156         <unit name="test.graphicsinternaltestfonts" unitID="test.tls.graphicsinternaltestfonts"  bldFile="sf\os\textandloc\fontservices\graphicstestfonts\group" mrp=""/>
       
   157       </module>
       
   158       <module name="test.graphics_fntstore">
       
   159         <unit name="test.fntstore" unitID="test.tls.fntstore"  bldFile="sf\os\textandloc\fontservices\fontstore\group" mrp=""/>
       
   160       </module>
       
   161       <module name="test.syslibs_charconv">
       
   162         <unit name="test.charconv" unitID="test.tls.charconv"  bldFile="sf\os\textandloc\charconvfw\charconv_fw\group" mrp="" />
       
   163       </module>
       
   164 	  <!-- turn off hindidemo -->
       
   165       <!--module name="test.iculayoutengine">
       
   166         <unit name="test.iculayout" unitID="test.tls.iculayout"  bldFile="sf\os\textandloc\fontservices\textshaperplugin\group" mrp=""/>
       
   167       </module-->
       
   168       <!--module name="test.freetype">
       
   169         <unit name="test.freetype" unitID="test.tls.freetype"  bldFile="sf\os\textandloc\fontservices\freetypefontrasteriser\group" mrp=""/>
       
   170       </module-->
       
   171       <module name="test.syslibs_charconv_plugins">
       
   172         <unit name="test.charconvplugin" unitID="test.tls.charconvplugin"  bldFile="sf\os\textandloc\charconvfw\charconvplugins\group" mrp=""/>
       
   173       </module>
       
   174       <module name="test.syslibs_fatcharsetconv">
       
   175         <unit name="test.fatcharsetconv" unitID="test.tls.fatcharsetconv"  bldFile="sf\os\textandloc\charconvfw\fatfilenameconversionplugins\group" mrp=""/>
       
   176       </module>
       
   177       <!--module name="test.app-framework_numberconversion">
       
   178         <unit name="test.numberconv" unitID="test.tls.numberconv"  bldFile="sf\os\textandloc\textrendering\numberformatting\group" mrp=""/>
       
   179       </module>
       
   180       <module name="test.base_loce32">
       
   181         <unit name="test.loce32" unitID="test.tls.loce32"  bldFile="sf\os\textandloc\localisation\localesupport" mrp=""/>
       
   182       </module-->
       
   183     </layer>
       
   184   </systemModel>  
       
   185 </SystemDefinition>