Add Orbit package definition to Symbian^4 HighFidelityModel
authorShabe Razvi <shaber@symbian.org>
Tue, 20 Apr 2010 12:25:49 +0100
branchHighFidelityModel
changeset 171 d580c54fc444
parent 166 207111115051
child 173 0f61ddd27c1c
Add Orbit package definition to Symbian^4
symbian4/mw/hb/package_definition.xml
symbian4/mw/hb/package_definition_3.0.xml
symbian4/os/deviceplatformrelease/foundation_system/system_model/system_definition.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/symbian4/mw/hb/package_definition.xml	Tue Apr 20 12:25:49 2010 +0100
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE SystemDefinition [
+<!ELEMENT SystemDefinition ( systemModel )>
+<!ATTLIST SystemDefinition
+  name CDATA #REQUIRED
+  schema CDATA #REQUIRED
+>
+<!-- all paths are relative to the environment variable specified by the root attribute, or SOURCEROOT if not.  -->
+
+<!-- System Model Section of DTD -->
+<!ELEMENT systemModel (layer+)>
+
+<!ELEMENT layer (block* | collection*)*>
+<!-- Kernel Services, Base Services, OS Services, Etc -->
+<!ATTLIST layer
+  name CDATA #REQUIRED
+  long-name CDATA #IMPLIED
+  levels NMTOKENS #IMPLIED
+  span CDATA #IMPLIED
+>
+
+<!ELEMENT block (subblock* | collection*)*>
+ <!-- Generic OS services, Comms Services, etc -->
+<!ATTLIST block
+  levels NMTOKENS #IMPLIED
+  span CDATA #IMPLIED
+  level NMTOKEN #IMPLIED
+  name CDATA #REQUIRED
+  long-name CDATA #IMPLIED
+>
+
+<!ELEMENT subblock (collection)*>
+<!-- Cellular Baseband Services, Networking Services, etc -->
+<!ATTLIST subblock
+  name CDATA #REQUIRED
+  long-name CDATA #IMPLIED
+>
+
+<!ELEMENT collection (component)*>
+<!-- Screen Driver, Content Handling, etc -->
+<!ATTLIST collection
+  name CDATA #REQUIRED
+  long-name CDATA #IMPLIED
+  level NMTOKEN #IMPLIED
+>
+
+<!ELEMENT component (unit)*>
+<!-- contains units or is a  package or prebuilt -->
+<!ATTLIST component
+  name CDATA #REQUIRED
+  long-name CDATA #IMPLIED
+  deprecated CDATA #IMPLIED
+  introduced CDATA #IMPLIED
+  contract CDATA #IMPLIED
+  plugin (Y|N) "N"
+  filter CDATA #IMPLIED
+  class NMTOKENS #IMPLIED
+  supports CDATA #IMPLIED
+  purpose ( optional | mandatory | development ) "optional"
+>
+
+<!ELEMENT unit EMPTY >
+<!-- must be buildable (bld.inf) -->
+<!-- bldFile  may someday be removed in favour of mrp -->
+<!ATTLIST unit
+  mrp CDATA #IMPLIED
+  filter CDATA #IMPLIED
+  bldFile CDATA #IMPLIED
+  root CDATA #IMPLIED
+  version NMTOKEN #IMPLIED
+  prebuilt NMTOKEN #IMPLIED
+  late (Y|N) #IMPLIED
+  priority CDATA #IMPLIED
+>
+]>
+<SystemDefinition name="Orbit" schema="2.0.1">
+<systemModel>
+<layer name="anonymous">
+<block name="sf:hb" long-name="Orbit" levels="engine test api">
+<collection name="hb_info" long-name="Orbit Info" level="api">
+<component name="hb_build" long-name="Orbit Build" introduced="^4">
+<!-- should break this down into actual components -->
+<unit bldFile="os/deviceplatformrelease/foundation_system/system_model/." proFile="hb.pro"/>
+</component>
+</collection>
+<collection name="hb_test" long-name="Orbit Test" level="test">
+<component name="hb_fute" filter="hb_fute_app" long-name="Fute" introduced="^4">
+<unit bldFile="os/deviceplatformrelease/foundation_system/system_model/tsrc/fute" proFile="fute.pro" qmakeArgs="-r MMP_RULES+=EXPORTUNFROZEN"/>
+</component>
+<component name="hb_unit" filter="test,hb_unit_test,unit_test" long-name="HB Unit Tests" introduced="^4">
+<unit bldFile="os/deviceplatformrelease/foundation_system/system_model/tsrc/unit" proFile="unit.pro" qmakeArgs="-r MMP_RULES+=EXPORTUNFROZEN"/>
+</component>
+<component name="hb_test_resources" filter="test,hb_test_resources" long-name="Orbit Test Resources" introduced="^4">
+<unit bldFile="os/deviceplatformrelease/foundation_system/system_model/tsrc/resources" qmakeArgs="-r MMP_RULES+=EXPORTUNFROZEN" proFile="resources.pro"/>
+</component>
+</collection>
+</block>
+</layer>
+</systemModel>
+</SystemDefinition>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/symbian4/mw/hb/package_definition_3.0.xml	Tue Apr 20 12:25:49 2010 +0100
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<SystemDefinition xmlns:sf="http://www.symbian.org/system-definition" schema="3.0.0" id-namespace="http://www.nokia.com/schema/drd/system-definition" xmlns:qt="http://www.nokia.com/qt">
+    <package id="sf:hb" name="Orbit" levels="engine test api">
+    <collection id="hb_info" name="Orbit Info" level="api">
+     <component id="hb_build" name="Orbit Build" introduced="^4">
+		<!-- should break this down into actual components -->
+      <unit bldFile="." qt:proFile="hb.pro"/>
+     </component>
+    </collection>
+    <collection id="hb_test" name="Orbit Test" level="test">
+     <component id="hb_fute" filter="hb_fute_app" name="Fute" introduced="^4">
+      <unit bldFile="tsrc/fute"  qt:proFile="fute.pro" qt:qmakeArgs="-r MMP_RULES+=EXPORTUNFROZEN"/>
+     </component>
+     <component id="hb_unit" filter="test,hb_unit_test,unit_test" name="HB Unit Tests" introduced="^4">
+      <unit bldFile="tsrc/unit" qt:proFile="unit.pro" qt:qmakeArgs="-r MMP_RULES+=EXPORTUNFROZEN"/>
+     </component>
+     <component id="hb_test_resources" filter="test,hb_test_resources" name="Orbit Test Resources"  introduced="^4">
+      <unit bldFile="tsrc/resources" qt:qmakeArgs="-r MMP_RULES+=EXPORTUNFROZEN" qt:proFile="resources.pro"/>
+     </component>
+    </collection>
+   </package>
+</SystemDefinition>
+
+
--- a/symbian4/os/deviceplatformrelease/foundation_system/system_model/system_definition.xml	Tue Apr 20 10:20:14 2010 +0100
+++ b/symbian4/os/deviceplatformrelease/foundation_system/system_model/system_definition.xml	Tue Apr 20 12:25:49 2010 +0100
@@ -165,7 +165,7 @@
       <package id="inputmethods" level="generic" tech-domain="ui" href="../../../../mw/inputmethods/package_definition_3.0.xml"/>
       <package id="qt" level="generic" tech-domain="ui" href="../../../../mw/qt/package_definition_3.0.xml"/>
       <package id="qtextensions" level="generic" tech-domain="ui" href="../../../../mw/qtextensions/package_definition_3.0.xml"/>
-      <package id="hb" level="generic" tech-domain="ui" name="Orbit"/>
+      <package id="hb" level="generic" tech-domain="ui" name="Orbit" href="../../../../mw/hb/package_definition_3.0.xml"/>/>
       <package id="classicui" level="generic" tech-domain="ui" href="../../../../mw/classicui/package_definition_3.0.xml"/>
       <package id="svgt" level="generic" tech-domain="ui" href="../../../../mw/svgt/package_definition_3.0.xml"/>
       <package id="uiaccelerator" level="generic" tech-domain="ui" href="../../../../mw/uiaccelerator/package_definition_3.0.xml"/>