symbian3/mw/drm/package_definition.xml
branchHighFidelityModel
changeset 245 30e67220bf86
parent 185 4f9b808eb677
equal deleted inserted replaced
239:e9ebcfcb4702 245:30e67220bf86
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!DOCTYPE SystemDefinition [
     2 <SystemDefinition schema="3.0.0">
     3 <!ELEMENT SystemDefinition ( systemModel )>
     3  <package id="drm" name="DRM" levels="plugin framework server generic specific">
     4 <!ATTLIST SystemDefinition
     4   <collection id="drm_plat" name="DRM Platform Interfaces" level="specific">
     5   name CDATA #REQUIRED
     5    <component id="roap_api" name="ROAP API" class="api" filter="s60">
     6   schema CDATA #REQUIRED
     6     <meta rel="Api" href="drm_plat/roap_api/roap_api.metaxml"/>
     7 >
     7     <unit bldFile="drm_plat/roap_api/group"/>
     8 <!-- all paths are relative to the environment variable specified by the root attribute, or SOURCEROOT if not.  -->
     8    </component>
     9 
     9    <component id="drm_common_api" name="DRM Common API" class="api" filter="s60">
    10 <!-- System Model Section of DTD -->
    10     <meta rel="Api" href="drm_plat/drm_common_api/drm_common_api.metaxml"/>
    11 <!ELEMENT systemModel (layer+)>
    11     <unit bldFile="drm_plat/drm_common_api/group"/>
    12 
    12    </component>
    13 <!ELEMENT layer (block* | collection*)*>
    13    <component id="drm_rights_api" name="DRM Rights API" class="api" filter="s60">
    14 <!-- Kernel Services, Base Services, OS Services, Etc -->
    14     <meta rel="Api" href="drm_plat/drm_rights_api/drm_rights_api.metaxml"/>
    15 <!ATTLIST layer
    15     <unit bldFile="drm_plat/drm_rights_api/group"/>
    16   name CDATA #REQUIRED
    16    </component>
    17   long-name CDATA #IMPLIED
    17    <component id="drm_legacy_api" name="DRM Legacy API" class="api" filter="s60">
    18   levels NMTOKENS #IMPLIED
    18     <meta rel="Api" href="drm_plat/drm_legacy_api/drm_legacy_api.metaxml"/>
    19   span CDATA #IMPLIED
    19     <unit bldFile="drm_plat/drm_legacy_api/group"/>
    20 >
    20    </component>
    21 
    21    <component id="dcf_repository_api" name="DCF Repository API" class="api" filter="s60">
    22 <!ELEMENT block (subblock* | collection*)*>
    22     <meta rel="Api" href="drm_plat/dcf_repository_api/dcf_repository_api.metaxml"/>
    23  <!-- Generic OS services, Comms Services, etc -->
    23     <unit bldFile="drm_plat/dcf_repository_api/group"/>
    24 <!ATTLIST block
    24    </component>
    25   levels NMTOKENS #IMPLIED
    25    <component id="drm_service_api" name="DRM Service API" class="api" filter="s60">
    26   span CDATA #IMPLIED
    26     <meta rel="Api" href="drm_plat/drm_service_api/drm_service_api.metaxml"/>
    27   level NMTOKEN #IMPLIED
    27     <unit bldFile="drm_plat/drm_service_api/group"/>
    28   name CDATA #REQUIRED
    28    </component>
    29   long-name CDATA #IMPLIED
    29    <component id="drm_secondary_display_api" name="DRM Secondary Display API" class="api" filter="s60">
    30 >
    30     <meta rel="Api" href="drm_plat/drm_secondary_display_api/drm_secondary_display_api.metaxml"/>
    31 
    31     <unit bldFile="drm_plat/drm_secondary_display_api/group"/>
    32 <!ELEMENT subblock (collection)*>
    32    </component>
    33 <!-- Cellular Baseband Services, Networking Services, etc -->
    33    <component id="drm_license_manager_api" name="DRM License Manager API" class="api" filter="s60">
    34 <!ATTLIST subblock
    34     <meta rel="Api" href="drm_plat/drm_license_manager_api/drm_license_manager_api.metaxml"/>
    35   name CDATA #REQUIRED
    35     <unit bldFile="drm_plat/drm_license_manager_api/group"/>
    36   long-name CDATA #IMPLIED
    36    </component>
    37 >
    37    <component id="drm_utility_api" name="DRM Utility API" class="api" filter="s60">
    38 
    38     <meta rel="Api" href="drm_plat/drm_utility_api/drm_utility_api.metaxml"/>
    39 <!ELEMENT collection (component)*>
    39     <unit bldFile="drm_plat/drm_utility_api/group"/>
    40 <!-- Screen Driver, Content Handling, etc -->
    40    </component>
    41 <!ATTLIST collection
    41    <component id="drm_agents_api" name="DRM Agents API" class="api" filter="s60">
    42   name CDATA #REQUIRED
    42     <meta rel="Api" href="drm_plat/drm_agents_api/drm_agents_api.metaxml"/>
    43   long-name CDATA #IMPLIED
    43     <unit bldFile="drm_plat/drm_agents_api/group"/>
    44   level NMTOKEN #IMPLIED
    44    </component>
    45 >
    45    <component id="wmdrm_core_api" name="WM DRM Core API" class="api" filter="s60">
    46 
    46     <meta rel="Api" href="drm_plat/wmdrm_core_api/wmdrm_core_api.metaxml"/>
    47 <!ELEMENT component (unit)*>
    47     <unit bldFile="drm_plat/wmdrm_core_api/group"/>
    48 <!-- contains units or is a  package or prebuilt -->
    48    </component>
    49 <!ATTLIST component
    49    <component id="wmdrm_access_api" name="WMDRM Access API" class="api" filter="s60">
    50   name CDATA #REQUIRED
    50     <meta rel="Api" href="drm_plat/wmdrm_access_api/wmdrm_access_api.metaxml"/>
    51   long-name CDATA #IMPLIED
    51     <unit bldFile="drm_plat/wmdrm_access_api/group"/>
    52   deprecated CDATA #IMPLIED
    52    </component>
    53   introduced CDATA #IMPLIED
    53    <component id="wmdrm_ota_access_api" name="WMDRM OTA Access API" class="api" filter="s60">
    54   contract CDATA #IMPLIED
    54     <meta rel="Api" href="drm_plat/wmdrm_ota_access_api/wmdrm_ota_access_api.metaxml"/>
    55   plugin (Y|N) "N"
    55     <unit bldFile="drm_plat/wmdrm_ota_access_api/group"/>
    56   filter CDATA #IMPLIED
    56    </component>
    57   class NMTOKENS #IMPLIED
    57    <component id="camese_utility_api" name="Camese Utility API" class="api" filter="s60">
    58   supports CDATA #IMPLIED
    58     <meta rel="Api" href="drm_plat/camese_utility_api/camese_utility_api.metaxml"/>
    59   purpose ( optional | mandatory | development ) "optional"
    59     <meta rel="config">
    60 >
    60      <defined condition="__WINDOWS_MEDIA_DRM"/>
    61 
    61     </meta>
    62 <!ELEMENT unit EMPTY >
    62     <unit bldFile="drm_plat/camese_utility_api/group"/>
    63 <!-- must be buildable (bld.inf) -->
    63    </component>
    64 <!-- bldFile  may someday be removed in favour of mrp -->
    64    <component id="camese_framework_api" name="Camese Framework API" class="api" filter="s60">
    65 <!ATTLIST unit
    65     <meta rel="Api" href="drm_plat/camese_framework_api/camese_framework_api.metaxml"/>
    66   mrp CDATA #IMPLIED
    66     <meta rel="config">
    67   filter CDATA #IMPLIED
    67      <defined condition="__WINDOWS_MEDIA_DRM"/>
    68   bldFile CDATA #IMPLIED
    68     </meta>
    69   root CDATA #IMPLIED
    69     <unit bldFile="drm_plat/camese_framework_api/group"/>
    70   version NMTOKEN #IMPLIED
    70    </component>
    71   prebuilt NMTOKEN #IMPLIED
    71   </collection>
    72   late (Y|N) #IMPLIED
    72   <collection id="drm_pub" name="DRM Public Interfaces" level="specific">
    73   priority CDATA #IMPLIED
    73    <component id="drm_helper_api" name="DRM Helper API" class="api" filter="s60">
    74 >
    74     <meta rel="Api" href="drm_pub/drm_helper_api/drm_helper_api.metaxml"/>
    75 ]>
    75     <unit bldFile="drm_pub/drm_helper_api/group"/>
    76 <SystemDefinition name="Symbian^3" schema="2.0.1">
    76    </component>
    77   <systemModel>
    77    <component id="oma_drm_caf_agent_api" name="OMA DRM CAF Agent API" class="api" filter="s60">
    78     <layer name="mw" long-name="Middleware" levels="generic specific">
    78     <meta rel="Api" href="drm_pub/oma_drm_caf_agent_api/oma_drm_caf_agent_api.metaxml"/>
    79       <block name="drm" level="generic" long-name="DRM" levels="plugin framework server generic specific">
    79     <unit bldFile="drm_pub/oma_drm_caf_agent_api/group"/>
    80         <collection name="drm_plat" long-name="DRM Platform Interfaces" level="specific">
    80    </component>
    81           <component name="roap_api" long-name="ROAP API" filter="s60" class="api">
    81    <component id="drm_license_checker_api" name="DRM License Checker API" class="api" filter="s60">
    82             <unit bldFile="/sf/mw/drm/drm_plat/roap_api/group"/>
    82     <meta rel="Api" href="drm_pub/drm_license_checker_api/drm_license_checker_api.metaxml"/>
    83           </component>
    83     <unit bldFile="drm_pub/drm_license_checker_api/group"/>
    84           <component name="drm_common_api" long-name="DRM Common API" filter="s60" class="api">
    84    </component>
    85             <unit bldFile="/sf/mw/drm/drm_plat/drm_common_api/group"/>
    85   </collection>
    86           </component>
    86   <collection id="commondrm" name="Common DRM" level="generic">
    87           <component name="drm_rights_api" long-name="DRM Rights API" filter="s60" class="api">
    87    <!-- it looks like this collection would be better as a component. If so, move down a directory. Otherwise, split up the bld.inf -->
    88             <unit bldFile="/sf/mw/drm/drm_plat/drm_rights_api/group"/>
    88    <component id="drmencryptor" filter="s60" name="DRM Encryptor">
    89           </component>
    89     <!-- this should have its own bld.inf or be removed as a component -->
    90           <component name="drm_legacy_api" long-name="DRM Legacy API" filter="s60" class="api">
    90    </component>
    91             <unit bldFile="/sf/mw/drm/drm_plat/drm_legacy_api/group"/>
    91    <component id="drmsettingsplugin" filter="s60" name="DRM Settings Plugin" class="plugin">
    92           </component>
    92     <!-- this should have its own bld.inf or be removed as a component -->
    93           <component name="dcf_repository_api" long-name="DCF Repository API" filter="s60" class="api">
    93    </component>
    94             <unit bldFile="/sf/mw/drm/drm_plat/dcf_repository_api/group"/>
    94    <component id="drmrightsmanagerui" filter="s60" name="DRM Rights Manager UI">
    95           </component>
    95     <unit bldFile="commondrm/drmrightsmanagerui/help/group"/>
    96           <component name="drm_service_api" long-name="DRM Service API" filter="s60" class="api">
    96    </component>
    97             <unit bldFile="/sf/mw/drm/drm_plat/drm_service_api/group"/>
    97    <component id="drmutility" filter="s60" name="DRM Utility">
    98           </component>
    98     <meta rel="config">
    99           <component name="drm_secondary_display_api" long-name="DRM Secondary Display API" filter="s60" class="api">
    99      <defined condition="RD_DRM_COMMON_INTERFACE_FOR_OMA_AND_WMDRM"/>
   100             <unit bldFile="/sf/mw/drm/drm_plat/drm_secondary_display_api/group"/>
   100     </meta>
   101           </component>
   101     <!-- Uncomment unit when configuration is in place. Currently #included from commondrm_build -->
   102           <component name="drm_license_manager_api" long-name="DRM License Manager API" filter="s60" class="api">
   102     <!--<unit bldFile="commondrm/drmutility/group"/>-->
   103             <unit bldFile="/sf/mw/drm/drm_plat/drm_license_manager_api/group"/>
   103    </component>
   104           </component>
   104    <component id="drmserviceapiwrapper" filter="s60" name="DRM Service API Wrapper">
   105           <component name="drm_utility_api" long-name="DRM Utility API" filter="s60" class="api">
   105     <unit bldFile="commondrm/drmserviceapiwrapper/group"/>
   106             <unit bldFile="/sf/mw/drm/drm_plat/drm_utility_api/group"/>
   106    </component>
   107           </component>
   107    <component id="drmrightsstoringlocation" filter="s60" name="DRM Rights Storing Location">
   108           <component name="drm_agents_api" long-name="DRM Agents API" filter="s60" class="api">
   108     <unit bldFile="commondrm/drmrightsstoringlocation/group"/>
   109             <unit bldFile="/sf/mw/drm/drm_plat/drm_agents_api/group"/>
   109    </component>
   110           </component>
   110    <component id="commondrm_build" filter="s60" name="Common DRM Build">
   111           <component name="wmdrm_core_api" long-name="WM DRM Core API" filter="s60" class="api">
   111     <!-- should be split into the above files, or them collapsed into a single component -->
   112             <unit bldFile="/sf/mw/drm/drm_plat/wmdrm_core_api/group"/>
   112     <unit bldFile="commondrm/group"/>
   113           </component>
   113    </component>
   114           <component name="wmdrm_access_api" long-name="WMDRM Access API" filter="s60" class="api">
   114   </collection>
   115             <unit bldFile="/sf/mw/drm/drm_plat/wmdrm_access_api/group"/>
   115   <collection id="omadrm" name="OMA DRM" level="server">
   116           </component>
   116    <!-- collection is really a component. Move down a directory -->
   117           <component name="wmdrm_ota_access_api" long-name="WMDRM OTA Access API" filter="s60" class="api">
   117    <component id="omadrm_build" filter="s60" name="OMA DRM Build">
   118             <unit bldFile="/sf/mw/drm/drm_plat/wmdrm_ota_access_api/group"/>
   118     <unit bldFile="omadrm/group"/>
   119           </component>
   119    </component>
   120           <component name="camese_utility_api" long-name="Camese Utility API" filter="s60" class="api">
   120    <component id="rndcerts" filter="s60,test" name="R&amp;D Certificates">
   121             <unit bldFile="/sf/mw/drm/drm_plat/camese_utility_api/group"/>
   121     <unit bldFile="omadrm/rndcerts/group"/>
   122           </component>
   122    </component>
   123           <component name="camese_framework_api" long-name="Camese Framework API" filter="s60" class="api">
   123    <component id="foundationcerts" filter="sf_build" name="Foundation Certificates">
   124             <unit bldFile="/sf/mw/drm/drm_plat/camese_framework_api/group"/>
   124     <unit bldFile="omadrm/foundationcerts/group"/>
   125           </component>
   125    </component>
   126         </collection>
   126   </collection>
   127         <collection name="drm_pub" long-name="DRM Public Interfaces" level="specific">
   127   <collection id="wmdrm" name="Windows Media DRM" level="framework">
   128           <component name="drm_helper_api" long-name="DRM Helper API" filter="s60" class="api">
   128    <!-- collection is really a component. Move down a directory -->
   129             <unit bldFile="/sf/mw/drm/drm_pub/drm_helper_api/group"/>
   129    <component id="wmdrm_build" filter="s60" name="WM DRM Build">
   130           </component>
   130     <unit bldFile="wmdrm/group"/>
   131           <component name="oma_drm_caf_agent_api" long-name="OMA DRM CAF Agent API" filter="s60" class="api">
   131    </component>
   132             <unit bldFile="/sf/mw/drm/drm_pub/oma_drm_caf_agent_api/group"/>
   132   </collection>
   133           </component>
   133   <collection id="drm_info" name="DRM Info" level="specific">
   134           <component name="drm_license_checker_api" long-name="DRM License Checker API" filter="s60" class="api">
   134    <component id="drm_api_test" filter="s60,test,api_test" name="DRM Build" purpose="development">
   135             <unit bldFile="/sf/mw/drm/drm_pub/drm_license_checker_api/group"/>
   135     <unit bldFile="tsrc/group"/>
   136           </component>
   136    </component>
   137         </collection>
   137   </collection>
   138         <collection name="commondrm" long-name="Common DRM" level="generic">
   138  </package>
   139           <!-- it looks like this collection would be better as a component. If so, move down a directory. Otherwise, split up the bld.inf -->
       
   140           <component name="drmencryptor" filter="s60" long-name="DRM Encryptor" class="placeholder">
       
   141             <!-- this should have its own bld.inf or be removed as a component -->
       
   142           </component>
       
   143           <component name="drmsettingsplugin" filter="s60" long-name="DRM Settings Plugin" plugin="Y" class="placeholder">
       
   144             <!-- this should have its own bld.inf or be removed as a component -->
       
   145           </component>
       
   146           <component name="drmrightsmanagerui" filter="s60" long-name="DRM Rights Manager UI">
       
   147             <unit bldFile="/sf/mw/drm/commondrm/drmrightsmanagerui/help/group"/>
       
   148           </component>
       
   149           <component name="drmutility" filter="s60" long-name="DRM Utility">
       
   150             <!-- Uncomment unit when configuration is in place. Currently #included from commondrm_build -->
       
   151             <!--<unit bldFile="commondrm/drmutility/group"/>-->
       
   152           </component>
       
   153           <component name="drmserviceapiwrapper" filter="s60" long-name="DRM Service API Wrapper">
       
   154             <unit bldFile="/sf/mw/drm/commondrm/drmserviceapiwrapper/group"/>
       
   155           </component>
       
   156           <component name="drmrightsstoringlocation" filter="s60" long-name="DRM Rights Storing Location">
       
   157             <unit bldFile="/sf/mw/drm/commondrm/drmrightsstoringlocation/group"/>
       
   158           </component>
       
   159           <component name="commondrm_build" filter="s60" long-name="Common DRM Build">
       
   160             <!-- should be split into the above files, or them collapsed into a single component -->
       
   161             <unit bldFile="/sf/mw/drm/commondrm/group"/>
       
   162           </component>
       
   163         </collection>
       
   164         <collection name="omadrm" long-name="OMA DRM" level="server">
       
   165           <!-- collection is really a component. Move down a directory -->
       
   166           <component name="omadrm_build" filter="s60" long-name="OMA DRM Build">
       
   167             <unit bldFile="/sf/mw/drm/omadrm/group"/>
       
   168           </component>
       
   169           <component name="rndcerts" filter="s60,test" long-name="R&amp;D Certificates">
       
   170             <unit bldFile="/sf/mw/drm/omadrm/rndcerts/group"/>
       
   171           </component>
       
   172           <component name="foundationcerts" filter="sf_build" long-name="Foundation Certificates">
       
   173             <unit bldFile="/sf/mw/drm/omadrm/foundationcerts/group"/>
       
   174           </component>
       
   175         </collection>
       
   176         <collection name="wmdrm" long-name="Windows Media DRM" level="framework">
       
   177           <!-- collection is really a component. Move down a directory -->
       
   178           <component name="wmdrm_build" filter="s60" long-name="WM DRM Build">
       
   179             <unit bldFile="/sf/mw/drm/wmdrm/group"/>
       
   180           </component>
       
   181         </collection>
       
   182         <collection name="drm_info" long-name="DRM Info" level="specific">
       
   183           <component name="drm_api_test" filter="s60,test,api_test" long-name="DRM Build" purpose="development">
       
   184             <unit bldFile="/sf/mw/drm/tsrc/group"/>
       
   185           </component>
       
   186         </collection>
       
   187       </block>
       
   188     </layer>
       
   189   </systemModel>
       
   190 </SystemDefinition>
   139 </SystemDefinition>