Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: install.rdf.tmpl

Issue 29333324: Issue 3490 - Make multiprocessCompatible the default for our extensions (Closed)
Patch Set: Created Jan. 7, 2016, 8:02 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 2
3 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
4 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - License, v. 2.0. If a copy of the MPL was not distributed with this
5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
6 6
7 {%- macro meta() -%} 7 {%- macro meta() -%}
8 <em:creator>{{metadata.get('general', 'author')}}</em:creator> 8 <em:creator>{{metadata.get('general', 'author')}}</em:creator>
9 9
10 {%- for contributor in contributors -%} 10 {%- for contributor in contributors -%}
11 <em:contributor>{{contributor}}</em:contributor> 11 <em:contributor>{{contributor}}</em:contributor>
12 {%- endfor -%} 12 {%- endfor -%}
13 {%- endmacro %} 13 {%- endmacro %}
14 14
15 <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 15 <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
16 xmlns:em="http://www.mozilla.org/2004/em-rdf#"> 16 xmlns:em="http://www.mozilla.org/2004/em-rdf#">
17 17
18 <Description about="urn:mozilla:install-manifest"> 18 <Description about="urn:mozilla:install-manifest">
19 <em:id>{{metadata.get('general', 'id')}}</em:id> 19 <em:id>{{metadata.get('general', 'id')}}</em:id>
20 <em:version>{{version}}</em:version> 20 <em:version>{{version}}</em:version>
21 <em:name>{{localeMetadata[defaultLocale].name}}</em:name> 21 <em:name>{{localeMetadata[defaultLocale].name}}</em:name>
22 <em:description>{{localeMetadata[defaultLocale].description}}</em:descriptio n> 22 <em:description>{{localeMetadata[defaultLocale].description}}</em:descriptio n>
23 {{ meta() }} 23 {{ meta() }}
24 {%- if metadata.has_option('homepage', 'default') %} 24 {%- if metadata.has_option('homepage', 'default') %}
25 <em:homepageURL>{{metadata.get('homepage', 'default')}}</em:homepageURL> 25 <em:homepageURL>{{metadata.get('homepage', 'default')}}</em:homepageURL>
26 {%- endif %} 26 {%- endif %}
27 <em:type>2</em:type> 27 <em:type>2</em:type>
28 <em:bootstrap>true</em:bootstrap> 28 <em:bootstrap>true</em:bootstrap>
29 {%- if not metadata.has_option('general', 'needMultiprocessShims') %}
30 <em:multiprocessCompatible>true</em:multiprocessCompatible>
31 {%- endif %}
29 32
30 {%- if metadata.has_option('general', 'updateURL') %} 33 {%- if metadata.has_option('general', 'updateURL') %}
31 <em:updateURL> 34 <em:updateURL>
32 {{- metadata.get('general', 'updateURL') -}} 35 {{- metadata.get('general', 'updateURL') -}}
33 {{- '?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppV ersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_ VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%&currentAppVersion=% CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%' -}} 36 {{- '?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppV ersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_ VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%&currentAppVersion=% CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%' -}}
34 </em:updateURL> 37 </em:updateURL>
35 {%- endif %} 38 {%- endif %}
36 39
37 {%- if metadata.has_option('general', 'icon') %} 40 {%- if metadata.has_option('general', 'icon') %}
38 <em:iconURL>{{metadata.get('general', 'icon')}}</em:iconURL> 41 <em:iconURL>{{metadata.get('general', 'icon')}}</em:iconURL>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 <!-- {{appName}} --> 97 <!-- {{appName}} -->
95 <em:id>{{KNOWN_APPS[appName]}}</em:id> 98 <em:id>{{KNOWN_APPS[appName]}}</em:id>
96 <em:minVersion>{{metadata.get('compat', appName).split('/')[0]}}</em:min Version> 99 <em:minVersion>{{metadata.get('compat', appName).split('/')[0]}}</em:min Version>
97 <em:maxVersion>{{metadata.get('compat', appName).split('/')[1]}}</em:max Version> 100 <em:maxVersion>{{metadata.get('compat', appName).split('/')[1]}}</em:max Version>
98 </Description> 101 </Description>
99 </em:targetApplication> 102 </em:targetApplication>
100 {%- endif %} 103 {%- endif %}
101 {%- endfor %} 104 {%- endfor %}
102 </Description> 105 </Description>
103 </RDF> 106 </RDF>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld