services/sync/SyncComponents.manifest

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/services/sync/SyncComponents.manifest	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# WebappRT doesn't need these instructions, and they don't necessarily work
     1.5 +# with it, but it does use a GRE directory that the GRE shares with Firefox,
     1.6 +# so in order to prevent the instructions from being processed for WebappRT,
     1.7 +# we need to restrict them to the applications that depend on them, i.e.:
     1.8 +#
     1.9 +#   b2g:            {3c2e2abc-06d4-11e1-ac3b-374f68613e61}
    1.10 +#   browser:        {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
    1.11 +#   mobile/android: {aa3c5121-dab2-40e2-81ca-7ea25febc110}
    1.12 +#   mobile/xul:     {a23983c0-fd0e-11dc-95ff-0800200c9a66}
    1.13 +#   suite (comm):   {92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}
    1.14 +#   metro browser:  {99bceaaa-e3c6-48c1-b981-ef9b46b67d60}
    1.15 +#
    1.16 +# In theory we should do this for all these instructions, but in practice it is
    1.17 +# sufficient to do it for the app-startup one, and the file is simpler that way.
    1.18 +
    1.19 +# Weave.js
    1.20 +component {74b89fb0-f200-4ae8-a3ec-dd164117f6de} Weave.js
    1.21 +contract @mozilla.org/weave/service;1 {74b89fb0-f200-4ae8-a3ec-dd164117f6de}
    1.22 +category app-startup WeaveService service,@mozilla.org/weave/service;1 application={3c2e2abc-06d4-11e1-ac3b-374f68613e61} application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} application={aa3c5121-dab2-40e2-81ca-7ea25febc110} application={a23983c0-fd0e-11dc-95ff-0800200c9a66} application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} application={99bceaaa-e3c6-48c1-b981-ef9b46b67d60}
    1.23 +component {d28f8a0b-95da-48f4-b712-caf37097be41} Weave.js
    1.24 +contract @mozilla.org/network/protocol/about;1?what=sync-log {d28f8a0b-95da-48f4-b712-caf37097be41}
    1.25 +
    1.26 +# Register resource aliases
    1.27 +# (Note, for tests these are also set up in addResourceAlias)
    1.28 +resource services-sync resource://gre/modules/services-sync/
    1.29 +
    1.30 +#ifdef MOZ_SERVICES_HEALTHREPORT
    1.31 +category healthreport-js-provider-default SyncProvider resource://services-sync/healthreport.jsm
    1.32 +#endif

mercurial