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

Side by Side Diff: templates/manifest.json.tmpl

Issue 29572692: Issue 5845 - Renaming gecko-webext to gecko (Closed)
Patch Set: NO CHANGE: rebasing against current master ( 492:08002782f3e3 ) Created Oct. 11, 2017, 11:35 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« packagerChrome.py ('K') | « packagerChrome.py ('k') | 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 /* This Source Code Form is subject to the terms of the Mozilla Public 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 4
5 { 5 {
6 "manifest_version": 2, 6 "manifest_version": 2,
7 {%- if releaseBuild %} 7 {%- if releaseBuild %}
8 "name": "__MSG_name__", 8 "name": "__MSG_name__",
9 {%- else %} 9 {%- else %}
10 "name": "__MSG_name_devbuild__", 10 "name": "__MSG_name_devbuild__",
(...skipping 10 matching lines...) Expand all
21 {%- endif %} 21 {%- endif %}
22 22
23 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'opera ') %} 23 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'opera ') %}
24 "minimum_opera_version": {{metadata.get('compat', 'opera')|json}}, 24 "minimum_opera_version": {{metadata.get('compat', 'opera')|json}},
25 {%- endif %} 25 {%- endif %}
26 26
27 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'edge' ) %} 27 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'edge' ) %}
28 "minimum_edge_version": {{metadata.get('compat', 'edge')|json}}, 28 "minimum_edge_version": {{metadata.get('compat', 'edge')|json}},
29 {%- endif %} 29 {%- endif %}
30 30
31 {%- if type == 'gecko-webext' %} 31 {%- if type == 'gecko' %}
32 "applications": 32 "applications":
33 { 33 {
34 "gecko": 34 "gecko":
35 { 35 {
36 "id": {{metadata.get('general', 'id')|json}} 36 "id": {{metadata.get('general', 'id')|json}}
37 37
38 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'g ecko') %} 38 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'g ecko') %}
39 , 39 ,
40 "strict_min_version": {{metadata.get('compat', 'gecko')|json}} 40 "strict_min_version": {{metadata.get('compat', 'gecko')|json}}
41 {%- endif %} 41 {%- endif %}
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 "managed_schema": {{metadata.get('general', 'managedStorageSchema')|json}} 116 "managed_schema": {{metadata.get('general', 'managedStorageSchema')|json}}
117 }, 117 },
118 {%- endif %} 118 {%- endif %}
119 119
120 {%- if metadata.has_option('general', 'contentSecurityPolicy') %} 120 {%- if metadata.has_option('general', 'contentSecurityPolicy') %}
121 "content_security_policy": {{metadata.get('general', 'contentSecurityPolicy')| json}}, 121 "content_security_policy": {{metadata.get('general', 'contentSecurityPolicy')| json}},
122 {%- endif %} 122 {%- endif %}
123 123
124 "_dummy": false 124 "_dummy": false
125 } 125 }
OLDNEW
« packagerChrome.py ('K') | « packagerChrome.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld